-
Notifications
You must be signed in to change notification settings - Fork 35
Description
What pedal values need to be filled in when you don't want the calibration all the time and just setting the values one time?
I had these values:
define MIN_GAS 10
define MAX_GAS 1015
define MIN_BRAKE 5
define MAX_BRAKE 1015
define MIN_CLUTCH 12
define MAX_CLUTCH 1020
It worked, but I'm not sure if these are the good values. When I go into serial mode, to debug the values I see different confusing values.
For example:
PIN: 18 GAS: 899 MIN: 38 MAX: 925 X VALUE: 993
PIN: 19 BRAKE: 155 MIN: 45 MAX: 811 Y VALUE: 146
PIN: 20 CLUTCH: 122 MIN: 11 MAX: 894 Z VALUE: 128
What do I need to fill in as the max when currently pressed to the max? Just the max value? And why differs the value of "VALUE:" and the value right next to "GAS:" "BRAKE:" "CLUTCH:"
Can you elaborate on these values? In the code I see that the value behind "GAS: " is 'input->cur' and the value behind VALUE: is 'input->axis'. But why they differ I don't understand.