Method: Phidgets::BLDCMotor#setAcceleration

Defined in:
ext/phidgets/phidgets_bldc_motor.c

#setAcceleration(acceleration) ⇒ Object Also known as: acceleration=

The rate at which the controller can change the motor’s Velocity. The acceleration is bounded by MinAccleration and MaxAcceleration.



19
20
21
22
# File 'ext/phidgets/phidgets_bldc_motor.c', line 19

VALUE ph_bldc_motor_set_acceleration(VALUE self, VALUE accel) {
  ph_raise(PhidgetBLDCMotor_setAcceleration((PhidgetBLDCMotorHandle)get_ph_handle(self), NUM2DBL(accel)));
  return Qnil;
}