Closed r1000ru closed 1 year ago
Ethos has 2 kind of limits:
It seems you have mixed those 2 kind of limits in your request, here are my remarks:
@bsongis-frsky
gpsSol.groundSpeed = _buffer.velned.speed_2d; // cm/s
gpsSol.groundCourse = (uint16_t) (_buffer.velned.heading_2d / 10000); // Heading 2D deg * 100000 rescaled to deg * 10
#define DECIDEGREES_TO_CENTIDEGREES(angle) ((angle) * 10)
crsfSerialize16(dst, (gpsSol.groundSpeed * 36 + 50) / 100); // gpsSol.groundSpeed is in cm/s
crsfSerialize16(dst, DECIDEGREES_TO_CENTIDEGREES(gpsSol.groundCourse)); // gpsSol.groundCourse is 0.1 degrees, need 0.01 deg
These transformations correspond to a document that TBS forbids publishing, called crsf rev07.pdf
Thanks for the reference to the documentation.
Changes made for 1.4.7: 1) GPS Speed: 2 decimals, max = 650.00km/h 2) GPS Heading: 2 decimals, max = 360.00° 3) GPS Alt: max = 65000m 4) GPS Sats: max = 255 satellites
I have found this exact document in my computer, it is a little bit old. I wonder if it has changed since, as OpenTX uses a different precision (so EdgeTX the same) and it seems there is no issue with the GPS fields.
Hello. On Tandem X20, Ethos 1.4.6, CRSF(Elrs), next sensor is malfunction: