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

AP_Scripting: added copter_loiter_brake script #26971

Merged
merged 1 commit into from
May 7, 2024

Conversation

tridge
Copy link
Contributor

@tridge tridge commented May 3, 2024

for automatic BRAKE mode when flying in LOITER in steep terrain

@rmackay9
Copy link
Contributor

rmackay9 commented May 3, 2024

I haven't checked the script much for errors but it might be good to put terrain_brake in the name of the script. Loiter already has a brake included with it and we also have brake mode. So perhaps copter-terrain-brake or copter-loit-terr-brake.

By the way, there have been requests over the year to enhance loiter mode so that it can do surface tracking using the terrain database. Maybe that's some thing we should add once Matt Kear's surface distance library is ready.

@tridge
Copy link
Contributor Author

tridge commented May 4, 2024

@rmackay9 renamed

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label May 7, 2024
for automatic BRAKE mode when flying in LOITER in steep terrain
end

--[[
main update function, called at 1Hz
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be 10 Hz instead, since update is 100ms?

@tridge tridge merged commit bae5859 into ArduPilot:master May 7, 2024
92 checks passed
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.

None yet

7 participants