MC unit handling on interface to XCSoar
Closed this issue · 10 comments
Describe the bug
XCV and connected XCS exchange MC values. From XCS to XCV does not handle units correctly when set to something else than m/s on XCV side.
E.g. XCS sends MC 1 m/s XCV receives 200feet/min, or 1,9knots when set to knots as unit.
To Reproduce
XCS on e.g. Laptop connected to S2. Setup XCV interface on XCS and change MC manually.
Expected behavior
Show the adjusted same value, or proper converted value on XCV side.
Desktop (please complete the following information):
Linux laptop, XCS compiled from head, XCV compiled from head.
Please reopen. The fix is not related to the issue and does not fix it.
In my gadgets i don't see issue with above change , can this be closed ?
Will double check. one moment.
Ok, now the setting seems to be right, but just the display indicates m/s always. Will fix too.
Contributed with PR #82 a bit to it but this is not yet completely fixed. Choosing r.g. 100ft/min as vario unit still shows on the config setting where you change the MC value a m/s figure, but x 100ft/min right behind it. This need to be a fit to the figure as well.
Sure the MC setup screen needed the unit from vario for Units:: as well. Will crosscheck this also.
Apparently the new blackboard approach fixes this.