
This class contains all the effectors of a Beobot. More...
#include <Beobot/BeobotEffectors.H>


Public Member Functions | |
| BeobotEffectors (OptionManager &mgr, const std::string &descrName="Beobot Effectors", const std::string &tagName="BeobotEffectors") | |
| constructor | |
| ~BeobotEffectors () | |
| destructor | |
| void | performAction (BeobotAction &action) |
| execute a given action | |
Protected Attributes | |
| nub::soft_ref< BeoChip > | myBeoChip |
| our BeoChip controller for motor control and lcd | |
| BeobotConfig | bbc |
| Beobot config file. | |
This class contains all the effectors of a Beobot.
i.e. servos (speed, turn and gear) and LCD display
Definition at line 48 of file BeobotEffectors.H.
| BeobotEffectors::BeobotEffectors | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "Beobot Effectors", |
|||
| const std::string & | tagName = "BeobotEffectors" | |||
| ) |
constructor
Definition at line 46 of file BeobotEffectors.C.
References ModelComponent::addSubComponent(), and myBeoChip.
| BeobotEffectors::~BeobotEffectors | ( | ) |
destructor
Definition at line 57 of file BeobotEffectors.C.
| void BeobotEffectors::performAction | ( | BeobotAction & | action | ) |
execute a given action
Definition at line 61 of file BeobotEffectors.C.
References BeobotAction::getGear(), BeobotAction::getSpeed(), and BeobotAction::getTurn().
BeobotConfig BeobotEffectors::bbc [protected] |
Beobot config file.
Definition at line 67 of file BeobotEffectors.H.
nub::soft_ref<BeoChip> BeobotEffectors::myBeoChip [protected] |
our BeoChip controller for motor control and lcd
Definition at line 64 of file BeobotEffectors.H.
Referenced by BeobotEffectors().
1.6.3