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: SmartRTL should give pilot yaw control #8232

Closed
rmackay9 opened this issue Apr 25, 2018 · 1 comment
Closed

Copter: SmartRTL should give pilot yaw control #8232

rmackay9 opened this issue Apr 25, 2018 · 1 comment

Comments

@rmackay9
Copy link
Contributor

Copter-3.6 includes SmartRTL but it does not allow the user to control the vehicle's yaw like regular RTL does.

The way this can be done is:

  • copy this bit of code from regular RTL that reads in the pilot's yaw input. This should be copied into mode_smart_rtl.cpp's path_follow_run method
  • a few lines lower in mode_smart_rtl.cpp we should pass in the "target_yaw_rate" as the last argument to the call to attitude controller->input_euler_angle_roll_pitch_euler_rate_yaw (see here)
@rmackay9
Copy link
Contributor Author

Resolved in master with this commit from @sarthak268. 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

1 participant