Mavic Air 2和Mavic Air 2s设置拍摄球形全景报错
Completed环境:iOS MSDK 4.16.1
飞机固件:01.01.0920,遥控器固件:01.11.0034
Mavic Air 2和Mavic Air 2s设置拍摄球形全景,
先调用了
- (void)getFlatModeWithCompletion:(void (^_Nonnull)(DJIFlatCameraMode mode, NSError *_Nullable error))completion
设置拍照模式为 DJIFlatCameraModePhotoPanorama
然后又调用 - (void)setPhotoPanoramaMode:(DJICameraPhotoPanoramaMode)mode withCompletion:(DJICompletionBlock)completion方法设置全景模式,这个方法报错:
Camera is busy or the command is not supported in the camera's current state(code:-3002)
-
您有尝试在设置FlatMode成功的回调里调用setPhotoPanoramaMode吗? 全景的接口调用逻辑上是没有问题的。 这里您指的应该是setFlatModeWithCompletion ![](https://djisdksupport.zendesk.com/attachments/token/SaZgSTvGAW0mByGG8R40oREZE/?name=image.png)
Please sign in to leave a comment.
Comments
1 comment