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

Yaw mode 3 (along trajectory) - Add check for minimum distance to target #12627

Merged
merged 3 commits into from
Aug 7, 2019

Conversation

bresch
Copy link
Member

@bresch bresch commented Aug 5, 2019

In order to be consistent with the other yaw modes, https://github.com/PX4/Firmware/blob/43d006aff26e32bbd442649de3cb627be710facc/src/lib/FlightTasks/tasks/Auto/FlightTaskAuto.cpp#L340 I added the condition that the yaw setpoint is frozen when the vehicle is in the acceptance radius

Tested in SITL only (velocity controller returned to force overshoot):
https://logs.px4.io/plot_app?log=a07e3da5-a6f9-49bb-8a04-70d5902aec23
2019-08-05_13-46-33_01_plot

… 3 (along trajectory) to be consistent with the other yaw modes
Copy link
Member

@MaEtUgR MaEtUgR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.
Sidenote: The same problem happened to us before in ROI (gimbal pointing to a point below the drone).

@RomanBapst RomanBapst merged commit 50fbb56 into master Aug 7, 2019
@RomanBapst RomanBapst deleted the pr-yaw-traj-distance branch August 7, 2019 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants