Method: Phidgets::BLDCMotor#getPosition
- Defined in:
- ext/phidgets/phidgets_bldc_motor.c
#getPosition ⇒ Object Also known as: position
The most recent position value that the controller has reported. Position values are calculated using Hall Effect sensors mounted on the motor, therefore, the resolution of position depends on the motor you are using. Units for Position can be set by the user through the RescaleFactor. The RescaleFactor allows you to use more intuitive units such as rotations, or degrees. For more information on how to apply the RescaleFactor to your application, see your controller’s User Guide.
61 62 63 |
# File 'ext/phidgets/phidgets_bldc_motor.c', line 61 VALUE ph_bldc_motor_get_position(VALUE self) { return ph_get_double(get_ph_handle(self), (phidget_get_double_func)PhidgetBLDCMotor_getPosition); } |