How to select the drone type using the DJIwindows sample
530 1 2020-5-23
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_Cwv3h4MvtgGM
lvl.1

Switzerland
Offline

I'm trying to install the sample DJIVideoParser from the tutoriel on the dji website but I have an error in the selection of the drone type (I have a mavic 2 zoom). The error says : CS0103  The name AircraftCameraType does not exist in the current context.  I found that this variable is used to return the type if the drone from the class Parser. I tried to modify the class to always return Mavic2Zoom but it's not possible to modify this class.  I think I followed all the setps in the tutoriel so I don't really know where I made my mistake.

screenshot of the error

screenshot of the error
2020-5-23
Use props
kv886
lvl.4

Hong Kong
Offline

I have not encountered the problem you described.  This (https://github.com/DJI-Windows-S ... mo/MainPage.xaml.cs) is the final sample project. I think you can check your own code against it.
2020-5-24
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules