Deadwheel
Wraps a motor instance to provide corrected velocity counts and allow reversing independently of the corresponding slot's motor direction
Since
1.0.0-pre
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Uses velocity estimates gathered in getCurrentPosition to estimate the upper bits of velocity that are lost in overflow due to velocity being transmitted as 16 bits.
Link copied to clipboard
Gets the position from the underlying motor and adjusts for the set direction.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the velocity directly from the underlying motor and compensates for the direction See getCorrectedVelocity for high (>2^15) counts per second velocities (such as on REV Through Bore)
Link copied to clipboard
Link copied to clipboard