320
edits
Line 12: | Line 12: | ||
Some or most Linux distributions will need more work to store these new calibration values, in the way of RULES. However, it seems that Raspbian doesn’t require anymore work. | Some or most Linux distributions will need more work to store these new calibration values, in the way of RULES. However, it seems that Raspbian doesn’t require anymore work. | ||
The above calibration may not adjust for any center dead band. Notice that the calibration values are representing binary numbers in that the maximums are in power of two’s. Except where the maximum value is 1 or -1. It is common to see these values close to 512 or 1024. Consider the values below. To find the maximum value add the RangeMin to the RangeMax. For example; 0 + 1024 = 1024. The first pair of numbers, not considering the axis number, should add up to the maximum value. | The above calibration may not adjust for any center dead band. Notice that the calibration values are representing binary numbers in that the maximums are in power of two’s. Except where the maximum value is 1 or -1. It is common to see these values close to 512 or 1024. Consider the values below. To find the maximum value add the RangeMin to the RangeMax. For example; 0 + 1024 = 1024. Since this scheme starts with 0, not 1, 1022 or 510 might be the maximum value. The first pair of numbers, not considering the axis number, should add up to the maximum value. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 18: | Line 18: | ||
! Axis !! CenterMin !! CenterMax !! RangeMin !! RangeMax | ! Axis !! CenterMin !! CenterMax !! RangeMin !! RangeMax | ||
|- | |- | ||
| 0 || | | 0 || 511 || 511 || 0 || 1022 | ||
|- | |- | ||
| 1 || | | 1 || 511 || 511 || 0 || 1022 | ||
|- | |- | ||
| 2 || | | 2 || 127 || 127 || 0 || 254 | ||
|- | |- | ||
| 3 || | | 3 || 127 || 127 || 0 || 254 | ||
|- | |- | ||
| 4 || 0 || 0 || -1 || 1 | | 4 || 0 || 0 || -1 || 1 | ||
Line 37: | Line 37: | ||
! Axis !! CenterMin !! CenterMax !! RangeMin !! RangeMax | ! Axis !! CenterMin !! CenterMax !! RangeMin !! RangeMax | ||
|- | |- | ||
| 0 || | | 0 || 491 || 531 || 20 || 1002 | ||
|- | |- | ||
| 1 || | | 1 || 491 || 531 || 20 || 1002 | ||
|- | |- | ||
| 2 || | | 2 || 117 || 137 || 10 || 254 | ||
|- | |- | ||
| 3 || | | 3 || 117 || 137 || 10 || 254 | ||
|- | |- | ||
| 4 || 0 || 0 || -1 || 1 | | 4 || 0 || 0 || -1 || 1 |
edits