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: landing detector internal error in Guided mode using set_attitude_target #26865

Open
rmackay9 opened this issue Apr 22, 2024 · 0 comments

Comments

@rmackay9
Copy link
Contributor

How to reproduced the problem:

  • start copter in SITL
  • param set DISARM_DELAY 0 (to disable automatic disarming while landed)
  • param set GUID_OPTIONS 8 (SetAttitudeTarget interprets Thrust As Thrust)
  • GUIDED (to switch the vehicle to Guided mode)
  • arm throttle
  • attitude 1 0 0 0 0.5 (see developer SET_ATTITUDE_TARGET instructions here)

"Internal Error 0x100000" should appear on the GCS's messages tab as shown below
image

The code that triggers this error is here in land_detector.cpp. Another related line in mode_guided.cpp is here.

There is a similar issue for Stabilize mode documented here.

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