Method: Phidgets::DCMotor#getMaxVelocity

Defined in:
ext/phidgets/phidgets_dc_motor.c

#getMaxVelocityObject Also known as: max_velocity

The maximum value that TargetVelocity can be set to. TargetVelocity is bounded by -1×MaxVelocity and MaxVelocity, where a sign change (±) is indicitave of a direction change.



143
144
145
# File 'ext/phidgets/phidgets_dc_motor.c', line 143

VALUE ph_dc_motor_get_max_velocity(VALUE self) {
  return ph_get_double(get_ph_handle(self), (phidget_get_double_func)PhidgetDCMotor_getMaxVelocity);
}