Homec4science

[Firmware] clarified meaning of Hall and encoder

Authored by rbaud on Mar 19 2017, 15:56.

Description

[Firmware] clarified meaning of Hall and encoder

-hall_Get(): renamed to hall_GetVoltage() and changed the documentation to
make it more clear. The voltage returned now corresponds to the Hall output
pin, not the ADC pin, which was not meaningful.
-Renamed hapt_motorPosCod to hapt_encoderPaddleAngle, in order to avoid a
confusion between motor shaft angle and paddle angle.
-enc_GetPosition() now returns the motor shaft angle, instead of the
paddle angle. The conversion to paddle angle is performed in
haptic_controller.

Details

Committed
rbaudMar 19 2017, 17:14
Pushed
rbaudMar 20 2017, 18:06
Parents
R2671:626d1ac1d911: Added Apache license to the project
Branches
Unknown
Tags
Unknown