Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Scarlet 0.3.0

Compare
Choose a tag to compare
@CaiB CaiB released this 30 Jan 03:43
· 395 commits to master since this release

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 has SetSpeed(float Speed) instead of UpdateState()
  • IMotor now has SetEnabled(bool Enabled) instead of Stop() only
  • IFilter requires bool 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 a string instead of byte[] 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