Flight state data using Kotlin
I have not found a single example in Kotlin for acquiring flight state data, like attitude. Could you please provide an example?
Agent comment from YIGUI LIU in Zendesk ticket #147351:
Dear Developer,
The key for acquiring aircraft attitude data is FlightControllerKey.KeyAircraftAttitude. You can search for its usage in the sample code.
MSDK Key Usage Tutorial: https://sdk-forum.dji.net/hc/en-us/articles/6392364742809-Chapter-4-The-KeyManager-and-the-DJIKey
MSDK API Documentation: https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_FlightController_FlightControllerKey.html#key_flightcontroller_attitude_inline
MSDK Sample Code: https://github.com/dji-sdk/Mobile-SDK-Android-V5
Best Regards,
DJI Innovations SDK Technical Support Team
°°°