logger: send post-flight perf data when stopping mavlink log streaming

- send out VEHICLE_CMD_RESULT_IN_PROGRESS
- delete the ulog object when receiving the ACK from logger, instead of
  the stop command
This commit is contained in:
Beat Küng
2021-08-12 10:09:11 -04:00
committed by Daniel Agar
parent 0f6bf6bc0e
commit e1ac6fe297
4 changed files with 21 additions and 13 deletions
-3
View File
@@ -594,9 +594,6 @@ void MavlinkReceiver::handle_message_command_both(mavlink_message_t *msg, const
// from the logger.
_mavlink->try_start_ulog_streaming(msg->sysid, msg->compid);
}
} else if (cmd_mavlink.command == MAV_CMD_LOGGING_STOP) {
_mavlink->request_stop_ulog_streaming();
}
if (!send_ack) {