Browse Source

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

QGC4.4
pixhawk 14 years ago
parent
commit
32ab8e4644
  1. 2
      src/uas/UAS.cc

2
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_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);

Loading…
Cancel
Save