battery_default_sensor.cpp File Reference
#include <argos3/core/simulator/simulator.h>
#include <argos3/core/simulator/entity/embodied_entity.h>
#include <argos3/core/simulator/entity/composable_entity.h>
#include <argos3/plugins/simulator/entities/battery_equipped_entity.h>
#include "battery_default_sensor.h"
Include dependency graph for battery_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 (CBatteryDefaultSensor, "battery", "default", "Adhavan Jayabalan [jadhu94@gmail.com]", "1.0", "A generic battery level sensor.", "This sensor returns the current battery level of a robot. This sensor\ "can be used with any robot, since it accesses only the body component. In\" "controllers, you must include the ci_battery_sensor.h header.\\" "REQUIRED XML CONFIGURATION\\" "< controllers >\" " ...\" "< my_controller ... >\" " ...\" "< sensors >\" " ...\" "< battery implementation=\default\/>\" " ...\" "</sensors >\" " ...\" "</my_controller >\" " ...\" "</controllers >\\" "OPTIONAL XML CONFIGURATION\\" "It is possible to add uniform noise to the sensor, thus matching the\" "characteristics of a real robot better. You can add noise through the\" "attribute 'noise_range' as follows:\\" "< controllers >\" " ...\" "< my_controller ... >\" " ...\" "< sensors >\" " ...\" "< battery implementation=\default\\" " noise_range=\-0.3:0.4\/>\" " ...\" "</sensors >\" " ...\" "</my_controller >\" " ...\" "</controllers >\\" "OPTIONAL XML CONFIGURATION\\" "None.\", "Usable")