Keywords: OSDK, obstacle avoidance API
Yes. OSDK 4.x version
Reference code file: dji_flight_controller.hpp
/*! @brief Set collision avoidance enable or disable, blocking calls
*
* @platforms M210V2, M300
* @param avoidEnable AvoidEnable, AVOID_DISABLE: disable, AVOID_ENABLE: enable
* @param timeout blocking timeout in seconds
* @return ErrorCode::ErrorCodeType error code
*/
ErrorCode::ErrorCodeType setCollisionAvoidanceEnabledSync(AvoidEnable avoidEnable, int timeout);
Comments
0 comments
Please sign in to leave a comment.