dji-sdk / Mobile-SDK-iOS

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

Mission is too slow on iPad mini 4 #393

Open ynaka01-max opened 4 years ago

ynaka01-max commented 4 years ago

Now I am using iPad mini 4 and Mavic 2 Zoom. I created DJIMissionControlTimelineElement Array that runs in the order DJITakeOffAction, DJIRecordVideoAction, DJIGoToAction1, DJIGoToAction2, HotPointMission.... However, when I started mission on iPad mini 4, Mission after DJIRecordVideoAction was not executed. When I stareted mission on Ipad Pro, all missions was executed. Why? Is it a problem with the specifications of the device?

dji-dev commented 4 years ago

Agent comment from DJI SDK in Zendesk ticket #38607:

Now I am using iPad mini 4 and Mavic 2 Zoom. I created DJIMissionControlTimelineElement Array that runs in the order DJITakeOffAction, DJIRecordVideoAction, DJIGoToAction1, DJIGoToAction2, HotPointMission.... However, when I started mission on iPad mini 4, Mission after DJIRecordVideoAction was not executed. When I stareted mission on Ipad Pro, all missions was executed. Why? Is it a problem with the specifications of the device?

ynaka01-max commented 3 years ago

I want to send int array data from manifold pc(Manifold2-G) to mobile device using Mobile SDK and Onboard SDK ROS. Is it okay to use the following code? Is mobile device receive Int data from manifold? Could you give me some advice? Reciever: Swift code (Mobile SDK) ————————————————————————— func onboardSDKDevice(_ osdkDevice: DJIOnboardSDKDevice, didSendDataToMobile data: Data) { print("Received SDK from Device") let values: [Int16] = data.withUnsafeBytes { [Int16](UnsafeBufferPointer(start: $0, count: data.count/MemoryLayout.stride)) } } ————————————————————————— Sender: C++ code (Onboard SDK ROS) ————————————————————————— send_to_mobile_data_client = nh.serviceClient("send_data_to_mobile_device"); ……. int sendData[10] = {1, 3, 5, 7, 9 , 11}; dji_osdk_ros::SendMobileData mobileData; mobileData.request.data.resize(sizeof(sendData)); memcpy(&mobileData.request.data, (uint8_t *)(&sendData), sizeof(sendData)); send_to_mobile_data_client.call(mobileData); ————————————————————————— Drone: matrice 210 v2

2020年8月28日(金) 13:31 DJI notifications@github.com:

Agent comment from DJI SDK in Zendesk ticket #38607 https://djisdksupport.zendesk.com/agent/tickets/38607:

Now I am using iPad mini 4 and Mavic 2 Zoom. I created DJIMissionControlTimelineElement Array that runs in the order DJITakeOffAction, DJIRecordVideoAction, DJIGoToAction1, DJIGoToAction2, HotPointMission.... However, when I started mission on iPad mini 4, Mission after DJIRecordVideoAction was not executed. When I stareted mission on Ipad Pro, all missions was executed. Why? Is it a problem with the specifications of the device?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Mobile-SDK-iOS/issues/393#issuecomment-682318631, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANPXK6GJ7NWH2BQBEQVUZ4LSC4XKFANCNFSM4QNWSU2A .