UAV Package Delivery Obstacle Avoidance issue
2 views (last 30 days)
Show older comments
Tudor-Stefan Tonca
on 21 Jan 2023
Commented: Tudor-Stefan Tonca
on 28 Jan 2023
Hi, I am encountering an issue when trying to test the obstacle avoidance algorithm on a different scenario. I am using QGC connection for the trajectory and the quadcopter simply does not avoid all the obstacles, but only some of them. I've changed the safety distance, but without success. On QGroundControl, the quadcopter appears to "want" to avoid the obstacle, but it still follows the trajectory towards the landing point (see image)
I've tried to use a different obstacle but same thing happens - it avoided the red building, but went through the circular blue obstacle:
The lidar seems to be working fine. I would appreciate some help. Also, if I understood correctly from other questions on this forum, the project is designed for only one waypoint (i.e. take-off to landing)?
Many thanks in advance.
Tudor
0 Comments
Accepted Answer
Jianxin Sun
on 24 Jan 2023
Hi Tudor,
Here are a couple examples that might help you:
https://www.mathworks.com/help/uav/ug/uav-obstacle-avoidance-in-simulink.html shows how to setup a Simulink model that navigates through multiple waypoints while avoiding obstacles
https://www.mathworks.com/help/uav/ug/tune-3d-vector-field-histogram-controller-for-obstacle-avoidance-in-3d-scene.html shows how to tune the obstacle avoidance algorithm with the help from MATLAB visualization
Thanks,
Jianxin
4 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!