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

Add assert dump functionality #1027

Merged
merged 1 commit into from
Apr 20, 2022
Merged

Add assert dump functionality #1027

merged 1 commit into from
Apr 20, 2022

Conversation

krichardsson
Copy link
Contributor

After a faild assert, the Crazyflie restarts and information about the assert is logged to the console. In some cases when a client already was connected to the Crazyflie before the assert, it will re-connect and consume the logs. This makes it hard to debug as the assert infomation is lost.

This PR adds functionality to trigger a dump of the assert information again to the console log. This way a client can re-connect to the Crazyflie and trigger a dump for post-mortum investigations.

Copy link
Member

@evoggy evoggy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good if the power on/off will clear the flag.

@krichardsson krichardsson merged commit cd78a74 into master Apr 20, 2022
@krichardsson krichardsson deleted the assert-dump branch April 20, 2022 15:02
@knmcguire knmcguire added this to the next release milestone May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants