Basic RT components and utilities  315.12.1

Overview

This component converts status of a joystick to pan/tilt angles

implementation_idJoystick2PanTiltAngles
categoryexample

Data Ports

Input Ports

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

Output Ports

port namedata typeunitdescription
anglesRTC::PanTiltAngles[rad]pan/tilt angles

Service Ports

Service Providers

N/A

Service Consumers

N/A

Configuration Variables

nametypeunitdefault valuedescription
debugLevelint0verbose level of debug messages
axesIdsstd::vector<int>0,1indices of sticks which correspond to pan/tilt
scalesstd::vector<double>[rad]1.0,1.0angle coefficient
neutralsstd::vector<double>[rad]0.0,0.0angles when sticks are in neutral positions

Configuration File

N/A