aboutsummaryrefslogtreecommitdiff
path: root/apps/fixedwing_pos_control
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2012-10-28 11:54:02 +0100
committerThomas Gubler <thomasgubler@gmail.com>2012-10-28 11:54:02 +0100
commit62581fe55b0fb138f88bd0dcd89dffdbf99496ef (patch)
treeefdcb5c6faa475ba9bb39078bb54959aa6a88e4a /apps/fixedwing_pos_control
parent17772afdaabd446ba5b7ddccca1f8d4fed433d39 (diff)
downloadpx4-firmware-62581fe55b0fb138f88bd0dcd89dffdbf99496ef.tar.gz
px4-firmware-62581fe55b0fb138f88bd0dcd89dffdbf99496ef.tar.bz2
px4-firmware-62581fe55b0fb138f88bd0dcd89dffdbf99496ef.zip
fw control: attitude, added pid elements
Diffstat (limited to 'apps/fixedwing_pos_control')
-rw-r--r--apps/fixedwing_pos_control/fixedwing_pos_control_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/fixedwing_pos_control/fixedwing_pos_control_main.c b/apps/fixedwing_pos_control/fixedwing_pos_control_main.c
index 63ea1e5b4..c08017b8d 100644
--- a/apps/fixedwing_pos_control/fixedwing_pos_control_main.c
+++ b/apps/fixedwing_pos_control/fixedwing_pos_control_main.c
@@ -105,9 +105,9 @@ int fixedwing_pos_control_thread_main(int argc, char *argv[])
/* publish attitude setpoint */
- attitude_setpoint.roll_body = 0.0f;
- attitude_setpoint.pitch_body = 0.0f;
- attitude_setpoint.yaw_body = 0.0f;
+ attitude_setpoint.roll_tait_bryan = 0.0f;
+ attitude_setpoint.pitch_tait_bryan = 0.0f;
+ attitude_setpoint.yaw_tait_bryan = 0.0f;
orb_advert_t attitude_setpoint_pub = orb_advertise(ORB_ID(vehicle_attitude_setpoint), &attitude_setpoint);