#include <real_robot.h>
|
| | CRealRobot () |
| | Class constructor.
|
| |
| virtual | ~CRealRobot () |
| | Class destructor.
|
| |
| virtual void | Init (const std::string &str_conf_fname, const std::string &str_controller_id) |
| | Initializes the robot and the controller.
|
| |
| virtual void | InitRobot ()=0 |
| | Put your robot initialization code here.
|
| |
| virtual void | Destroy ()=0 |
| | Put your robot cleanup code here.
|
| |
| virtual CCI_Actuator * | MakeActuator (const std::string &str_name)=0 |
| | Creates an actuator given its name.
|
| |
| virtual CCI_Sensor * | MakeSensor (const std::string &str_name)=0 |
| | Creates a sensor given its name.
|
| |
| virtual void | Sense (Real f_elapsed_time)=0 |
| | Collect data from the sensors.
|
| |
| virtual void | Control () |
| | Execute the robot controller.
|
| |
| virtual void | Act (Real f_elapsed_time)=0 |
| | Send data to the actuators.
|
| |
| virtual void | Execute () |
| | Performs the main loop.
|
| |
|
| static void | Cleanup (int) |
| | Cleanup function called when the controller is stopped.
|
| |
Definition at line 9 of file real_robot.h.
◆ CRealRobot()
| CRealRobot::CRealRobot |
( |
| ) |
|
◆ ~CRealRobot()
| CRealRobot::~CRealRobot |
( |
| ) |
|
|
virtual |
◆ Act()
| virtual void argos::CRealRobot::Act |
( |
Real | f_elapsed_time | ) |
|
|
pure virtual |
Send data to the actuators.
◆ Cleanup()
| void CRealRobot::Cleanup |
( |
int | | ) |
|
|
static |
Cleanup function called when the controller is stopped.
Definition at line 164 of file real_robot.cpp.
◆ Control()
| void CRealRobot::Control |
( |
| ) |
|
|
virtual |
◆ Destroy()
| virtual void argos::CRealRobot::Destroy |
( |
| ) |
|
|
pure virtual |
Put your robot cleanup code here.
◆ Execute()
| void CRealRobot::Execute |
( |
| ) |
|
|
virtual |
◆ Init()
| void CRealRobot::Init |
( |
const std::string & | str_conf_fname, |
|
|
const std::string & | str_controller_id ) |
|
virtual |
Initializes the robot and the controller.
Internally calls InitRobot() and InitController() in this order.
Definition at line 27 of file real_robot.cpp.
◆ InitRobot()
| virtual void argos::CRealRobot::InitRobot |
( |
| ) |
|
|
pure virtual |
Put your robot initialization code here.
◆ MakeActuator()
| virtual CCI_Actuator * argos::CRealRobot::MakeActuator |
( |
const std::string & | str_name | ) |
|
|
pure virtual |
Creates an actuator given its name.
Returns NULL if no actuator corresponds to that name.
◆ MakeSensor()
| virtual CCI_Sensor * argos::CRealRobot::MakeSensor |
( |
const std::string & | str_name | ) |
|
|
pure virtual |
Creates a sensor given its name.
Returns NULL if no sensor corresponds to that name.
◆ Sense()
| virtual void argos::CRealRobot::Sense |
( |
Real | f_elapsed_time | ) |
|
|
pure virtual |
Collect data from the sensors.
◆ m_fRate
| Real argos::CRealRobot::m_fRate |
|
protected |
◆ m_pcController
◆ m_pcInstance
◆ m_ptControllerConfRoot
◆ m_tConfiguration
| ticpp::Document argos::CRealRobot::m_tConfiguration |
|
protected |
◆ m_tConfRoot
The documentation for this class was generated from the following files: