Go to the documentation of this file.
94 #ifndef __PERCEPTIVEMODELS_SENSORS_H__
95 #define __PERCEPTIVEMODELS_SENSORS_H__
99 #include <yarp/os/Value.h>
100 #include <yarp/os/Property.h>
145 virtual bool configure(
void *
source,
const yarp::os::Property &options) = 0;
152 virtual bool getOutput(yarp::os::Value &in)
const = 0;
191 bool getOutput(yarp::os::Value &in)
const;
223 bool getOutput(yarp::os::Value &in)
const;
bool configure(void *source, const yarp::os::Property &options)
Configure the sensor.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.
virtual bool configure(void *source, const yarp::os::Property &options)=0
Configure the sensor.
bool configure(void *source, const yarp::os::Property &options)
Configure the sensor.
string(REPLACE "-rdynamic" "" CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS}") include_directories($
virtual bool getOutput(yarp::os::Value &in) const =0
Retrieve the sensor raw output.
bool getOutput(yarp::os::Value &in) const
Retrieve the sensor output.
std::string getName() const
Retrieve the sensor name.
bool getOutput(yarp::os::Value &in) const
Retrieve the sensor joint value.
virtual ~Sensor()
Destructor.