Basic RT components and utilities  315.12.1

Overview

This component converts data from a joystick to a liner velocity command.

implementation_idJoystick2Velocity3D
categoryexample

Data Ports

Input Ports

port namedata typeunitdescription
axesRTC::TimedFloatSeqstatus of sticks([-1:1])
buttonsRTC::TimedBooleanSeqstatus of buttons

Output Ports

port namedata typeunitdescription
velRTC::TimedVelocity3D[m/s],[rad/s]velocity command

Service Ports

Service Providers

N/A

Service Consumers

N/A

Configuration Variables

nametypeunitdefault valuedescription
debugLevelint0verbose level of debug messages
axesIdsstd::vector<int>0,1,2indices of sticks which correspond to vx,vy,vz
scalesTranslationstd::vector<double>[m/s]1.0,1.0,1.0coefficients of linear velocities
scalesRotationstd::vector<double>[m/s]1.0,1.0,1.0coefficients of angular velocities

Configuration File

N/A