mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Parameters (markdown)
@@ -53,7 +53,7 @@ DEFAULT_STEER_COEFFICIENT and DEFAULT_SPEED_COEFFIENT parameters can be used to
|
|||||||
The default value for the speed coefficient is 16384 in fixed-point, which corresponds to 1.0 in single precision, it means INPUT2 is not scaled.<br>
|
The default value for the speed coefficient is 16384 in fixed-point, which corresponds to 1.0 in single precision, it means INPUT2 is not scaled.<br>
|
||||||
A value of 8192 in fixed-point means the input value is multiplied by 0.5.<br>
|
A value of 8192 in fixed-point means the input value is multiplied by 0.5.<br>
|
||||||
A value of 32767 in fixed-point means the input value is multiplied by 2.<br>
|
A value of 32767 in fixed-point means the input value is multiplied by 2.<br>
|
||||||
A value higher than 32767 in fixed-point means the coefficient is negative(e.g. NUNCHUK variant as a negative STEER_COEFFICIENT).<br>
|
A value higher than 32767 in fixed-point means the coefficient is negative(e.g. NUNCHUK variant has a negative STEER_COEFFICIENT).<br>
|
||||||
|
|
||||||
After the coefficients have been applied, Steer and Speed value are mixed to control left and right motor.<br>
|
After the coefficients have been applied, Steer and Speed value are mixed to control left and right motor.<br>
|
||||||
If you don't need steering, you can define STEER_COEFFICIENT parameter as 0, it will overwrite DEFAULT_STEER_COEFFICIENT.
|
If you don't need steering, you can define STEER_COEFFICIENT parameter as 0, it will overwrite DEFAULT_STEER_COEFFICIENT.
|
||||||
|
Reference in New Issue
Block a user