-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: simple avoidance (i.e. stopping) should work in RTL, Auto, Guided, etc #5607
Comments
When will the Auto mode use object avoidance? |
news about Auto mode use object avoidance? |
Is object avoidance in auto mode is added with tera ranger tower? |
Object avoidance using two LW20 in auto mode would be awesome... Just sayin' : ) |
I realize that no one will want to commit but... |
@charleslinquist, I'm pretty sure it'll be in within 6 months. It's not hard to make Auto mode stop before hitting things, the problem is avoid getting stuck behind things and resolving that problem requires "path planning" which is tough and could take more than 6 months. Still, I suspect we will push in the object avoidance in Auto (RTL, Guided, etc) as a first step. |
You might want to consider something that I was planning:
Not a perfect solution, because it might take quite awhile to negotiate a mountain, but the method is unlikely to get stuck behind a building. |
@charleslinquist, txs for that! |
waiting impatiently for this feature to be commit by SOMEONE ... |
What is posible to read value sensor obstacle over mavlink? I'm connected sf40c to my pixhawk and i'll try to read that.. i'll make planing in my dronekit python for obstacle in guided gps waypoint mission.. |
On Wed, 28 Feb 2018, jihadrahmawan wrote:
What is posible to read value sensor obstacle over mavlink? I'm connected
sf40c to my pixhawk and i'll try to read that.. i'll make planing in my
dronekit python for obstacle in guided gps waypoint mission..
|
The VFH or VFH* might be a good method if you have a waypoint target, in this method the vehicle would go to the direction closest to the intended direction of travel that is not obstructed. Advantages: Resources: |
Hello everyone. It's been some time since last statements here and I'd like to ask what's the expected date for releasing Object Avoidance in AUTO mode. Is anyone working on it? We will need this feature in UAVs developed by my company and possibly I'd try to implement some solution. But I don't have experience in Ardupilot development so it will take lots of time - thus I wanted to know if it's worth doing on my own. Do we know anything about the progress (@rmackay9)? |
Hi, |
It's still on the to-do list but it's not be actively worked on right now... at least I'm not currently working on it. It's not terribly hard to make it kind-of-work. It is a matter of changing the AC_PosControl library so that the _vel_desired.x and _vel_desired.y are shortened using the AC_Avoid::adjust_velocity() function. |
Hi rmackay.... can I email you? |
@Djmarck22, sure, I'm rmackay9 at yahoo.com |
This comment was marked as abuse.
This comment was marked as abuse.
Dear Team, Why not adding a Collision Failsafe? Use case:
If Collision risk is detected, RTL/Smart RTL could have been triggered and avoided the collision. |
There is a terrain failsafe already, but it is linked to terrain following, not avoidance. I would expect it to work with both terrain following and avoidance enabled though.
Regards,
James
… On 10 Jun 2019, at 6:56 pm, apryamostanov ***@***.***> wrote:
Dear Team,
Why not adding a Collision Failsafe?
Use case:
Terrain: mountains
Mode: Auto
Situation: user wrongly set the altitude and drone collides with the mountain
If Collision risk is detected, RTL/Smart RTL could have been triggered and avoided the collision.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@apryamostanov, yes, it's a good idea and I've been thinking about it as well. Some of it can be done before the mission is even run because we can calculate if a target waypoint is below the terrain at that point. |
@auturgy - thanks for info about terrain following. @rmackay9 - thanks for the feedback! Are you seeing it as a pre-arm check, or it will reject uploaded mission? Thus the two features can be split: de-facto Failsafe and pre-validation check. For my scenario it is more important in-flight feature (Failsafe):
|
@apryamostanov, it might be a pre-arm check.. By the way, we do load terrain information onto the flight controller.. this allows performing terrain altitude missions without the user of a lidar.. In any case, I can't make any promises about when this will be implemented.. support for object avoidance in Auto, RTL etc should arrive with Copter-3.7 but I suspect terrain avoidance will be later.. perhaps Copter-3.8.. |
Oh, that's great news about object avoidance in Copter 3.7. That can suffice to my use case - the mountain is sheer, ~75 degrees angle - that's not normal terrain, rather an extremum/object. Thank you very much! |
For those who are interested, I have a prototype that I'm testing. It uses a TEENSY3.5 and sits between the radio(s) and the telemetry port and uses an Ainstein US-D1 radar (~ 150' range with a 45 X 30 degree FOV). When an object is detected by the radar, The TEENSY changes the MODE, and then does its best to fly the craft around/over the obstacle and when the obstacle is no longer seen, goes back to the original mode (which was stored). It doesn't operate below 10M (as reported by the FC) to avoid ground reflections. A RTL or LAND command from the ground over-rides everything. I still have a lot of "fine tuning" to do but it is starting to work. It appears likely that I'll have a package to sell before Copter 3.7 - which may make my method obsolete, we will have to see. |
That's an excellent method, @charleslinquist . I was thinking of same thing. |
Hi, I'm wondering since the issue is still open... Has object avoidance been implemented in Auto mode yet ? If not, do you have a workaround to make it kinda work ? Thanks ! |
Path planning works in autonomous modes but not "simple avoidance" which is stopping. There's some explanation here on the wiki https://ardupilot.org/copter/docs/common-object-avoidance-landing-page.html#avoidance-types |
Oh ok I see. Do you know why it hasn't been enabled yet ? Is there some implications to it or is it just a bandwith issue ? We're trying to do collision avoidance using an OAK-D camera on an autonomous multirotor. Since the path planning aspect of the project is scheduled for later, simple object avoidance (with maybe a call to RTL on obstacle detection) would be a good milestone for us. With some insight we might be able to add it/submit a PR for it. |
|
Copter's object avoidance only works in Loiter, Guided mode's velocity control and AltHold. We should extend it to work in more modes including RTL, Auto and Guided (Waypoint).
The text was updated successfully, but these errors were encountered: