fix: bad throttle pwm parameters
This commit is contained in:
parent
d3071a5abf
commit
1dde1786f6
@ -7,11 +7,13 @@ data:
|
|||||||
################
|
################
|
||||||
# STEERING PWM #
|
# STEERING PWM #
|
||||||
################
|
################
|
||||||
#STEERING_LEFT_PWM: "1092"
|
|
||||||
#STEERING_RIGHT_PWM: "1986"
|
|
||||||
#STEERING_CENTER_PWM: "1583"
|
|
||||||
|
|
||||||
STEERING_LEFT_PWM: "1092"
|
STEERING_LEFT_PWM: "1092"
|
||||||
STEERING_RIGHT_PWM: "1986"
|
STEERING_RIGHT_PWM: "1986"
|
||||||
STEERING_CENTER_PWM: "1583"
|
STEERING_CENTER_PWM: "1583"
|
||||||
|
|
||||||
|
################
|
||||||
|
# THROTTLE PWM #
|
||||||
|
################
|
||||||
|
THROTTLE_MIN_PWM: "1092"
|
||||||
|
THROTTLE_MAX_PWM: "1986"
|
||||||
|
THROTTLE_ZERO_PWM: "1583"
|
||||||
|
@ -189,9 +189,9 @@ spec:
|
|||||||
- "--mqtt-retain=false"
|
- "--mqtt-retain=false"
|
||||||
- "--throttle-channel=1"
|
- "--throttle-channel=1"
|
||||||
- "--steering-channel=0"
|
- "--steering-channel=0"
|
||||||
- "--throttle-zero-pwm=378"
|
- "--throttle-zero-pwm=$(THROTTLE_ZERO_PWM)"
|
||||||
- "--throttle-min-pwm=250"
|
- "--throttle-min-pwm=$(THROTTLE_MIN_PWM)"
|
||||||
- "--throttle-max-pwm=500"
|
- "--throttle-max-pwm=$(THROTTLE_MAX_PWM)"
|
||||||
- "--steering-left-pwm=$(STEERING_LEFT_PWM)"
|
- "--steering-left-pwm=$(STEERING_LEFT_PWM)"
|
||||||
- "--steering-right-pwm=$(STEERING_RIGHT_PWM)"
|
- "--steering-right-pwm=$(STEERING_RIGHT_PWM)"
|
||||||
- "--steering-center-pwm=$(STEERING_CENTER_PWM)"
|
- "--steering-center-pwm=$(STEERING_CENTER_PWM)"
|
||||||
@ -249,6 +249,21 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-pca9685
|
name: robocar-pca9685
|
||||||
key: STEERING_CENTER_PWM
|
key: STEERING_CENTER_PWM
|
||||||
|
- name: THROTTLE_MIN_PWM
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: robocar-pca9685
|
||||||
|
key: THROTTLE_MIN_PWM
|
||||||
|
- name: THROTTLE_MAX_PWM
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: robocar-pca9685
|
||||||
|
key: THROTTLE_MAX_PWM
|
||||||
|
- name: THROTTLE_ZERO_PWM
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: robocar-pca9685
|
||||||
|
key: THROTTLE_ZERO_PWM
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "Europe/Paris"
|
value: "Europe/Paris"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -14,7 +14,7 @@ images:
|
|||||||
newTag: v0.3.0
|
newTag: v0.3.0
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-pca9685
|
- name: docker.io/cyrilix/robocar-pca9685
|
||||||
newTag: v0.5.0-15-g1cc8d07
|
newTag: v0.5.0-18-gcf8965d
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-oak-camera
|
- name: docker.io/cyrilix/robocar-oak-camera
|
||||||
newTag: v0.1.0
|
newTag: v0.1.0
|
Loading…
Reference in New Issue
Block a user