GithubHelp home page GithubHelp logo

Comments (4)

iltis42 avatar iltis42 commented on August 20, 2024

For Borgelt and Cambridge Protocol users, there will be no solution, as this protocols are fix.
XCVario protocol now is using a more precise !g message using float format what should be part of XCV 7.23 (XCSoar/XCSoar#773), so IMHO the pimped !g should not the culprit, also the upstream NMEA had be pimped to a 3 digits (
sprintf(str,"$PXCV,%3.1f,%1.2f,%d,%1.3f,%d,%2.1f,%4.1f,%4.1f,%.1f", te, mc, bugs, bal, ..), what solve the issue on my desk (polar) reference weight and crew weight (separate open issue), are in perfect sync what might be not for good reason (today you can manually adjust this everywhere to produce this problem).
So i see two places to improve:

  1. Add warrants for synchronisation of all weights and also wing-area, as already started for crew weight, and IMHO we need to sync the reference weight (and wing area) from polar file as well with XCVario, and once this is consistent (today you need ensure this consistency e.g. when changing polar or crew weight on each places) the problem maybe already absent.
  2. Let both peers derive its ballast overweight (whats needed to adjust the polar), calculate locally, and don't exchange this. Just exchange parameters like water ballast in kg, crew weight in kg and reference weight in kg, and live with small deviations e.g. coming from a different wing-area, reference- or crew-weights, what might also fix the water ballast dump with two devices.

from xcvario.

hjr avatar hjr commented on August 20, 2024

Not asking for a nice to have improvement here, just reporting an issue that should be solvable, as you mentioned.

from xcvario.

iltis42 avatar iltis42 commented on August 20, 2024

Solution, as discussed, will be the warrant for syncronisation of all weights as from XCV side provided by #201 that is already in place, rest of work should be in XCSoar:

  1. Takeover of weights from new protocol messages in XCVario Protocol
  2. Removal of ballast overload takeover from $PXCV field (obsolete)
  3. Sending of messages in new protocol format for all three weights

from xcvario.

iltis42 avatar iltis42 commented on August 20, 2024

XCSoar 7.27 comes with new protocol version to exchange water ballast as an absolute value that solves this problem, as indicated by the two commits above. The code change of this was merged into XCSoar and issue is proved to be absent.

from xcvario.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.