Added
- Pitstop can now run verify a rover is behaving as intended with the new `pitstop test` action.
- New tests for overspeed fault behavior, fan speed behavior, data correctness, battery health, and electrical metrics.
- Support for new firmware verbs:
- `CLEAR_SYSTEM_FAULT` (232)
- `SET_OVERSPEED_ENCODER_THRESHOLD_ENCODER_100HZ` (16)
- `SET_OVERSPEED_DURATION_100MS` (17)
- `SET_BRAKE_ON_FAULT` (18)
- Support for new firmware data elements:
- `FAN1_DUTY` (78)
- `FAN2_DUTY` (80)
- `SYSTEM_FAULT_FLAGS` (82)
Fixed
- Serial error handling could previously throw a TypeError on failure to connect to a device instead of an RoverProException
- No more warning when running on Ubuntu: "RuntimeWarning: You seem to already have a custom sys.excepthook handler installed."
- Previously, Python API would incorrectly convert analog battery current by the wrong factor.
Changed
- To reflect renaming of RoverRobotics' product lines, the name of the repo and PyPI package is now "`roverpro`"
- Pitstop now uses a more discoverable interface!
- `pitstop --help` and `pitstop <action> --help` to view usage instructions.
- Dropped support for Python3.5
- (dev) This project now builds with `poetry` instead of `setuptools` to provide simpler development and release process.
- (dev) Code formatting is now done with Black.