From 32ab8e46443048c771aee0db286e630d33e513f5 Mon Sep 17 00:00:00 2001 From: pixhawk Date: Thu, 18 Aug 2011 18:31:59 +0200 Subject: [PATCH] wrongly named field in roll/pitch/yaw/thrust setpoint message --- src/uas/UAS.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 1b86477ec..17c3de6f5 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -838,7 +838,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) { mavlink_roll_pitch_yaw_thrust_setpoint_t out; mavlink_msg_roll_pitch_yaw_thrust_setpoint_decode(&message, &out); - quint64 time = getUnixTime(out.time_ms*1000); + quint64 time = getUnixTime(out.time_us*1000); emit attitudeThrustSetPointChanged(this, out.roll, out.pitch, out.yaw, out.thrust, time); emit valueChanged(uasId, "att control roll", "rad", out.roll, time); emit valueChanged(uasId, "att control pitch", "rad", out.pitch, time); -- 2.22.0