From 62581fe55b0fb138f88bd0dcd89dffdbf99496ef Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Sun, 28 Oct 2012 11:54:02 +0100 Subject: fw control: attitude, added pid elements --- apps/fixedwing_pos_control/fixedwing_pos_control_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/fixedwing_pos_control') 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); -- cgit v1.2.3