JOYSTICK_MAX_THROTTLE = 1.0
|
CONTROLLER_TYPE = '使用するジョイスティック名'
|
AUTO_RECORD_ON_THROTTLE = False
|
AUTO_CREATE_NEW_TUB = True
|
|
PWM_CENTER = 1520
|
PWM_MIN = PWM_CENTER-420
|
PWM_MAX = PWM_CENTER+420
|
|
DRIVE_TRAIN_TYPE = "PWM_STEERING_THROTTLE"
|
PWM_STEERING_THROTTLE = {
|
"PWM_STEERING_PIN": "PCA9685.1:40.1",
|
"PWM_STEERING_SCALE": 1.0,
|
"PWM_STEERING_INVERTED": False,
|
"PWM_THROTTLE_PIN": "PCA9685.1:40.0",
|
"PWM_THROTTLE_SCALE": 1.0,
|
"PWM_THROTTLE_INVERTED": False,
|
"STEERING_LEFT_PWM": PWM_MIN /(1000000/4096/(1000/16)),
|
"STEERING_RIGHT_PWM": PWM_MAX /(1000000/4096/(1000/16)),
|
"THROTTLE_FORWARD_PWM": PWM_MIN /(1000000/4096/(1000/16)),
|
"THROTTLE_STOPPED_PWM": PWM_CENTER/(1000000/4096/(1000/16)),
|
"THROTTLE_REVERSE_PWM": PWM_MAX /(1000000/4096/(1000/16)),
|
}
|
PWMの数値はフタバ製受信機の出力波形から実測