How to get number of satellites using Drone SDK iOS?


#1

Hi Guys,

I am using latest Parrot SDK to connect parrot drone.i want to print satellites in my app.

i am currently using

if (commandKey == ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_GPSSTATE_NUMBEROFSATELLITECHANGED) {
ARCONTROLLER_DICTIONARY_ARG_t *arg = NULL;
ARCONTROLLER_DICTIONARY_ELEMENT_t *element = NULL;
// get the command received in the device controller
HASH_FIND_STR (elementDictionary, ARCONTROLLER_DICTIONARY_SINGLE_KEY, element);
if (element != NULL)
{
// get the value
HASH_FIND_STR (element->arguments, ARCONTROLLER_DICTIONARY_KEY_ARDRONE3_GPSSTATE_NUMBEROFSATELLITECHANGED_NUMBEROFSATELLITE, arg);

}

this is the process I am fallowing where this method is not al all calling .

Please do suggest me the process of getting number of satellites.

thanks in advance

Ramya


#2

Hi,

As indicated in the Welcome message, could you provide us:

Product:
Product version: [X.X.X]
SDK version: [X.X.X]
Use of libARController: [YES/NO] (Only for ARSDK)
SDK platform: [iOS/Android/Unix/Python…]
Reproductible with the official app: [YES/NO/Not tried]

So that we can help you more accurately.

If it is a Bebop 1, the command is not fired yet. It will be on a future firmware release.

Best regards,
Djavan


#3

Hi,

Thanks for responding. I am using

Product:Parrot Bebop drone
Product version: We could not find version on drone box.
SDK version: ARSDK3_iOS_3_8
Use of libARController: [YES/NO] (Only for ARSDK) - YES
SDK platform: [iOS/Android/Unix/Python…] - iOS
Reproductible with the official app: [YES/NO/Not tried] - Not tried

Please help me out


#4

Alright,

So here is your answer (first point).

In short: on the Bebop 1, the command is not fired yet. It will be on a future firmware release.

Best regards,
Djavan