PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

mavlink: Log the achieved WP with a message

Open muramura opened this issue 1 year ago • 3 comments

Solved Problem

When executing the flight plan, the achieved WP could not be easily verified.

Solution

Change log level from DEBUG to INFO and add achievement WP.

Changelog Entry

None.

Alternatives

None.

Test coverage

Execute flight plan at SIH.

Context

Confirmed that the flight log is logged in the message list.

Screenshot from 2024-01-28 09-49-26 Screenshot from 2024-01-28 09-47-35

muramura avatar Jan 28 '24 01:01 muramura

  1. I don't think this should be enabled by default, but I'd be in favor of making it a runtime parameter you could enable.
  2. Please look at the CI build failures.

dagar avatar Jan 30 '24 16:01 dagar

I would add SDLOG_REACHED_WP, to the config parameter. 0: DISABLED 1: ENABLED

DISABLED Screenshot from 2024-02-01 01-20-48 Screenshot from 2024-02-01 01-18-45 Screenshot from 2024-02-01 01-09-25

ENABLED Screenshot from 2024-02-01 01-27-48 Screenshot from 2024-02-01 01-25-45 Screenshot from 2024-02-01 01-22-41

muramura avatar Jan 31 '24 16:01 muramura

Looks like this is ready to come in @dagar

mrpollo avatar Feb 09 '24 19:02 mrpollo