Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant preflight fail log messages about not being connected to ground station #20478

Open
chris1seto opened this issue Oct 25, 2022 · 2 comments

Comments

@chris1seto
Copy link
Contributor

chris1seto commented Oct 25, 2022

Describe the bug

In head of main px4, (~ 9159f02) there is constant log spam about not being connected to a ground station. While it might be common to be connected to a ground station, it's not required. I think this error message could better be used if it appears only once after a previously connected ground station disconnects.

Alternative solutions

  • A param bitfield which can be used to select which preflight checks were desired to be checked
  • Only checking for preflight/health issues during actual arming, and otherwise staying silent if the vehicle is in prearm or idle (not armed or prearmed)

To Reproduce

Steps to reproduce the behavior:

  1. Power on Px4 without ground station connected
  2. Log messages of the form WARN [health_and_arming_checks] Preflight Fail: No connection to the ground control station will be continuously printed

Log

https://review.px4.io/plot_app?log=d2984592-304c-46f8-94c4-9222392b2228

@bkueng
Copy link
Member

bkueng commented Oct 26, 2022

Yes some of these are a bit spamming at the moment. But note that we'll completely remove these mavlink_log's once the GCS has the events UI in a release.
For now I'm fine with reducing the verbosity a bit. Do you want to do a PR?

@abdulmelikbekmez
Copy link

image

You can use this parameter to avoid these situations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants