I understand that there are three ways to perform Obstacle Avoidance in AirSDK: through Guidance::Obstacle Avoidance, the oa_manager in Flight Supervisor, and avoidance using the Service.
While there’s a detailed explanation in the AirSDK Document regarding the Obstacle Avoidance of Guidance, I tried following it but couldn’t achieve proper avoidance in the simulation environment. Hence, I’m considering using the OA_Manager for obstacle avoidance. Do I simply activate the Obstacle Avoidance in FlightSupervisor (mission.py)? I’m curious if there are any modifications required in guidance or service when using the obstacle_manager.
Thanks, trang.
I have forgot the ‘self’ when calling the supervisor.
In my case, used the code in my state and successfully built the mission
with your support.
But, i still have trouble in flight with avoidance in Simulation.
Is there anything else i have to do besides calling oa_manager in state?
Do i have to ‘call the oa_manager methods in state’ or ‘Use TrajectoryFcamMode in Guidance’?