Comments (4)
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:
- 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.
- 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.
Not asking for a nice to have improvement here, just reporting an issue that should be solvable, as you mentioned.
from xcvario.
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:
- Takeover of weights from new protocol messages in XCVario Protocol
- Removal of ballast overload takeover from $PXCV field (obsolete)
- Sending of messages in new protocol format for all three weights
from xcvario.
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)
- Use static pressure instead of compensated pressure when motor is running HOT 4
- Aircraft Switches HOT 2
- s2f switch in two seater setup HOT 11
- st7789 and ILI9341 Displays with new eglib HOT 4
- Synch crew-,empty- and ballast-weight with XCSoar HOT 5
- Sync temperature to client directly after boot HOT 3
- DG800S/15 Polar not correct HOT 3
- Info for another lcd display HOT 1
- AHRS Autozero config unclear HOT 3
- [Feature Request] Update SDK to one which supports ESP32S3 chips HOT 8
- [Feature request] Debug screen HOT 3
- BLE works on occasion, but is not robust HOT 5
- Weight calculation assumes a hardcoded constant 80kg HOT 7
- Advanced AHRS Screen. Add Speed and Altimeter tape HOT 1
- Phyiscal Switch for Water HOT 1
- Airfield elevation setup for large value changes should be improved HOT 3
- No audio warning for gear and flarm alert (3) HOT 4
- Gear warning gets breaks down if using $g,w commands and pages are switched. HOT 5
- Sound Problem after switching Vario or target mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcvario.