这个函数的参数意义是什么,实现什么功能:bool moveByPosOffset(FlightTaskControl...
Completed这个函数的参数意义是什么,实现什么功能:bool moveByPosOffset(FlightTaskControl& task,const JoystickCommand &offsetDesired,
float posThresholdInM = 0.8,
float yawThresholdInDeg = 1.0);
-
可以根据需要自行修改sample中moveByPositionOffset的代码实现,参数传0就不会移动。sample代码可以参考论坛相关帖: https://djisdksupport.zendesk.com/hc/zh-cn/articles/900006773463-OSDK-%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%E8%A7%A3%E6%9E%90-%E9%A3%9E%E8%A1%8C%E6%8E%A7%E5%88%B6
Please sign in to leave a comment.
Comments
3 comments