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: Loiter Turns does not point vehicle towards center #14031

Closed
rmackay9 opened this issue Apr 9, 2020 · 2 comments
Closed

Copter: Loiter Turns does not point vehicle towards center #14031

rmackay9 opened this issue Apr 9, 2020 · 2 comments

Comments

@rmackay9
Copy link
Contributor

rmackay9 commented Apr 9, 2020

Unlike the Circle flight mode, Auto's Loiter-Turns command with lat and lon position specified does not point the vehicle nose towards the center of the circle. It should and I believe it once did but it seems a bug has been introduced that has broken the behaviour.

To recreate the problem in SITL do this:

  • rm eeprom.bin to restore all parameters to their defaults
  • create a mission with a takeoff, LoiterTurns and RTL commands
  • run the mission, then vehicle will not point towards the center of the circle, instead it's heading will remain at whatever it was when it reached the edge of the circle.

image

@rishabsingh3003
Copy link
Contributor

The issue might be somewhere else, but I believe this was the commit following which we have this bug:
bf7222d

@rmackay9
Copy link
Contributor Author

Resolved by the linked PR, thanks!

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

2 participants