Compare commits

..

No commits in common. "e1602339ee12550cc6e199f639c509d645586b81" and "d1bfafba1a6ca0231c144463d92aaa90a3d030a8" have entirely different histories.

6 changed files with 10 additions and 33 deletions

View File

@ -11,9 +11,3 @@ data:
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"

View File

@ -189,13 +189,13 @@ spec:
- "--mqtt-retain=false" - "--mqtt-retain=false"
- "--throttle-channel=1" - "--throttle-channel=1"
- "--steering-channel=0" - "--steering-channel=0"
- "--throttle-zero-pwm=$(THROTTLE_ZERO_PWM)" - "--throttle-zero-pwm=378"
- "--throttle-min-pwm=$(THROTTLE_MIN_PWM)" - "--throttle-min-pwm=250"
- "--throttle-max-pwm=$(THROTTLE_MAX_PWM)" - "--throttle-max-pwm=500"
- "--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" - "--update-pwm-frequency=10"
- "--log=info" - "--log=info"
securityContext: securityContext:
runAsUser: 1234 runAsUser: 1234
@ -249,21 +249,6 @@ 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:

View File

@ -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.6.0 newTag: v0.5.0
- name: docker.io/cyrilix/robocar-oak-camera - name: docker.io/cyrilix/robocar-oak-camera
newTag: v0.1.0 newTag: v0.1.0

View File

@ -4,8 +4,6 @@ metadata:
name: robocar name: robocar
data: data:
# Broker configuration # Broker configuration
#MQTT_BROKER_HOST: 192.168.217.19
#MQTT_BROKER: "tcp://192.168.217.19:1883"
MQTT_BROKER_HOST: 192.168.2.221 MQTT_BROKER_HOST: 192.168.2.221
MQTT_BROKER: "tcp://192.168.2.221:1883" MQTT_BROKER: "tcp://192.168.2.221:1883"
#MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883" #MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883"

View File

@ -28,9 +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)"
- "-log=debug" - "-log=info"
volumeMounts: volumeMounts:
- mountPath: "/dev/ttyAMA0" - mountPath: "/dev/ttyAMA1"
name: serial name: serial
securityContext: securityContext:
privileged: true privileged: true
@ -96,7 +96,7 @@ spec:
volumes: volumes:
- name: serial - name: serial
hostPath: hostPath:
path: /dev/ttyAMA0 path: /dev/ttyAMA1
type: CharDevice type: CharDevice
--- ---
@ -525,7 +525,7 @@ spec:
image: docker.io/cyrilix/robocar-record image: docker.io/cyrilix/robocar-record
args: args:
- "-mqtt-retain=true" - "-mqtt-retain=true"
- "-debug=true" - "-debug=false"
securityContext: securityContext:
runAsUser: 1234 runAsUser: 1234
runAsGroup: 1234 runAsGroup: 1234

View File

@ -10,7 +10,7 @@ resources:
images: images:
- name: docker.io/cyrilix/robocar-arduino - name: docker.io/cyrilix/robocar-arduino
newTag: v0.6.0-3-gd15a7b5 newTag: v0.6.0
- name: docker.io/cyrilix/robocar-led - name: docker.io/cyrilix/robocar-led
newTag: v0.5.0 newTag: v0.5.0