A CANopen system service for OreSat Linux cards.
Install build dependencies
pip install meson ninja
Initialize CANopenLinux submodule
git submodule udpate --init --recursive
Build
meson setup build
Compile
cd build/
meson compile
Run with the internal OD (Object Dictionary).
./oresat-canopend can0
A .dcf
file is a .conf
-like file to describe a OD. oresat-canopend
can load
in a dcf to use an app-specific OD instead of the internal OD.
OreSat dcfs can be generated with oresat-configs
(in this case the oresat gps dcf).
oresat-configs dcf gps
Run with the generated dcf.
./oresat-canopend can0 -d gps.dcf
Note: If the dcf fails to load for any reason, the internal OD will be used as a backup.