diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-12 13:35:11 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-12 13:35:11 +0200 |
commit | 15699549a21e08e9bf384dba7a1b65d092f1cb9a (patch) | |
tree | a170549a55d0c9198dde8cbda768b06317eed6f6 | |
parent | 7c75f61863436df3ca7610b11d2022dd422cca8c (diff) | |
download | px4-firmware-15699549a21e08e9bf384dba7a1b65d092f1cb9a.tar.gz px4-firmware-15699549a21e08e9bf384dba7a1b65d092f1cb9a.tar.bz2 px4-firmware-15699549a21e08e9bf384dba7a1b65d092f1cb9a.zip |
manual control setpoint: add comment about sign
-rw-r--r-- | src/modules/uORB/topics/manual_control_setpoint.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/modules/uORB/topics/manual_control_setpoint.h b/src/modules/uORB/topics/manual_control_setpoint.h index a8fb795f4..19a29635b 100644 --- a/src/modules/uORB/topics/manual_control_setpoint.h +++ b/src/modules/uORB/topics/manual_control_setpoint.h @@ -71,13 +71,20 @@ struct manual_control_setpoint_s { * the MANUAL_CONTROL mavlink message is defined from -1000 to 1000) */ float x; /**< stick position in x direction -1..1 - in general corresponds to forward/back motion or pitch of vehicle */ + in general corresponds to forward/back motion or pitch of vehicle, + in general a positive value means forward or negative pitch and + a negative value means backward or positive pitch */ float y; /**< stick position in y direction -1..1 - in general corresponds to right/left motion or roll of vehicle */ + in general corresponds to right/left motion or roll of vehicle, + in general a positive value means right or positive roll and + a negative value means left or negative roll */ float z; /**< throttle stick position 0..1 - in general corresponds to up/down motion or thrust of vehicle */ + in general corresponds to up/down motion or thrust of vehicle, + in general the value corresponds to the demanded throttle by the user, + if the input is used for setting the setpoint of a vertical position + controller any value > 0.5 means up and any value < 0.5 means down */ float r; /**< yaw stick/twist positon, -1..1 - in general corresponds to rotation around the vertical + in general corresponds to the righthand rotation around the vertical (downwards) axis of the vehicle */ float flaps; /**< flap position */ float aux1; /**< default function: camera yaw / azimuth */ |