ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CFootBotTurretEncoderDefaultSensor Class Reference

#include <footbot_turret_encoder_default_sensor.h>

+ Inheritance diagram for argos::CFootBotTurretEncoderDefaultSensor:

List of all members.

Public Member Functions

 CFootBotTurretEncoderDefaultSensor ()
virtual ~CFootBotTurretEncoderDefaultSensor ()
virtual void SetRobot (CComposableEntity &c_entity)
 Sets the entity associated to this sensor.
virtual void Update ()
 Updates the state of the entity associated to this sensor.
virtual void Reset ()
 Resets the sensor to the state it had just after Init().

Detailed Description

Definition at line 24 of file footbot_turret_encoder_default_sensor.h.


Constructor & Destructor Documentation


Member Function Documentation

Resets the sensor to the state it had just after Init().

The default implementation of this method does nothing.

See also:
Init()
Destroy()

Reimplemented from argos::CCI_Sensor.

Definition at line 37 of file footbot_turret_encoder_default_sensor.cpp.

Sets the entity associated to this sensor.

When a controller is created, all the sensors and actuators are created, too. This function is called right before the Init() method of the sensor is called.

Parameters:
c_entityThe entity to associate to this sensor.
See also:
CComposableEntity
CControllableEntity::SetController()
CCI_Sensor::Init()

Implements argos::CSimulatedSensor.

Definition at line 21 of file footbot_turret_encoder_default_sensor.cpp.

Updates the state of the entity associated to this sensor.

Implements argos::CSimulatedSensor.

Definition at line 30 of file footbot_turret_encoder_default_sensor.cpp.


The documentation for this class was generated from the following files: