Commit 32ab8e46 authored by pixhawk's avatar pixhawk

wrongly named field in roll/pitch/yaw/thrust setpoint message

parent 0046adb6
...@@ -838,7 +838,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) ...@@ -838,7 +838,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
{ {
mavlink_roll_pitch_yaw_thrust_setpoint_t out; mavlink_roll_pitch_yaw_thrust_setpoint_t out;
mavlink_msg_roll_pitch_yaw_thrust_setpoint_decode(&message, &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 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 roll", "rad", out.roll, time);
emit valueChanged(uasId, "att control pitch", "rad", out.pitch, time); emit valueChanged(uasId, "att control pitch", "rad", out.pitch, time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment