dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
577 stars 256 forks source link

Mavic Air 2 - DJISDK 4.14-trial 2 - Waypoint Mission Not supported and SetCameraMode #433

Closed dshackelford closed 3 years ago

dshackelford commented 3 years ago

Hello, I have a few issues with the Mavic Air 2 and DJISDK 4.14-trial2.

1. The sample application is not able to "prepare" a waypoint mission with the Mavic Air 2, in the "waypoint mission operator" selection.

Simulator Screen Shot - iPhone 11 - 2021-01-14 at 12 27 58

Simulator Screen Shot - iPhone 11 - 2021-01-14 at 12 31 48 Simulator Screen Shot - iPhone 11 - 2021-01-14 at 12 31 53 Simulator Screen Shot - iPhone 11 - 2021-01-14 at 12 27 52

I believe because the Mavic Air 2 may use Version 2 of DJIWaypointMission? I tested version 2 of the waypoint operators in my own code and got a different error when trying to upload a mission.

Aircraft's home point is not recorded. (code -5010)

2. Attempting to set the camera mode to shoot photos fails. setMode using mode DJICameraModeShootPhoto returns the following error:

Current product does not support this feature

Any information would be greatly appreciated on the operability of Mavic Air 2 with DJISDK 4.14-trial2 regarding Waypoint missions.

Environment:

DJISDK Version 4.14-trial2 Xcode 12.2 Bridge iOS App 4.4 Mavic Air 2 Firmware: 01.00.0460

Thanks!

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #43100:

Dear Customer,

Thank you for contacting DJI. Sorry that the Mavic Air 2 is not supported by both the waypoint mission V1 and V2, limited by the drone itself.

Thanks,

Luce Luo DJI Developer Support

zyphs21 commented 3 years ago

@dshackelford If you want to set the camera mode on Mavic Air 2, you should use setFlatMode(_ mode: DJIFlatCameraMode)

Doc Reference

zyphs21 commented 3 years ago

Sorry that the Mavic Air 2 is not supported by both the waypoint mission V1 and V2, limited by the drone itself.

@dji-dev Hello, as you mention limited by the drone itself. Does it mean Mavic Air 2 will never support the waypoint mission even in the feature SDK version ?

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #43100:

Dear Customer,

Thank you for contacting DJI. The MSDK has the ability to support the waypoint mission for the Mavic Air 2 if it has this feature in the firmware. But now it hasn't, so no way to support it. Sorry about it.

Thanks,

Luce Luo DJI Developer Support

dshackelford commented 3 years ago

Hello, DJISDK 4.14 has been released, but the release notes do not specifically state if Mavic Air 2 is supported by either Waypoints V1 or V2. Are waypoints on the Mavic Air 2 supported in DJISDK 4.14?

Thanks, Dylan Shackelford

lhuanyu commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #43100:

Dear Customer,

Thank you for contacting DJI. The MSDK has the ability to support the waypoint mission for the Mavic Air 2 if it has this feature in the firmware. But now it hasn't, so no way to support it. Sorry about it.

Thanks,

Luce Luo DJI Developer Support

Does Air 2 support Timeline GotoAction?

benjohnemmett commented 3 years ago

It is frustrating that some mission actions are not supported by Mavic Air 2 but the documentation doesn't call them out. I have been developing an app primarily for use with Mavic Air 2 and was counting on using the DJIGoToAction in the mission timeline.

Will you please update the Mavic Air 2 firmware to support the DJIGoToAction?

schlingding commented 3 years ago

To summarize:

The SDK supports the Mavic Air 2.

The Mavic Air 2 does not support the SDK.

Does this sound correct?

alzin commented 3 years ago

@dji-dev

How did you state that the waypoint function is not supported with the Mavic Air 2 drone? It seems that this guy was able to use it in his app (Maven App) as this video shows!!

https://www.youtube.com/watch?v=i86LnaNTe8c

Michael-DJI commented 3 years ago

@dji-dev

How did you state that the waypoint function is not supported with the Mavic Air 2 drone? It seems that this guy was able to use it in his app (Maven App) as this video shows!!

https://www.youtube.com/watch?v=i86LnaNTe8c

this is done by the virtual stick API of MSDK, some developers like Litchi, Dronelink, Maven as well have done their mission module bases on the virtual stick