Skip to content

Commit

Permalink
Add Larus driver
Browse files Browse the repository at this point in the history
This commit adds a driver for Larus devices to XCSoar. The following
values are transferred from the sensor box to XCSoar:
- current attitude: roll, pitch and yaw angle
- battery voltage
- total energy variometer
- pressure height
- true airspeed
- wind angle and speed

In addition, some setting parameters can be exchanged bidirectionally:
- MacCready
- ballast
- bugs
- QNH

Documentation https://github.com/larus-breeze/doc_larus
Emulator https://github.com/larus-breeze/sw_tools
  • Loading branch information
Simsys authored and lordfolken committed May 14, 2024
1 parent b1244d8 commit 90eb018
Show file tree
Hide file tree
Showing 7 changed files with 429 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Version 7.43 - not yet released
- NumberEntry dialog value can now be accepted by enter
- Vario center gross label
- Vario use AutoFonts for lables and values
* devices
- add Larus driver
* windows
- black text color in airspace list like all other systems
* Kobo
Expand Down
1 change: 1 addition & 0 deletions build/driver.mk
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ DRIVER_SOURCES = \
$(DRIVER_SRC_DIR)/Vaulter.cpp \
$(DRIVER_SRC_DIR)/KRT2.cpp \
$(DRIVER_SRC_DIR)/AirControlDisplay.cpp \
$(DRIVER_SRC_DIR)/Larus.cpp \
$(DRIVER_SRC_DIR)/ATR833/Device.cpp \
$(DRIVER_SRC_DIR)/ATR833/Register.cpp

Expand Down
5 changes: 5 additions & 0 deletions src/Device/Config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ struct DeviceConfig {
*/
StaticString<64> path;

/**
* The path name of the bluetooth port, e.g. "COM15 (Larus1234)".
*/
StaticString<128> port_name;

/**
* The Bluetooth MAC address of the peer.
*/
Expand Down

0 comments on commit 90eb018

Please sign in to comment.