This repository was archived by the owner on May 3, 2024. It is now read-only.
Scarlet 0.3.0
Significant changes to Motors and how they handle Filters. Addition of CAN and UART on BBB. Some additional bugfixes and features added.
BREAKING CHANGES:
IMotor
now hasSetSpeed(float Speed)
instead ofUpdateState()
IMotor
now hasSetEnabled(bool Enabled)
instead ofStop()
onlyIFilter
requiresbool IsSteadyState()
IUARTBus
methods/properties changed
Features:
- IMotor interface is more user-friendly
- IServo interface now exists to interface with servos specifically
TalonMC
will now automatically run the given filter on a separate thread when necessary- Implementation of the
MPU6050
accelerometer - Client and Server now have standard
SendError()
methods - UART implemented on BBB
- CAN device tree implemented, but no communications functions available
- You can use Scarlet to set up the device tree, then an external program to communicate over CAN for testing
- Customized BBBCSIO I2C bus to output error codes on I/O errors, to make troubleshooting easier
- Added
LimitSwitch.State
property to access the current state between events - Added constructor for
Message
that takes in astring
instead ofbyte[]
and converts it for you for convenience
Bugfixes:
- Client no longer blocks during longer processes of
Client.Start()
- Incorrect address on BBB's P9_41 fixed, pin assignments will now work as expected for that pin
- Device tree now gets properly applied when
APPLY_REGARDLESS
mode is used and there is already one applied