40 void exec(Tinman::Action action);
43 void add_race(std::shared_ptr<Race> race);
Definition: controller.h:10
void add_race(std::shared_ptr< Race > race)
Definition: bot.cpp:16
std::shared_ptr< Physics > shared
Definition: physics.h:33
void update(float delta)
Definition: bot.cpp:27
int index_
Definition: bot.h:28
Physics::shared physics_
Definition: bot.h:30
Section previous_segment_
Definition: bot.h:31
void perform_action(btVector3 next_destination)
Section current_segment_
Definition: bot.h:31
const float stuck_limit_
Definition: bot.h:34
const float collide_limit_
Definition: bot.h:33
std::shared_ptr< Car > shared
Definition: car.h:44
std::shared_ptr< Race > race_
Definition: bot.h:29
void go_to_waypoint()
Definition: bot.cpp:68
bool detect_obstacles(float delta)
Definition: bot.cpp:35
void configure()
Definition: bot.cpp:23
virtual ~BotController()
Definition: bot.cpp:13
void exec(Tinman::Action action)
Definition: bot.cpp:136
float colliding_
Definition: bot.h:32
BotController(Physics::shared physics, Car::shared car)
Definition: bot.cpp:5
float stucked_
Definition: bot.h:32