A pythonic CANopen application framework for all OreSat Linux boards
GPL-3.0 License
Node
class to read/write values to the ODMasterNode
class for sending SDOsPublished by ryanpdx 6 months ago
canopen
dir.board
dir.Node
class to the new CanNetwork
class.Node
/MasterNode
to make use of changes from the new CanNetwork
class.send_tpdo()
errors.Published by ryanpdx 8 months ago
"virtual"
bus type is upper useful for Mac users and for unit tests. The "socketcand"
bus type can be use to remotely connect to FlatSat. Default is still "socketcan"
.olaf/__init__.py
and run.py
, both still have the same functionality.time_since_boot
value to heartbeat data for MasterNode
. Useful for the C3, as it wont be effect by time changes.Eeprom
class to get hardware info from the Octavo A8's EEPROM. The class is used to try to get the hardware version inolaf_setup()
; the value can be overwritten with the -w/--hardware-version
runtime flag.setuptools-scm
, which will use git tag (not a manually updated __version__
variable in __init__.py
) for versioning. If the package is built of off non-tagged commit, it will include a partial commit hash, and date in the version; e.g.: 0.3.2.dev9+g9afbd58.d20240224
.Node
and MasterNode
did change, but these are generally abstracted away from apps with olaf_setup()
.Published by ryanpdx 10 months ago
Published by ryanpdx 10 months ago
Published by ryanpdx 10 months ago
TimerLoop
now loops at a constant ratereset/
web page/od-all
endpoint json messagePublished by ryanpdx 10 months ago
isort
and black
configs, auto-formatted codepylama
configs and fixed all lint issuescancel
method to Service
, so a service cancel/stop itself on major errorsstatus
property to Service
n
/-number
run time arg (only used by nodes with number; e.g.: star_tracker_1
)App
to disable auto-adding all core services/resourcessdo_read
and sdo_write
work againolaf_setup
now uses the node name defined by oresat-configs
(it still supports NodeId
, but NodeId
is being deprecated)Published by ryanpdx 12 months ago
oresat-configs
now, not eds / dcf files. It is a centralized definition for all CAN messages, C3 beacons. This greatly helps in synchronizing CAN messages between different software / firmware projects.Gpio
class now supports using the label from the card's device treesetup.cfg
in favor of only pyproject.toml
None
in logsPublished by ryanpdx over 1 year ago
SDOs actually read and write to the OD now
Published by ryanpdx over 1 year ago
OLAF will set CAN bus bitrate on bus resets. The bitrate must be set before the CAN bus is set to up.
Published by ryanpdx over 1 year ago
Published by ryanpdx over 1 year ago
NodeStop
import to __init__.py
Published by ryanpdx over 1 year ago
App
into App
and Node
, where Node
is accessible by all resources.GPIO
classPublished by ryanpdx over 1 year ago
TimerLoop
class loop specific periodically. Reworked all core resources to use the TimerLoop
class.app
and new rest_api
object are globals included with the library.new_eds
script for creacting new EDS file for OLAF apps.Published by ryanpdx over 2 years ago
setup.py
with pyproject.toml
Published by ryanpdx over 2 years ago
Fix long_description
to use README.rst
Published by ryanpdx over 2 years ago
Fix the PDO mapping for PDOs with variables at indexes.
Published by ryanpdx over 2 years ago
oresat-olaf
import olaf
after install with pipPublished by ryanpdx almost 3 years ago
Initial release for OreSat Linux App. 🎉