3 #ifndef __YARP_OPENRAVE_ANALOG_SENSORS_HPP__
4 #define __YARP_OPENRAVE_ANALOG_SENSORS_HPP__
6 #include <yarp/dev/DeviceDriver.h>
7 #include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
9 #include <openrave/openrave.h>
11 #include <boost/smart_ptr/shared_ptr.hpp>
13 #include "YarpOpenraveBase.hpp"
31 public yarp::dev::DeviceDriver,
32 public yarp::dev::ISixAxisForceTorqueSensors
36 bool open(yarp::os::Searchable& config)
override;
37 bool close()
override;
40 size_t getNrOfSixAxisForceTorqueSensors()
const override;
41 yarp::dev::MAS_status getSixAxisForceTorqueSensorStatus(
size_t sens_index)
const override;
42 bool getSixAxisForceTorqueSensorName(
size_t sens_index, std::string &name)
const override;
43 bool getSixAxisForceTorqueSensorFrameName(
size_t sens_index, std::string &frameName)
const override;
44 bool getSixAxisForceTorqueSensorMeasure(
size_t sens_index, yarp::sig::Vector& out,
double& timestamp)
const override;
48 std::vector<OpenRAVE::SensorBasePtr> vectorOfSensorPtrForForce6Ds;
49 std::vector<boost::shared_ptr<OpenRAVE::SensorBase::Force6DSensorData>> vectorOfForce6DSensorDataPtr;
Implements the YARP_dev ISixAxisForceTorqueSensors, etc. interface class member functions.
Definition: YarpOpenraveAnalogSensors.hpp:33
Implements shared configuration functions.
Definition: YarpOpenraveBase.hpp:32
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5