$search
#include <Controller.h>
Public Types | |
enum | result_t { OK, Caution, Beware, Unsafe, Blocked, Collision, Finished, NotApplicable, NotImplemented, N_results } |
Public Member Functions | |
virtual result_t | control (pilot_command_t &pcmd) |
Controller (Navigator *navptr, int _verbose) | |
virtual void | reset (void) |
const char * | result_name (result_t result) |
virtual void | trace (const char *name, const pilot_command_t &pcmd, result_t res) |
virtual void | trace (const char *name, const pilot_command_t &pcmd) |
virtual void | trace_reset (const char *name) |
virtual | ~Controller () |
Protected Member Functions | |
virtual void | reset_me (void) |
Protected Attributes | |
const Config * | config_ |
Course * | course |
nav_msgs::Odometry * | estimate |
Navigator * | nav |
art_msgs::NavigatorState * | navdata |
Obstacle * | obstacle |
nav_msgs::Odometry * | odom |
art_msgs::Order * | order |
PolyOps * | pops |
int | verbose |
Definition at line 17 of file Controller.h.
enum Controller::result_t |
OK | |
Caution | |
Beware | |
Unsafe | |
Blocked | |
Collision | |
Finished | |
NotApplicable | |
NotImplemented | |
N_results |
Definition at line 21 of file Controller.h.
Controller::Controller | ( | Navigator * | navptr, | |
int | _verbose | |||
) | [inline] |
Definition at line 55 of file Controller.h.
virtual Controller::~Controller | ( | ) | [inline, virtual] |
Definition at line 75 of file Controller.h.
virtual result_t Controller::control | ( | pilot_command_t & | pcmd | ) | [inline, virtual] |
Reimplemented in DoNothing, Estop, Evade, FollowLane, FollowSafely, Halt, Passing, RealZone, Road, Run, Safety, SlowForCurves, StopArea, Uturn, and VoronoiZone.
Definition at line 78 of file Controller.h.
virtual void Controller::reset | ( | void | ) | [inline, virtual] |
Reimplemented in Avoid, DoNothing, Estop, Evade, FollowLane, LaneEdge, PARK_control, Passing, RealZone, Road, Run, Safety, SlowForCurves, StopArea, StopLine, Uturn, and VoronoiZone.
Definition at line 84 of file Controller.h.
virtual void Controller::reset_me | ( | void | ) | [inline, protected, virtual] |
Reimplemented in Avoid, Estop, Evade, FollowLane, PARK_control, Passing, Road, StopArea, StopLine, and Uturn.
Definition at line 124 of file Controller.h.
const char* Controller::result_name | ( | result_t | result | ) | [inline] |
Definition at line 38 of file Controller.h.
virtual void Controller::trace | ( | const char * | name, | |
const pilot_command_t & | pcmd, | |||
result_t | res | |||
) | [inline, virtual] |
Definition at line 94 of file Controller.h.
virtual void Controller::trace | ( | const char * | name, | |
const pilot_command_t & | pcmd | |||
) | [inline, virtual] |
Definition at line 87 of file Controller.h.
virtual void Controller::trace_reset | ( | const char * | name | ) | [inline, virtual] |
Definition at line 103 of file Controller.h.
const Config* Controller::config_ [protected] |
Definition at line 121 of file Controller.h.
Course* Controller::course [protected] |
Definition at line 114 of file Controller.h.
nav_msgs::Odometry* Controller::estimate [protected] |
Definition at line 116 of file Controller.h.
Navigator* Controller::nav [protected] |
Definition at line 110 of file Controller.h.
art_msgs::NavigatorState* Controller::navdata [protected] |
Definition at line 117 of file Controller.h.
Obstacle* Controller::obstacle [protected] |
Definition at line 115 of file Controller.h.
nav_msgs::Odometry* Controller::odom [protected] |
Definition at line 118 of file Controller.h.
art_msgs::Order* Controller::order [protected] |
Definition at line 119 of file Controller.h.
PolyOps* Controller::pops [protected] |
Reimplemented in VoronoiZone.
Definition at line 120 of file Controller.h.
int Controller::verbose [protected] |
Definition at line 111 of file Controller.h.