From 6fd7e12e1349dd4805e851624db3a2e50b48ffa3 Mon Sep 17 00:00:00 2001 From: px4dev Date: Wed, 29 Aug 2012 00:08:02 -0700 Subject: [PATCH] =?UTF-8?q?Sorry=20Tait,=20Bryan=E2=80=A6=20your=20body=20?= =?UTF-8?q?is=20not=20welcome.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mavlink/mavlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mavlink/mavlink.c b/apps/mavlink/mavlink.c index 84d9a22fa6..7fc5b66856 100644 --- a/apps/mavlink/mavlink.c +++ b/apps/mavlink/mavlink.c @@ -909,7 +909,7 @@ static void *uorb_receiveloop(void *arg) if (fds[ifds++].revents & POLLIN) { /* copy local position data into local buffer */ orb_copy(ORB_ID(vehicle_attitude_setpoint), spa_sub, &buf.att_sp); - mavlink_msg_roll_pitch_yaw_thrust_setpoint_send(MAVLINK_COMM_0, buf.att_sp.timestamp/1000, buf.att_sp.roll_tait_bryan, buf.att_sp.pitch_tait_bryan, buf.att_sp.yaw_tait_bryan, buf.att_sp.thrust); + mavlink_msg_roll_pitch_yaw_thrust_setpoint_send(MAVLINK_COMM_0, buf.att_sp.timestamp/1000, buf.att_sp.roll_body, buf.att_sp.pitch_body, buf.att_sp.yaw_body, buf.att_sp.thrust); } /* --- ACTUATOR OUTPUTS 0 --- */