#include <real_robot.h>
|
static void | Cleanup (int) |
| Cleanup function called when the controller is stopped. More...
|
|
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