MadsHolm
lvl.1
Denmark
Offline
|
Hello, I am trying to get access to the GPS data (longtituda and latitude) throug the API port, so far i've managed to extract data from the flight controller through UART, and i have stared decoding it.
however i seem to run into som issues, when following the SDK protocol and appendix for the A3 it seems like the GPS position should be available twice, once in radians and once in degrees*10^7 (see attaced pictures)
It seems that these to data sets are not the same (and none of them are any where near my actual position.
Also it seems the the GPS detailed information should be 68 bytes long, from the information in the SDK Protocol, and from the information in the appendix it should only contain information of 8*32 bits = 32 bytes.
I hope some of you can help clearify what i am doing wrong, i have attached a pdf of my spreadsheet document where i am trying to decode the information i get from the flight controler.
Thanks in advance!
(it seems i am not able to upload the actual spreadsheet, so here is a link to google docs: https://docs.google.com/spreadsheets/d/e/2PACX-1vSOBvB1n9jEDmvkaZw37wNrX2f6-lPxNM5r65koyeaPDsZIc_dm6s94GrB29CortZrkM5G129g8zFV5/pubhtml)
|
|