Signal for when obstacle avoidance is active
CompletedI'm considering upgrading my testbed to MSDK V5. One of the problems I have in V4 is I cannot tell when obstacle avoidance is actively overriding my virtual stick command. Does anyone know if there is a signal in MSDK V5 that would tell me when an obstacle avoidance override is active?
-
You can use FlightMode to determine whether the aircraft has exited the Virtual Stick. Currently, there is no signal that can accurately indicate if the aircraft has exited the Virtual Stick due to obstacle avoidance, but FlightMode can reflect whether the aircraft has exited the virtual joystick at that moment. https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_FlightController_FlightControllerKey.html?search=keyflightmode&i=0key_flightcontroller_msdkflightmode_inline
Please sign in to leave a comment.
Comments
1 comment