Accessing drone data

Hi all,
I’m trying to access basic drone data (battery, for example), I followed the “HelloDrone” project and I wrote my code in Java. when I tried to write the battery monitor function I noticed that my drone object doesn’t have getInstrument (or any other getters besides DeviceState).
help?

@Asgardsys Does this help? It looks like you need to get a particular instrument (i.e. battery) from the drone object and then you can retrieve information related to that instrument. The documentation looks like Kotlin, so it may need to be adapted if you are writing in Java.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.