#include <command.h>
Public Member Functions | |
art_msgs::Order | command (const art_msgs::NavigatorState &cur_navstate) |
Commander (int verbosity, double limit, Graph *_graph, Mission *_mission, const ZonePerimeterList &_zones) | |
~Commander () | |
Private Member Functions | |
CmdrEvent | current_event (void) |
bool | next_checkpoint (void) |
art_msgs::Order | prepare_order (art_msgs::Behavior::_value_type behavior) |
bool | replan_route () |
void | set_checkpoint_goals (void) |
Private Attributes | |
Blockages * | blockages |
ElementID | current_way |
CmdrFSM * | fsm |
WayPointNode | goal |
WayPointNode | goal2 |
Graph * | graph |
Mission * | mission |
const art_msgs::NavigatorState * | navstate |
art_msgs::Order | order |
int | replan_num |
Path * | route |
float | speedlimit |
int | verbose |
ZonePerimeterList | zones |
Friends | |
class | CmdrFSM |
Definition at line 29 of file command.h.
Commander::Commander | ( | int | verbosity, | |
double | limit, | |||
Graph * | _graph, | |||
Mission * | _mission, | |||
const ZonePerimeterList & | _zones | |||
) |
Definition at line 17 of file command.cc.
Commander::~Commander | ( | ) |
Definition at line 34 of file command.cc.
art_msgs::Order Commander::command | ( | const art_msgs::NavigatorState & | _navstate | ) |
main command entry point -- called once per cycle
_navstate | has current Navigator state |
Definition at line 48 of file command.cc.
CmdrEvent Commander::current_event | ( | void | ) | [private] |
bool Commander::next_checkpoint | ( | void | ) | [private] |
Definition at line 92 of file command.cc.
art_msgs::Order Commander::prepare_order | ( | art_msgs::Behavior::_value_type | behavior | ) | [private] |
Definition at line 114 of file command.cc.
bool Commander::replan_route | ( | ) | [private] |
Definition at line 215 of file command.cc.
void Commander::set_checkpoint_goals | ( | void | ) | [private] |
Definition at line 309 of file command.cc.
Blockages* Commander::blockages [private] |
ElementID Commander::current_way [private] |
CmdrFSM* Commander::fsm [private] |
WayPointNode Commander::goal [private] |
WayPointNode Commander::goal2 [private] |
Graph* Commander::graph [private] |
Mission* Commander::mission [private] |
const art_msgs::NavigatorState* Commander::navstate [private] |
art_msgs::Order Commander::order [private] |
int Commander::replan_num [private] |
Path* Commander::route [private] |
float Commander::speedlimit [private] |
int Commander::verbose [private] |
ZonePerimeterList Commander::zones [private] |