yarp-devices
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
LeapMotionSensor Class Reference

Implementation for the LeapMotionSensor controller. More...

#include <LeapMotionSensor.hpp>

Inheritance diagram for LeapMotionSensor:

Public Member Functions

bool open (yarp::os::Searchable &config) override
 
bool close () override
 
int read (yarp::sig::Vector &out) override
 
int getState (int ch) override
 
int getChannels () override
 
int calibrateSensor () override
 
int calibrateSensor (const yarp::sig::Vector &value) override
 
int calibrateChannel (int ch) override
 
int calibrateChannel (int ch, double value) override
 

Private Attributes

Leap::Controller * controller {nullptr}
 
int32_t currentHandId {0}
 
yarp::sig::Vector lastValidData
 

Detailed Description

Launch as in:

yarpdev --device LeapMotionSensor --period 5 --name /leapmotion
Deprecated:
See https://github.com/roboticslab-uc3m/yarp-devices/issues/265.

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