Skip to content

Releases: REVrobotics/node-rhsplib

@rev-robotics/expansion-hub version 1.1.2

01 Sep 17:17
Compare
Choose a tag to compare

Updates serialport to version 12

@rev-robotics/rhsplib version 2.1.0

25 Aug 17:23
Compare
Choose a tag to compare
  • Fixes memory leak when performing discovery
  • Adds RhspLibErrorCode.NO_HUBS_DISCOVERED

@rev-robotics/rev-hub-core version 1.2.0

25 Aug 17:22
Compare
Choose a tag to compare
  • Adds HubNotRespondingError
  • NoExpansionHubWithAddressError now extends RevHubError
  • TimeoutError now extends RevHubError
  • UnableToOpenSerialPortError now extends RevHubError
  • InvalidSerialArgumentsError now extends RevHubError
  • SerialConfigurationError now extends RevHubError
  • SerialIoError now extends RevHubError
  • GeneralSerialError now extends RevHubError
  • RhspLibError now extends RevHubError

@rev-robotics/expansion-hub version 1.1.1

25 Aug 17:37
Compare
Choose a tag to compare
  • Re-exports HubNotRespondingError from @rev-robotics/rev-hub-core

@rev-robotics/expansion-hub version 1.1.0

25 Aug 17:21
Compare
Choose a tag to compare
  • All error types defined by this library now extend RevHubError
  • Improves error types thrown during the following operations:
    • Auto-sending KeepAlive messages
    • Opening Expansion Hubs
  • Fixes memory leak

@rev-robotics/rev-hub-core version 1.1.1

24 Aug 18:29
Compare
Choose a tag to compare

@rev-robotics/expansion-hub version 1.0.2

24 Aug 18:45
Compare
Choose a tag to compare

Re-export ParentExpansionHub from @rev-robotics/rev-hub-core

@rev-robotics/expansion-hub version 1.0.1

24 Aug 18:25
Compare
Choose a tag to compare
  • Removes functions that were not intended to be exported
  • Re-exports additional items from @rev-robotics/rev-hub-core that are useful to users of this library

rev-hub-cli version 1.0.0

22 Aug 23:57
Compare
Choose a tag to compare

Initial release of rev-hub-cli, with Expansion Hub support

@rev-robotics/rhsplib version 2.0.0

23 Aug 00:11
Compare
Choose a tag to compare

If you were using a previous version of this package, we recommend migrating to @rev-robotics/expansion-hub our new high-level library for Expansion Hubs. This package will still be maintained, but the new one is much easier to use correctly.

Breaking Changes

  • Switches from being a CommonJS module to an ES6 module
  • Adds channel and rawMode parameters to the getADC() method
  • Changes type of motorMode parameters to new MotorMode enum
  • Various values are now their human-friendly versions, instead of the ones that are transmitted over-the-wire
    • Motor power levels are now in the range [-1, 1]
    • PID coefficients are now floating-point values that are typically in the range [0, 1)
  • DIODirection has been replaced by DigitalChannelDirection
  • RGB has been replaced by Rgb
  • LEDPattern has been replaced by LedPattern
  • setMotorPIDCoefficients() has been replaced by setMotorClosedLoopControlCoefficients()
    • Adds support for setting PIDF coefficients
  • getMotorPIDCoefficients() has been replaced by getMotorClosedLoopControlCoefficients()
  • Removes PWM (not servo) functions
    • These used commands that are not implemented in the Expansion Hub's firmware

New Features

  • Adds RhspLibErrorCode and SerialErrorCode enums
  • Adds support for getting and setting PIDF coefficients