Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 864 Bytes

README.md

File metadata and controls

58 lines (38 loc) · 864 Bytes

oresat-canopend

A CANopen system service for OreSat Linux cards.

Setup

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

Run with the internal OD (Object Dictionary).

./oresat-canopend can0

Run with a dcf

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.