fix: configure slow drive
This commit is contained in:
parent
8b6ee0cc06
commit
6562036b05
@ -192,7 +192,8 @@ spec:
|
|||||||
- "--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)"
|
||||||
- "--update-pwm-frequency=25"
|
- "--pwm-freq=60"
|
||||||
|
- "--update-pwm-frequency=5"
|
||||||
- "--log=info"
|
- "--log=info"
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1234
|
runAsUser: 1234
|
||||||
|
@ -13,7 +13,7 @@ images:
|
|||||||
newTag: v0.3.0
|
newTag: v0.3.0
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-pca9685
|
- name: docker.io/cyrilix/robocar-pca9685
|
||||||
newTag: v0.6.1
|
newTag: v0.6.3
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-oak-camera
|
- name: docker.io/cyrilix/robocar-oak-camera
|
||||||
newTag: v0.1.0
|
newTag: v0.1.0
|
@ -40,8 +40,9 @@ data:
|
|||||||
############
|
############
|
||||||
# Throttle #
|
# Throttle #
|
||||||
############
|
############
|
||||||
THROTTLE_MIN: "0.25"
|
# Min value to start is 0.12
|
||||||
THROTTLE_MAX: "0.4"
|
THROTTLE_MIN: "0.12"
|
||||||
|
THROTTLE_MAX: "0.12"
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
@ -66,9 +67,9 @@ data:
|
|||||||
#THROTTLE_MIN_PWM: "1092"
|
#THROTTLE_MIN_PWM: "1092"
|
||||||
#THROTTLE_MAX_PWM: "1986"
|
#THROTTLE_MAX_PWM: "1986"
|
||||||
#THROTTLE_ZERO_PWM: "1583"
|
#THROTTLE_ZERO_PWM: "1583"
|
||||||
THROTTLE_MIN_PWM: "967"
|
THROTTLE_MIN_PWM: "960"
|
||||||
THROTTLE_MAX_PWM: "1966"
|
THROTTLE_MAX_PWM: "1949"
|
||||||
THROTTLE_ZERO_PWM: "1460"
|
THROTTLE_ZERO_PWM: "1452"
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
@ -28,6 +28,9 @@ spec:
|
|||||||
- "--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)"
|
||||||
|
- "--throttle-zero-pwm=$(THROTTLE_ZERO_PWM)"
|
||||||
|
- "--throttle-min-pwm=$(THROTTLE_MIN_PWM)"
|
||||||
|
- "--throttle-max-pwm=$(THROTTLE_MAX_PWM)"
|
||||||
- "-log=info"
|
- "-log=info"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/dev/ttyAMA0"
|
- mountPath: "/dev/ttyAMA0"
|
||||||
@ -91,6 +94,22 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-steering-pwm
|
name: robocar-steering-pwm
|
||||||
key: STEERING_CENTER_PWM
|
key: STEERING_CENTER_PWM
|
||||||
|
|
||||||
|
- name: THROTTLE_MIN_PWM
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: robocar-throttle-pwm
|
||||||
|
key: THROTTLE_MIN_PWM
|
||||||
|
- name: THROTTLE_MAX_PWM
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: robocar-throttle-pwm
|
||||||
|
key: THROTTLE_MAX_PWM
|
||||||
|
- name: THROTTLE_ZERO_PWM
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: robocar-throttle-pwm
|
||||||
|
key: THROTTLE_ZERO_PWM
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "Europe/Paris"
|
value: "Europe/Paris"
|
||||||
volumes:
|
volumes:
|
||||||
@ -380,7 +399,7 @@ spec:
|
|||||||
image: docker.io/cyrilix/robocar-throttle
|
image: docker.io/cyrilix/robocar-throttle
|
||||||
args:
|
args:
|
||||||
- "-mqtt-retain=false"
|
- "-mqtt-retain=false"
|
||||||
- "-debug=false"
|
- "-log=info"
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1234
|
runAsUser: 1234
|
||||||
runAsGroup: 1234
|
runAsGroup: 1234
|
||||||
|
@ -10,7 +10,7 @@ resources:
|
|||||||
|
|
||||||
images:
|
images:
|
||||||
- name: docker.io/cyrilix/robocar-arduino
|
- name: docker.io/cyrilix/robocar-arduino
|
||||||
newTag: v0.7.1
|
newTag: v0.8.0
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-led
|
- name: docker.io/cyrilix/robocar-led
|
||||||
newTag: v0.5.1
|
newTag: v0.5.1
|
||||||
@ -19,7 +19,7 @@ images:
|
|||||||
newTag: v0.5.0
|
newTag: v0.5.0
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-throttle
|
- name: docker.io/cyrilix/robocar-throttle
|
||||||
newTag: v0.4.2
|
newTag: v0.5.0
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-record
|
- name: docker.io/cyrilix/robocar-record
|
||||||
newTag: v0.5.1
|
newTag: v0.5.1
|
||||||
|
Loading…
Reference in New Issue
Block a user