LinearActuator

class LinearActuator(val motor: NextMotor, val distPerRotation: Per<DistanceUnit, AngleUnit>)

Wraps a NextMotor and a distance-per-rotation, to work on linear units

Parameters

motor

wrapped NextMotor

distPerRotation

linear distance traveled per one motor rotation

Constructors

Link copied to clipboard
constructor(motor: NextMotor, distPerRotation: Per<DistanceUnit, AngleUnit>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The position of this linear actuator in linear Distance units.

Link copied to clipboard

The position of this linear actuator in inches.

Link copied to clipboard

The position of this linear actuator in motor tick units.

Link copied to clipboard