Just an update on my situation. My vehicle is an Ackermann-steering rover running firmware version 4.6.2.
I am using a 2D LiDAR that only detects a 60° area in front; all other angles are blocked. The LiDAR data displays normally.
When simple obstacle avoidance is enabled, the vehicle works fine in AUTO mode:
it follows the route accurately and stops normally when encountering obstacles.
However, after setting OA_TYPE = 1, rebooting the flight controller, and configuring all related OA parameters correctly,
the vehicle does not stop for obstacles (because I set AVOID_ENABLE = 0).
If I set AVOID_ENABLE = 7 or 2, the vehicle stops and keeps a safe distance from obstacles, but does not navigate around them — behavior identical to simple avoidance.
How can I make the vehicle actively navigate around obstacles?
Actually yes I tried this today and it does indeed not slide along the obstacles.
My GCS code commands it to just move forward at a given velocity. Next have to try giving it a position target to navigate to and see if if slides then.