DRIVE_TRAIN_TYPE = "PWM_STEERING_THROTTLE"
|
PWM_STEERING_THROTTLE = {
|
"PWM_STEERING_PIN": "PIGPIO.BCM.13",
|
"PWM_STEERING_SCALE": 1.0,
|
"PWM_STEERING_INVERTED": False,
|
"PWM_THROTTLE_PIN": "PIGPIO.BCM.18",
|
"PWM_THROTTLE_SCALE": 1.0,
|
"PWM_THROTTLE_INVERTED": False,
|
"STEERING_LEFT_PWM": PWM_MIN /(1000000/4096/(1000/20)),
|
"STEERING_RIGHT_PWM": PWM_MAX /(1000000/4096/(1000/20)),
|
"THROTTLE_FORWARD_PWM": PWM_MIN /(1000000/4096/(1000/20)),
|
"THROTTLE_STOPPED_PWM": PWM_CENTER/(1000000/4096/(1000/20)),
|
"THROTTLE_REVERSE_PWM": PWM_MAX /(1000000/4096/(1000/20)),
|
}
|