ground_rotzonly_sensor.cpp File Reference
#include <argos3/core/simulator/simulator.h>
#include <argos3/core/simulator/entity/composable_entity.h>
#include <argos3/core/simulator/entity/embodied_entity.h>
#include <argos3/core/simulator/entity/floor_entity.h>
#include <argos3/plugins/simulator/entities/ground_sensor_equipped_entity.h>
#include "ground_rotzonly_sensor.h"
Include dependency graph for ground_rotzonly_sensor.cpp:

Go to the source code of this file.

Namespaces

 argos
 The namespace containing all the ARGoS related code.
 

Functions

 argos::REGISTER_SENSOR (CGroundRotZOnlySensor, "ground", "rot_z_only", "Carlo Pinciroli [ilpincy@gmail.com]", "1.0", "A generic ground sensor (optimized for 2D).", "This sensor accesses a set of ground sensors. The sensors all return a value\n" "between 0 and 1, where 0 means black and 1 means white. Depending on the type\n" "of ground sensor, readings can either take 0 or 1 as value (bw sensors) or a\n" "value in between (grayscale sensors). In controllers, you must include the\n" "ci_ground_sensor.h header.\n\n" "This sensor is enabled by default.\n\n" "REQUIRED XML CONFIGURATION\n\n" " <controllers>\n" " ...\n" " <my_controller ...>\n" " ...\n" " <sensors>\n" " ...\n" " <ground implementation=\"rot_z_only\" />\n" " ...\n" " </sensors>\n" " ...\n" " </my_controller>\n" " ...\n" " </controllers>\n\n" "OPTIONAL XML CONFIGURATION\n\n" "It is possible to add uniform noise to the sensors, thus matching the\n" "characteristics of a real robot better. This can be done with the attribute\n" "\"noise_level\", whose allowed range is in [-1,1] and is added to the calculated\n" "reading. The final sensor reading is always normalized in the [0-1] range.\n\n" " <controllers>\n" " ...\n" " <my_controller ...>\n" " ...\n" " <sensors>\n" " ...\n" " <ground implementation=\"rot_z_only\"\n" " noise_level=\"0.1\" />\n" " ...\n" " </sensors>\n" " ...\n" " </my_controller>\n" " ...\n" " </controllers>\n\n", "Usable")