Browse Source

manual control setpoint: rename variables

sbg
Thomas Gubler 11 years ago
parent
commit
d9333a1993
  1. 18
      src/modules/uORB/topics/manual_control_setpoint.h

18
src/modules/uORB/topics/manual_control_setpoint.h

@ -64,11 +64,21 @@ struct manual_control_setpoint_s {
/** /**
* Any of the channels may not be available and be set to NaN * Any of the channels may not be available and be set to NaN
* to indicate that it does not contain valid data. * to indicate that it does not contain valid data.
* The variable names follow the definition of the
* MANUAL_CONTROL mavlink message.
* The default range is from -1 to 1 (mavlink message -1000 to 1000)
* The range for the z variable is defined from 0 to 1. (The z field of
* the MANUAL_CONTROL mavlink message is defined from -1000 to 1000)
*/ */
float roll; /**< ailerons roll / roll rate input, -1..1 */ float x; /**< stick position in x direction -1..1
float pitch; /**< elevator / pitch / pitch rate, -1..1 */ in general corresponds to forward/back motion or pitch of vehicle */
float yaw; /**< rudder / yaw rate / yaw, -1..1 */ float y; /**< stick position in y direction -1..1
float throttle; /**< throttle / collective thrust / altitude, 0..1 */ in general corresponds to right/left motion or roll of vehicle */
float z; /**< throttle stick position 0..1
in general corresponds to up/down motion or thrust of vehicle */
float r; /**< yaw stick/twist positon, -1..1
in general corresponds to rotation around the vertical
(downwards) axis of the vehicle */
float flaps; /**< flap position */ float flaps; /**< flap position */
float aux1; /**< default function: camera yaw / azimuth */ float aux1; /**< default function: camera yaw / azimuth */
float aux2; /**< default function: camera pitch / tilt */ float aux2; /**< default function: camera pitch / tilt */

Loading…
Cancel
Save