Oresat-olaf

Latest version: v3.5.0

Safety actively analyzes 622918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

3.5.0

Changes

- Reorganized repo.
- All CAN / CANopen code was moved to the new `canopen` dir.
- All hardware related code was move the new `board` dir.
- All CAN bus / network code was moved out of the `Node` class to the new `CanNetwork` class.
- Replace internal of all CAN sending message method from `Node`/`MasterNode` to make use of changes from the new `CanNetwork` class.

Fixes

- Fixed CAN bus recovery.
- Remove over logging from `send_tpdo()` errors.

3.4.0

Enhancements

- Added argument to set the CAN bus type. The `"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"`.
- Removed repeated argument parsing code between `olaf/__init__.py` and `run.py`, both still have the same functionality.
- Added `time_since_boot` value to heartbeat data for `MasterNode`. Useful for the C3, as it wont be effect by time changes.
- Added a`Eeprom` class to get hardware info from the Octavo A8's EEPROM. The class is used to try to get the hardware version in`olaf_setup()`; the value can be overwritten with the `-w/--hardware-version` runtime flag.

Changes

- Package version is set using `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`.
- Removed CAN/CANopen docs. See the new CAN/CANopen primers at https://oresat-software.readthedocs.io/en/latest/index.html
- To support the bus type change, the args for `Node` and `MasterNode` did change, but these are generally abstracted away from apps with `olaf_setup()`.

3.3.1

Fixes

- Add missing system unix time and uptime sdo callbacks

3.3.0

Enhancements

- Add hardware version runtime flag

Changes

- Add Updater and UpdaterState to main init imports
- REST API can read writeonly values

Fixes

- Fix sdo read / writes for MaserNode
- Fix Updater not adding updates to cache correctly
- Fix spelling errors in cpufreq functions

3.2.0

Enhancements

- `TimerLoop` now loops at a constant rate
- Add a `reset/` web page
- cpufreq functions no longer raise error, they just log warnings

Changes
- Remove values from the `/od-all` endpoint json message
- Move the signal catch callback out of App constructor to run method

Fixes
- Fix adding updates to updater issue

3.1.0

Enhancements

- Add `isort` and `black` configs, auto-formatted code
- Add `pylama` configs and fixed all lint issues
- Add `cancel` method to `Service`, so a service cancel/stop itself on major errors
- Add `status` property to `Service`
- Add -`n`/`-number` run time arg (only used by nodes with number; e.g.: `star_tracker_1`)
- Add flag `App` to disable auto-adding all core services/resources

Fixes

- Add remote nodes to networks so `sdo_read` and `sdo_write` work again

Changes

- `olaf_setup` now uses the node name defined by `oresat-configs` (it still supports `NodeId`, but `NodeId` is being deprecated)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.