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

Craft visualization jumps? Maybe gimbal lock? #594

Open
Hawxxer opened this issue Sep 1, 2022 · 2 comments
Open

Craft visualization jumps? Maybe gimbal lock? #594

Hawxxer opened this issue Sep 1, 2022 · 2 comments
Labels

Comments

@Hawxxer
Copy link

Hawxxer commented Sep 1, 2022

Describe the bug

When viewing the log the crafts orientation randomly spins. See around 5.5 seconds in. No pitch or roll is added the craft just jumps, not seen inflight. Coming from robotic but not looking into the code, I guess it has something to do how the gyro data is processed and maybe getting confused by negative gyro data? Maybe it has something to do with a Gimbal lock? Just guessing.

To Reproduce

Play the added track at 5:5 seconds with craft display enabled.

Expected behavior

Model shouldn't flip upside down.

Betaflight Blackbox Explorer version

v3.6.0

Add any other context about the problem that you think might be relevant here

2022-09-01 02-05-22.webm
LOG00010.txt

@github-actions
Copy link

github-actions bot commented Oct 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

@MikeCswe
Copy link

MikeCswe commented Jan 5, 2023

It appears that the animated craft display in Blackbox Explorer can not have the arrow in it pointing down to the bottom of the window at any time. As soon as the arrow reaches flat horizontal where it would start pointing down if it would follow the real quad's movements during a flip, the animated craft rolls 180 degrees so the arrow starts pointing up towards the top of the window again.

When playing back logs of a straight full front/back flip without any roll, at 90 degrees of the flip the animated quad rolls 180 degrees, then at 270 degrees of the flip it rolls back 180 degrees, this way keeping the animated craft orientation always facing up towards the top of the window. For us noobs this is very disorientating when trouble shooting issues experienced during flips and similar maneuvers. If this intended (not a bug) then I would like to be able to disable this "auto rolling" of the animated craft so it mimics the actions of the actual quad.

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

No branches or pull requests

3 participants