Public Member Functions | |
PreMotorComplex (nub::soft_ref< SubController > motor, std::string name) | |
PreMotorComplex (std::string name) | |
void | setPreFrontalCortexAgent (rutz::shared_ptr< PreFrontalCortexAgent > pfc) |
void | start () |
starts the PreMotorComplex | |
void | stop () |
stops everything | |
void | msgHalt () |
stop all movements. stay at current depth and heading, using PID | |
void | run (rutz::shared_ptr< ComplexMovement > a) |
void | test () |
void | turn (const SensorInput goal) |
void | forward (const SensorInput goal) |
void | dive (const SensorInput goal) |
void | sweep (const SensorInput goal) |
void | vis_turn (const VisionInput &goal) |
void | vis_forward (const VisionInput &goal) |
void | vis_dive (const VisionInput &goal) |
void | vis_center (const VisionInput &goal) |
void | vis_lost (const VisionInput &goal) |
PreMotorComplex (nub::soft_ref< SubController > motor, std::string name) | |
PreMotorComplex (std::string name) | |
void | setCaptainAgent (rutz::shared_ptr< CaptainAgent > pfc) |
Definition at line 17 of file PreMotorComplex.H.
void PreMotorComplex::msgHalt | ( | ) | [inline] |
stop all movements. stay at current depth and heading, using PID
Definition at line 36 of file PreMotorComplex.H.
void PreMotorComplex::run | ( | rutz::shared_ptr< ComplexMovement > | a | ) |
run ComplexMovement a, if there is a ComplexMovement already running, will cause interrupt and start new movement
Definition at line 79 of file PreMotorComplex.C.
References run().
void PreMotorComplex::start | ( | ) |
starts the PreMotorComplex
Definition at line 42 of file PreMotorComplex.C.
References rutz::shared_ptr< T >::is_valid(), rutz::shared_ptr< T >::reset(), and run().
void PreMotorComplex::stop | ( | ) | [inline] |
stops everything
Definition at line 32 of file PreMotorComplex.H.