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).
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...
Can anyone give me an idea of when Object Avoidance will be available in AUTO mode? If it won't be completed within the next 6 months, I'll continue working on a system that performs this function using a companion computer. But I certainly don't want to duplicate efforts.
@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:
When an object is detected,
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..
DISTANCE_SENSOR
https://github.com/ArduPilot/mavlink/blob/master/message_definitions/v1.0/common.xml#L3767
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:
-It can navigate a complex terrain.
-avoid moving obstacles.
-work in 2d and 3d implementations.
-work regardless of sensor (more resolution of sensor just allows for tighter histograms and smoother motion).
-Can support external input (ie NN Cameras, 1d-2d-3d Lidar, Depth Cameras)
Resources:
https://en.wikipedia.org/wiki/Vector_Field_Histogram
https://www.youtube.com/watch?v=T68MmIue0KI
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,
I'm in a similar situation like Brooce. We need object avoidance in Auto,RTL etc. modes. Is anybody working on this? Is it going to be released soon? We might want to add to the current development activities in this field if there are any.
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.
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
Is there any news on this by any chance?
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 notifications@github.com 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!
The validation feature is nice! But probably more complex. It will probably require uploading of terrain data to vehicle (correct me if I'm wrong).
Are you seeing it as a pre-arm check, or it will reject uploaded mission?
Or Auto mode will not activate?
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.
@apryamostanov, I've created a new issue here for the terrain based avoidance feature request.
Most helpful comment
@apryamostanov, I've created a new issue here for the terrain based avoidance feature request.