#include <safety.h>
Public Member Functions | |
void | configure () |
result_t | control (pilot_command_t &pcmd) |
void | reset (void) |
Safety (Navigator *navptr, int _verbose, int mode=0) | |
~Safety () | |
Private Member Functions | |
Controller::result_t | halt_immediately (pilot_command_t &pcmd) |
Private Attributes | |
int | _mode |
float | collision_safety_time |
float | far_safety_time |
float | far_slow_ratio |
float | near_safety_time |
float | near_slow_ratio |
Safety_Distance * | safety |
float | safety_speed |
Safety::Safety | ( | Navigator * | navptr, |
int | _verbose, | ||
int | mode = 0 |
||
) |
Safety::~Safety | ( | ) |
void Safety::configure | ( | ) |
Controller::result_t Safety::control | ( | pilot_command_t & | pcmd | ) | [virtual] |
Reimplemented from Controller.
Controller::result_t Safety::halt_immediately | ( | pilot_command_t & | pcmd | ) | [private] |
void Safety::reset | ( | void | ) | [inline, virtual] |
Reimplemented from Controller.
int Safety::_mode [private] |
float Safety::collision_safety_time [private] |
float Safety::far_safety_time [private] |
float Safety::far_slow_ratio [private] |
float Safety::near_safety_time [private] |
float Safety::near_slow_ratio [private] |
Safety_Distance* Safety::safety [private] |
float Safety::safety_speed [private] |