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: use terrain data for path planning (aka obstacle avoidance) #11552

Open
rmackay9 opened this issue Jun 11, 2019 · 5 comments
Open

Copter: use terrain data for path planning (aka obstacle avoidance) #11552

rmackay9 opened this issue Jun 11, 2019 · 5 comments

Comments

@rmackay9
Copy link
Contributor

ArduPilot Copter/Plane supports terrain altitude based missions (wiki). This existing feature is good for mapping missions where the user is interested in maintaining a specific altitude above the terrain.

Somewhat separately some users want their vehicle to fly to a specific place and avoid terrain along the way (i.e. if there is a mountain between "home" and the first waypoint. In these cases the user really wants terrain based avoidance and in these cases the vehicle should fly the shortest path to the waypoint while staying at least X meters from the terrain.

The difference can be see in the image below. The red-ish line show the terrain based mission where the vehicle follows the contours of the land. The dotted blue line shows the path that a terrain avoidance mission would follow.
terrain-avoidance-pic

@apryamostanov
Copy link

Hi @rmackay9 ,

Thanks for creating this Enhancement issue.

I have a question:

What will happen if there is a mountain as shown below, on a vehicle path, in the context of this enhancement?

59250515-7e96b380-8c62-11e9-8bb3-505dbd314f86

@rmackay9
Copy link
Contributor Author

@apryamostanov, yes, so definitely it should climb over that mountain.. so the shortest path would be above that mountain and then mostly straight across to the right..

@apryamostanov
Copy link

In this case, this seems completely fine to me.
In my scenario I prefer using the dotted line - to record the video in mountains.

Just for information - adding same feature (to avoid mountain) into the terrain-based mission - it will be more difficult right? I.e. as an option for this mission configuration.
I don't opt for it, just asking for interest.

@ddomit
Copy link

ddomit commented Sep 22, 2023

Hello Guys,

Its almost 4 years later now, any news on this feature? Can we help in any way?

Thanks

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Aug 24, 2024

Hello Guys,

Its almost 4 years later now, any news on this feature? Can we help in any way?

Thanks

Work with me getting this working in ROS. We need to get the AP terrain database available in grid_map_geo.
ethz-asl/grid_map_geo#38

Then we need to write a simple planner.

Although we could do it in on the microcontroller, it's probably a lot quicker to do it offboard.

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

4 participants