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

Copter: 4.1 Internal Error 1048576 in Guided mode if velocity control used after attitude control #17954

Closed
rmackay9 opened this issue Jul 7, 2021 · 1 comment

Comments

@rmackay9
Copy link
Contributor

rmackay9 commented Jul 7, 2021

Internal Error 1048576 can be triggered in Guided mode if the velocity controller is used after the attitude controller. This can be reproduced in SITL by doing the following:

  • start SITL
  • GUIDED
  • arm throttle
  • attitude 1 0 0 0 0.6 (enter this many times to takeoff using the attitude controller)
  • attitude 1 0 0 0 0.4 (enter this many times to land using the attitude controller)
  • velocity 0 0 -1 (to attempt to takeoff using the velocity controller)

The panic shown below appears in SITL. The issue is likely that the position controller is not being re-initialised before Guided mode's velocity controller tries to use it.

image

@rmackay9
Copy link
Contributor Author

rmackay9 commented Jul 12, 2021

This has been fixed by #17539 and should be included in beta6

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

1 participant