summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-06-27 16:06:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-06-27 16:07:18 +0200
commit9edc4683ecd75d4705aca13217779e3c1a721913 (patch)
tree6e1336679d023efde7047fd6e1267272e7c42557 /ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
parent21f76439ae4c918184d00f41e89bb32c8633ba1d (diff)
Rename R[XYZ] to Yaw, Pitch, Roll to avoid confusion
Requested-by: mm0zct
Diffstat (limited to 'ftnoir_protocol_fg/ftnoir_protocol_fg.cpp')
-rw-r--r--ftnoir_protocol_fg/ftnoir_protocol_fg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp b/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
index bbeac489..7b43e306 100644
--- a/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
+++ b/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
@@ -98,11 +98,11 @@ quint16 senderPort;
// Copy the Raw measurements directly to the client.
//
FlightData.x = headpose[TX];
- FlightData.y = headpose[RY];
+ FlightData.y = headpose[Pitch];
FlightData.z = headpose[TZ];
FlightData.p = headpose[TY];
- FlightData.h = headpose[RX];
- FlightData.r = headpose[RZ];
+ FlightData.h = headpose[Yaw];
+ FlightData.r = headpose[Roll];
FlightData.status = fg_cmd;
//