Commit 82c3cd97 authored by Lorenz Meier's avatar Lorenz Meier

Fixed time stamp handling for attitude SP

parent 91f5bce0
......@@ -1133,9 +1133,9 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit attitudeThrustSetPointChanged(this, roll, pitch, yaw, out.thrust, time);
// For plotting emit roll sp, pitch sp and yaw sp values
emit valueChanged(uasId, "roll sp", "rad", roll, out.time_boot_ms);
emit valueChanged(uasId, "pitch sp", "rad", pitch, out.time_boot_ms);
emit valueChanged(uasId, "yaw sp", "rad", yaw, out.time_boot_ms);
emit valueChanged(uasId, "roll sp", "rad", roll, time);
emit valueChanged(uasId, "pitch sp", "rad", pitch, time);
emit valueChanged(uasId, "yaw sp", "rad", yaw, time);
}
break;
case MAVLINK_MSG_ID_MISSION_COUNT:
......
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