Represents a LeapMotion device wrapped as an analog sensor by YARP.
#include <LeapMotionSensorDevice.hpp>
|
yarp::dev::IAnalogSensor * | iAnalogSensor |
|
bool | usingPose |
|
std::vector< double > | initialTcpOffset |
|
std::vector< double > | initialLeapOffset |
|
KDL::Frame | frame_base_leap |
|
KDL::Frame | frame_ee_leap |
|
KDL::Frame | frame_leap_ee |
|
KDL::Frame | previousPose |
|
double | previousTimestamp |
|
bool | hasActuator |
|
bool | grab |
|
bool | pinch |
|
|
ICartesianControl * | iCartesianControl |
|
std::vector< double > | data |
|
std::vector< bool > | fixedAxes |
|
int | actuatorState |
|
◆ acquireData()
bool LeapMotionSensorDevice::acquireData |
( |
| ) |
|
|
overridevirtual |
◆ acquireInterfaces()
bool LeapMotionSensorDevice::acquireInterfaces |
( |
| ) |
|
|
overridevirtual |
◆ getActuatorState()
int LeapMotionSensorDevice::getActuatorState |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
bool LeapMotionSensorDevice::initialize |
( |
bool |
usingStreamingPreset | ) |
|
|
overridevirtual |
- Parameters
-
usingStreamingPreset | Whether the cartesian controller supports streaming command presets or not. |
- Returns
- true on success, false otherwise
Reimplemented from roboticslab::StreamingDevice.
◆ sendMovementCommand()
void LeapMotionSensorDevice::sendMovementCommand |
( |
double |
timestamp | ) |
|
|
overridevirtual |
◆ transformData()
bool LeapMotionSensorDevice::transformData |
( |
double |
scaling | ) |
|
|
overridevirtual |
- Parameters
-
scaling | Scaling factor applied to each data value. |
- Returns
- true on success, false otherwise
Reimplemented from roboticslab::StreamingDevice.
The documentation for this class was generated from the following files: