Basic RT components and utilities  315.12.1

Overview

This component converts data from a joystick to a velocity command on 2D plane.

implementation_idJoystick2Velocity2D
categoryexample

Data Ports

Input Ports

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

Output Ports

port namedata typeunitdescription
velRTC::TimedVelocity2D[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,va
scalesstd::vector<double>[m/s],[rad/s]1.0,1.0,1.0coefficients of velocities
neutralsstd::vector<double>[m/s],[rad/s]0.0,0.0,0.0velocities when sticks are at neutral positions

Configuration File

N/A