-
Notifications
You must be signed in to change notification settings - Fork 336
[Local Planner] weird low altitude trajectory #516
Comments
If the mission height is lower than the distance the vehicle has to keep from the obstacle ( |
Thank you for explanation. |
This is an open problem. We are not doing proper trajectory tracking at the moment and this explais why we cannot guarantee the distance we keep from obstacles |
To be honest, there is only a semantic difference between "ground" and "obstacle". After all, what about terrain changes, like a hill? It makes little sense to keep a minimum distance to obstacles that is larger than the height above ground. The fact that the minimum distance isn't always kept properly is a separate problem. We cannot currently guarantee that it will always do so, since we are not taking dynamics into account. All that parameter really does, is to make sure the cost function explodes when an obstacle is closer than that value. Bottom line, there are two intrinsic problems with the algorithm:
Any contributions are of course more than welcome! |
Describe the bug
In SITL, low altitude mission (3-4m AGL) weird trajectory generated from planner during mission straight, no obstacle present path possibly affected by ground below
This behavior could be mitigated by reducing obstacle_cost_param_ but need explanation it is due to planner seeing point from ground or by other reasons.
To Reproduce
Steps to reproduce the behavior:
SITL-SimpleLowAlt.zip
Expected behavior
Not straight, weird way around trajectory towards waypoint where no obstacles around except the ground
Log Files and Screenshots
SITL Log : https://logs.px4.io/plot_app?log=bdd57226-349e-4ff4-82bb-f9c5d6dbdbe9
Rviz :
![Screenshot from 2019-10-24 12-45-29](https://user-images.githubusercontent.com/13569579/67451802-58dfd900-f65c-11e9-815a-4a79d46a3181.png)
Avoidance : commit c9c0952
Firmware : PX4/PX4-Autopilot@f7871ec
The text was updated successfully, but these errors were encountered: