Mambo wifi takeoff command not working


#1

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

I was able to successfully perform the handshake over TCP with the PARROT mambo FPV over wifi.
I received the following JSON packet in response:

’ { “status”: 0, “c2d_port”: 6000, “c2d_update_port”: 51, “c2d_user_port”: 21 } ’

I am now sending the following data for takeoff, to the c2d port: 6000 over a udp socket.

(4, 11, 1, 11, 2, 0, 1) in (<BBBIBBH format)

I was also able to verify that the packet is received by the drone as:
04 0b 01 11 00 00 00 02 00 01 00

However the drone does not takeoff ! Am I missing something here?

Thanks in advance!


#2

You are not connected to the drone SDK-wise.

You should send the date, time, allSettings, wait for allSettingsEnded event, send allStates, wait for allStatesEnded event.

Then you can send the command you want.


#3

Hi @Djavan, Thank you for the quick reply.

I am trying to set the date by sending the command packet. I am able to send the packet to the drone at IP: 192.168.99.3 but I get an error that says ‘port unreachable’.

The c2d_port is 6000 and the d2c_port: 43210


#4

Hi,

Finally figured out that this was due to the socket timeout of 5 seconds. I am now getting the data (Speed, Altitude and Quaternions) from the Mambo FPV. I am also able to takeoff.

What is the best way to check if the drone has received the command (say takeoff command in this case).
Does the drone send an ‘Ack’ packet in the d2c port along with the other sensor data?

I don’t see any packet starting with the data type of 1.

 2   127     9    29     0     0     0     2    18     4     0   117   241   127    63   159

82   151    59   181   172   149   187   129    40   164   188   231    51


 2   127    10    25     0     0     0     2    18     1     0   168   211    53    61    23

I am currently using the ‘state changed’ status to check if the drone is taking off.