Represents a spacenav-compatible device, like the SpaceNavigator 6-DOF mouse from 3Dconnexion.
#include <SpnavSensorDevice.hpp>
|
yarp::dev::IAnalogSensor * | iAnalogSensor |
|
std::vector< double > | currentX |
|
bool | usingPose |
|
double | gain |
|
bool | buttonClose |
|
bool | buttonOpen |
|
|
ICartesianControl * | iCartesianControl |
|
std::vector< double > | data |
|
std::vector< bool > | fixedAxes |
|
int | actuatorState |
|
◆ acquireData()
bool SpnavSensorDevice::acquireData |
( |
| ) |
|
|
overridevirtual |
◆ acquireInterfaces()
bool SpnavSensorDevice::acquireInterfaces |
( |
| ) |
|
|
overridevirtual |
◆ getActuatorState()
int SpnavSensorDevice::getActuatorState |
( |
| ) |
|
|
overridevirtual |
◆ hasValidMovementData()
bool SpnavSensorDevice::hasValidMovementData |
( |
| ) |
const |
|
overridevirtual |
◆ initialize()
bool SpnavSensorDevice::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 SpnavSensorDevice::sendMovementCommand |
( |
double |
timestamp | ) |
|
|
overridevirtual |
◆ transformData()
bool SpnavSensorDevice::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:
- programs/streamingDeviceController/SpnavSensorDevice.hpp
- programs/streamingDeviceController/SpnavSensorDevice.cpp