#include <evade.h>
Public Member Functions | |
void | configure () |
result_t | control (pilot_command_t &pcmd) |
Evade (Navigator *navptr, int _verbose) | |
void | reset (void) |
~Evade () | |
Private Types | |
enum | state_t { Init, Leave, Wait, Return } |
Private Member Functions | |
Controller::result_t | leave_lane_right (pilot_command_t &pcmd) |
void | reset_me (void) |
void | set_state (state_t newstate) |
Private Attributes | |
float | evade_delay |
float | evade_offset_ratio |
NavTimer * | evade_timer |
float | evasion_speed |
Halt * | halt |
LaneEdge * | lane_edge |
Safety * | safety |
state_t | state |
enum Evade::state_t [private] |
Evade::Evade | ( | Navigator * | navptr, |
int | _verbose | ||
) |
Evade::~Evade | ( | ) |
void Evade::configure | ( | ) |
Controller::result_t Evade::control | ( | pilot_command_t & | pcmd | ) | [virtual] |
Reimplemented from Controller.
Controller::result_t Evade::leave_lane_right | ( | pilot_command_t & | pcmd | ) | [private] |
void Evade::reset | ( | void | ) | [virtual] |
Reimplemented from Controller.
void Evade::reset_me | ( | void | ) | [private, virtual] |
Reimplemented from Controller.
void Evade::set_state | ( | state_t | newstate | ) | [private] |
float Evade::evade_delay [private] |
float Evade::evade_offset_ratio [private] |
NavTimer* Evade::evade_timer [private] |
float Evade::evasion_speed [private] |
Halt* Evade::halt [private] |
LaneEdge* Evade::lane_edge [private] |
Safety* Evade::safety [private] |
state_t Evade::state [private] |