feat: Compass initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
SERIAL_PORTS = [
|
||||
{'port': '/dev/ttyUSB0', 'baud': 4800, 'name': 'NMEA Primary'},
|
||||
{'port': '/dev/ttyUSB1', 'baud': 38400, 'name': 'NMEA Fast'},
|
||||
]
|
||||
|
||||
# Windows example:
|
||||
# {'port': 'COM3', 'baud': 4800, 'name': 'NMEA Primary'}
|
||||
|
||||
HEADING_SMOOTHING = 0.18 # 0=no smoothing, 1=instant snap
|
||||
UI_REFRESH_MS = 80 # ~12 fps — smooth animation, low CPU
|
||||
COMPASS_SPLIT = 0.60 # fraction of width for compass rose
|
||||
|
||||
# Vessel type — controls silhouettes in the attitude panel
|
||||
# Options: 'motor_cruiser' | 'cargo' | 'offshore' | 'cruise' | 'superyacht'
|
||||
VESSEL_TYPE = 'cargo'
|
||||
Reference in New Issue
Block a user