I am building a GPS sensor using telemetry via S.Port on an Archer R4 receiver.
Everything is working except GPS position.
I can send Time, Date, Altitude, Speed, and Heading and they all display correctly on my Taranis X9 Lite.
Can someone please tell me how to encode the Latitude and Longitude data so that they are displayed correctly?
I know that they are sent on the same physical and logical address and I think that the top bit selects Lat or Lon,
but I can't seem to get the rest of it right.
FrSky telemetry format
Re: FrSky telemetry format
Have a look in that code here.
https://github.com/openXsensor/openXsen ... penXsensor
Specially in the files oXs_gps.cpp and oXs_gps.h
Might help
br KH
https://github.com/openXsensor/openXsen ... penXsensor
Specially in the files oXs_gps.cpp and oXs_gps.h
Might help
br KH
-
- Posts: 2
- Joined: Sun Jul 11, 2021 3:19 pm
- Country: -
Re: FrSky telemetry format
Thanks for the advice. I had worked out that the top bit selected Lat or Long and the next bit down was polarity, but the thing that eluded me was that the value used by S.Port is in Minutes, not Degrees, times 10000.
All working beautifully now.
All working beautifully now.
TD