18684092 / Steering-Wheel-Project

Haptic Steering Wheel
MIT License
13 stars 2 forks source link

Centring wheel fails if degrees of rotation set #2

Open 18684092 opened 4 years ago

18684092 commented 4 years ago

Degrees of rotation seems to scale x axis value which makes centring fail.

ie, when degrees of rotation is 900 then full x axis travel is -32768 to 32767 but when degrees of rotation is 300 min max travel is the same meaning 1 unit of travel is now 3 times further.

Need to read what the driver has set degrees of rotation to and then scale accordingly.

Work around for now is that degrees of rotation is left at maximum 900