Closed brien-crean closed 1 year ago
Please read this article, Why I have received NaN for aircraft location? You can connect your aircraft with DJI Assistant 2's simulator to mock a GPS signal.
This is happening while the simulator is running. I get valid aircraft location values from the simulator and then all of a sudden I get NaN values
It means something wrong in the simualtor then such as lost cable connection.
A KeyListener set to listen to AIRCRAFT_LOCATION changes sends invalid information after some time during VirtualStick flight. For example the below configured aircraft location listener sends
NaN
for the longitude and latitude values. This happens intermittently and when it does no valid information is sent afterwards. It never recoversSDK version: 4.16.4 Drones: Mini 2, Mavic Pro running latest available firmware versions