Releases: REVrobotics/node-rhsplib
Releases · REVrobotics/node-rhsplib
@rev-robotics/expansion-hub version 1.1.2
Updates serialport
to version 12
@rev-robotics/rhsplib version 2.1.0
- Fixes memory leak when performing discovery
- Adds
RhspLibErrorCode.NO_HUBS_DISCOVERED
@rev-robotics/rev-hub-core version 1.2.0
- Adds
HubNotRespondingError
NoExpansionHubWithAddressError
now extendsRevHubError
TimeoutError
now extendsRevHubError
UnableToOpenSerialPortError
now extendsRevHubError
InvalidSerialArgumentsError
now extendsRevHubError
SerialConfigurationError
now extendsRevHubError
SerialIoError
now extendsRevHubError
GeneralSerialError
now extendsRevHubError
RhspLibError
now extendsRevHubError
@rev-robotics/expansion-hub version 1.1.1
- Re-exports
HubNotRespondingError
from@rev-robotics/rev-hub-core
@rev-robotics/expansion-hub version 1.1.0
- 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
- Adds
RevHubError
class
@rev-robotics/expansion-hub version 1.0.2
Re-export ParentExpansionHub
from @rev-robotics/rev-hub-core
@rev-robotics/expansion-hub version 1.0.1
- 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
Initial release of rev-hub-cli
, with Expansion Hub support
@rev-robotics/rhsplib version 2.0.0
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
andrawMode
parameters to thegetADC()
method - Changes type of
motorMode
parameters to newMotorMode
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 byDigitalChannelDirection
RGB
has been replaced byRgb
LEDPattern
has been replaced byLedPattern
setMotorPIDCoefficients()
has been replaced bysetMotorClosedLoopControlCoefficients()
- Adds support for setting PIDF coefficients
getMotorPIDCoefficients()
has been replaced bygetMotorClosedLoopControlCoefficients()
- Removes PWM (not servo) functions
- These used commands that are not implemented in the Expansion Hub's firmware
New Features
- Adds
RhspLibErrorCode
andSerialErrorCode
enums - Adds support for getting and setting PIDF coefficients