prototype_joints_default_sensor.cpp File Reference
Include dependency graph for prototype_joints_default_sensor.cpp:

Go to the source code of this file.

Namespaces

 argos
 The namespace containing all the ARGoS related code.
 

Functions

 argos::REGISTER_SENSOR (CPrototypeJointsDefaultSensor,"joints","default","Michael Allwright [allsey87@gmail.com]","1.0","The prototype joints sensor: monitors a prototype entity's joints.","This sensor is used to monitor the joints inside a prototype entity. To monitor\n""a joint, add a joint child node to the joints node. Each child node has two\n""required attributes.\n\n""REQUIRED XML CONFIGURATION\n\n"" <controllers>\n"" ...\n"" <my_controller ...>\n"" ...\n"" <sensors>\n"" ...\n"" <joints implementation=\"default\">\n"" <joint id=\"joint0\" mode=\"velocity\" />\n"" <joint id=\"joint1\" mode=\"position\" />\n"" ...\n"" </joints>\n"" ...\n"" </sensors>\n"" ...\n"" </my_controller>\n"" ...\n"" </controllers>\n\n""The 'id' attribute specifies which joint in the prototype joint equipped entity\n""we are interested in monitoring. The 'mode' attribute has three options:\n""disabled, position, and velocity. The disabled mode is self-explanatory. The\n""position mode measures the displacement of the joint from its initial position\n""or orientation (depending on whether the specified joint is prismatic or\n""revolute). The reading from the joint is reported in either meters or radians\n""respectively. The velocity mode measures the how much the position or\n""orientation of the joint is changing every second.\n\n""OPTIONAL XML CONFIGURATION\n\n""None.","Usable")