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

mavlink_log_info: also print PX4_INFO #14848

Merged
merged 1 commit into from
May 12, 2020
Merged

mavlink_log_info: also print PX4_INFO #14848

merged 1 commit into from
May 12, 2020

Conversation

dagar
Copy link
Member

@dagar dagar commented May 6, 2020

  • any information sent to the ground should also be available for log review

This might be too much information at first, but it's better than being kept in the dark with what a user would have experienced. This came up when debugging #14825.

@dagar
Copy link
Member Author

dagar commented May 6, 2020

Alternatively we could have logger explicitly grab these.

@dagar
Copy link
Member Author

dagar commented May 6, 2020

Here we go again.

Screenshot from 2020-05-06 14-51-49

julianoes
julianoes previously approved these changes May 7, 2020
@bkueng
Copy link
Member

bkueng commented May 7, 2020

There's already mavlink_and_console_log_info

@dagar
Copy link
Member Author

dagar commented May 7, 2020

There's already mavlink_and_console_log_info

Right, I forgot about that one. Do you see distinct use cases that should be preserved (mavlink info with no PX4_INFO)?

There actually aren't that many mavlink_log_info() calls.

Screenshot from 2020-05-07 09-06-12

Does anyone see a reason we shouldn't merge mavlink_log_info + mavlink_and_console_log_info()?

@bkueng
Copy link
Member

bkueng commented May 11, 2020

Does anyone see a reason we shouldn't merge mavlink_log_info + mavlink_and_console_log_info()?

Merging is fine with me.

@dagar
Copy link
Member Author

dagar commented May 11, 2020

Does anyone see a reason we shouldn't merge mavlink_log_info + mavlink_and_console_log_info()?

Merging is fine with me.

Done.

@bkueng bkueng merged commit 05886e0 into master May 12, 2020
@bkueng bkueng deleted the pr-mavlink_info branch May 12, 2020 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants