YARP Device Drivers for various commercial Six Axis Force Torque sensors.
This repository contains YARP Device Drivers (see YARP documentation on devices ) for exposing various commercial Six Axis Force Torque sensors in a YARP network. The repo contains the following YARP devices :
forcetorqueDriverExample
: Template of a generic YARP driver for a Six Axis Force Torque sensor. amti
: Drivers for the AMTI force plates system.CMAKE_INSTALL_PREFIX
CMake option.${CMAKE_INSTALL_PREFIX}/share/yarp
(where ${CMAKE_INSTALL_PREFIX}
needs to be substituted to the directory that you choose as the CMAKE_INSTALL_PREFIX
) to your YARP_DATA_DIRS
enviromental variable (for more on the YARP_DATA_DIRS
env variable, see YARP documentation on data directories ). forcetorqueDriverExample
) using the command yarp plugin forcetorqueDriverExample
, which should have an output similar to:
Yes, this is a YARP plugin
* library: CMAKE_INSTALL_PREFIX/lib/amti-yarp-devices/forcetorqueDriverExample.so
* system version: 5
* class name: yarp::dev::forcetorqueDriverExample
* base class: yarp::dev::DeviceDriver
If this is not the case, there could be some problems in finding the plugin. In that case, just move yourself to the `${CMAKE_INSTALL_PREFIX}/share/amti-yarp-devices
directory and launch the device from there.
To launch the forcetorqueDriverExample
device, you can use the example configuration file forcetorqueDriverExample/yarprobotinterface.xml
for the yarprobotinterface
.
To do so, launch the yarpserver, then on a terminal launch the device:
yarprobotinterface --from yarprobotinterface.xml
This should open a YARP port /ft
, that you can read from the command line for example using the yarp read
command:
yarp read ... /ft/analog:o
This repository is maintained by: