djiuser_8ITeqAkGv0Mf
New
Spain
Offline
|
Hello,
I have a Mavic Pro Remote Control and I am trying to create an UWP app to get events from it.
I have followed DJI SDK installation tutorial and everything seems to be working fine.
The method DJISDKManager.Instance.RegisterApp(); is giving correct results, so the app is registered well.
Mini-USB controllers for the remote controller are well installed on Windows.
DJISDKManager.Instance.ComponentManager.GetProductHandler(0).ProductTypeChanged returns "ProductType.UNRECOGNIZED" when I turn on the remote controller.
But when I subscrite to events from the remote controller, the callback RemoteControllerHandler_RCLeftWheelChanged is never called.
RemoteControllerHandler remoteControllerHandler = DJISDKManager.Instance.ComponentManager.GetRemoteControllerHandler(0, 0);
remoteControllerHandler.RCLeftWheelChanged += RemoteControllerHandler_RCLeftWheelChanged;
Could you help me to get this working, please? All I would like to do is just reading events from the controller without an Aircraft.
|
|