#include <carcontroller.h>
CarController::CarController |
( |
| ) |
|
CarController::~CarController |
( |
| ) |
|
|
virtual |
void CarController::accelerate |
( |
| ) |
|
void CarController::brake |
( |
| ) |
|
void CarController::control_speed |
( |
| ) |
|
bool CarController::equals |
( |
float |
sut, |
|
|
float |
target, |
|
|
float |
delta |
|
) |
| |
|
private |
void CarController::load_parameters |
( |
std::string |
file | ) |
|
|
private |
void CarController::realize |
( |
std::vector< Ogre::SceneNode * > |
wheels_nodes | ) |
|
void CarController::reset_wheels |
( |
| ) |
|
|
private |
void CarController::stop_accelerating |
( |
| ) |
|
void CarController::stop_braking |
( |
| ) |
|
void CarController::stop_turning |
( |
| ) |
|
float CarController::str_to_float |
( |
std::string |
string | ) |
|
|
private |
void CarController::turn |
( |
Direction |
direction | ) |
|
void CarController::turn_wheels |
( |
Direction |
direction | ) |
|
|
private |
void CarController::update |
( |
float |
deltaT | ) |
|
|
virtual |
void CarController::update_lap |
( |
std::vector< Ogre::Vector3 > |
checkpoints | ) |
|
|
private |
void CarController::use_nitro |
( |
| ) |
|
bool CarController::accelerating_ |
float CarController::acceleration_ |
|
private |
bool CarController::braking_ |
const btVector3 CarController::car_dimensions_ = btVector3(1, 0.5f, 2) |
float CarController::connection_height_ |
float CarController::deceleration_ |
|
private |
float CarController::f_braking_ |
float CarController::f_engine_ |
float CarController::f_max_braking_ |
|
private |
float CarController::f_max_engine_ |
|
private |
const int CarController::forwardIndex = 2 |
float CarController::gvehicle_steering_ |
bool CarController::inverted_ |
float CarController::mass_ |
int CarController::nitro_ |
const int CarController::rightIndex = 0 |
float CarController::roll_influence_ |
float CarController::steering_ |
float CarController::steering_clamp_ |
|
private |
float CarController::steering_increment_ |
|
private |
float CarController::suspension_compression_ |
float CarController::suspension_damping_ |
const btScalar CarController::suspension_rest_length_ = btScalar(0.5) |
float CarController::suspension_stiffness_ |
bool CarController::turning_ |
const int CarController::upIndex = 1 |
const btVector3 CarController::wheel_axle_cs_ = btVector3(-1,0,0) |
const btVector3 CarController::wheel_direction_cs0_ = btVector3(0,-1,0) |
float CarController::wheel_friction_ |
float CarController::wheel_radius_ |
float CarController::wheel_width_ |
std::vector<Ogre::SceneNode*> CarController::wheels_nodes_ |
|
private |
The documentation for this class was generated from the following files: