Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
joystick-options [2017/02/20 07:33] 99.174.81.42 |
joystick-options [2017/02/22 00:44] (current) 99.174.81.42 reformat for readability |
||
---|---|---|---|
Line 4: | Line 4: | ||
| joystick.[[module-name]].refresh_rate | 10 | Sets how many times per second to update the joystick reading | | | joystick.[[module-name]].refresh_rate | 10 | Sets how many times per second to update the joystick reading | | ||
| joystick.[[module-name]].zero_offset | 1.65 | Sets what voltage will map to zero output | | | joystick.[[module-name]].zero_offset | 1.65 | Sets what voltage will map to zero output | | ||
- | | joystick.[[module-name]].endpoint | 3.3 | Sets what voltage will map to +/- 1. If <kbd>endpoint</kbd> is greater than <kbd>zero_offset</kbd>, it specifies what voltage maps to 1, if <kbd>endpoint</kbd> is less than <kbd>zero_offset</kbd>, it specifies what voltage maps to -1 | | + | | joystick.[[module-name]].endpoint | 3.3 | Sets what voltage will map to +/- 1 \\ If <kbd>endpoint</kbd> is greater than <kbd>zero_offset</kbd>, it specifies what voltage maps to 1 \\ If <kbd>endpoint</kbd> is less than <kbd>zero_offset</kbd>, it specifies what voltage maps to -1 | |
^ Auto-Zero Configurations ^ | ^ Auto-Zero Configurations ^ | ||
| joystick.[[module-name]].auto_zero | true | If true, enables the auto-zeroing feature, which automatically determines the <kbd>zero_offset</kbd> | | | joystick.[[module-name]].auto_zero | true | If true, enables the auto-zeroing feature, which automatically determines the <kbd>zero_offset</kbd> | | ||
- | | joystick.[[module-name]].startup_time | 1000 | Sets how long (in milliseconds) after SmoothieBoard resets to obtain readings to average for <kbd>zero_offset</kbd>. It must be at least 1000/<kbd>refresh_rate</kbd>, but shouldn't be too long, otherwise the joystick might be moved during the measurement. | | + | | joystick.[[module-name]].startup_time | 1000 | Sets how long (in milliseconds) after SmoothieBoard resets to obtain readings to average for <kbd>zero_offset</kbd> \\ It must be at least 1000 / <kbd>refresh_rate</kbd>, but shouldn't be too long, \\ otherwise the joystick might be moved during the measurement. | |
| joystick.[[module-name]].start_value | 0 | Sets the default value of the joystick output during the startup time. Should be between -1 and 1 | | | joystick.[[module-name]].start_value | 0 | Sets the default value of the joystick output during the startup time. Should be between -1 and 1 | |