Yacht Devices modules
The Python Gateway has four custom modules: ydpg
with functions specific to the Python Gateway, nmea0183
and nmea2000
to handle NMEA data, and ydsolve
(it provides a simple least squares solver and can be used to calibrate external sensors, such as fuel tank sensors). By default these modules, except ydsolve
, are imported in boot.py
and you don’t need to do it in main.py
.
ydpg
– basic YDPG-01 functionsnmea0183
– simple NMEA0183 message processingnmea2000
– complete library for working with NMEA2000 bus- Constants
- Functions
- Classes
NMEA2000
NMEA2000.can()
NMEA2000.rtc()
NMEA2000.state()
NMEA2000.silent()
NMEA2000.loopback()
NMEA2000.cansleep()
NMEA2000.assemble()
NMEA2000.address()
NMEA2000.reset_settings()
NMEA2000.address_claim()
NMEA2000.product_info()
NMEA2000.config_info()
NMEA2000.equipment()
NMEA2000.statecallback()
NMEA2000.reqcallback()
NMEA2000.rxcallback()
NMEA2000.cfgcallback()
NMEA2000.buildid()
NMEA2000.send()
NMEA2000.sendpgn()
NMEA2000.request()
ydsolve
– additional math algorithms