3 #ifndef __LEAP_MOTION_SENSOR_HPP__
4 #define __LEAP_MOTION_SENSOR_HPP__
8 #include <yarp/dev/DeviceDriver.h>
9 #include <yarp/dev/IAnalogSensor.h>
11 #include <yarp/sig/Vector.h>
32 public yarp::dev::IAnalogSensor
43 bool open(yarp::os::Searchable& config)
override;
44 bool close()
override;
52 int read(yarp::sig::Vector &out)
override;
97 Leap::Controller * controller;
98 int32_t currentHandId;
99 yarp::sig::Vector lastValidData;
Implementation for the LeapMotionSensor controller.
Definition: LeapMotionSensor.hpp:33
int getChannels() override
Definition: IAnalogSensorImpl.cpp:73
int read(yarp::sig::Vector &out) override
Definition: IAnalogSensorImpl.cpp:13
int calibrateSensor() override
Definition: IAnalogSensorImpl.cpp:80
int getState(int ch) override
Definition: IAnalogSensorImpl.cpp:66
int calibrateChannel(int ch) override
Definition: IAnalogSensorImpl.cpp:94
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:6