Compare commits

..

No commits in common. "8b6ee0cc06669d71860e2c76ac99896c71274afe" and "4663a545df2185a0b20f72b34f96a2a93cd95181" have entirely different histories.

3 changed files with 13 additions and 15 deletions

View File

@ -8,7 +8,7 @@ data:
MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883" MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883"
# Camera # Camera
MQTT_TOPIC_CAMERA: car/satanas/part/camera/color MQTT_TOPIC_CAMERA: car/satanas/part/camera/camera/color
MQTT_TOPIC_CAMERA_OAK_COLOR: car/satanas/part/camera/color MQTT_TOPIC_CAMERA_OAK_COLOR: car/satanas/part/camera/color
@ -40,7 +40,7 @@ data:
############ ############
# Throttle # # Throttle #
############ ############
THROTTLE_MIN: "0.25" THROTTLE_MIN: "0.3"
THROTTLE_MAX: "0.4" THROTTLE_MAX: "0.4"
--- ---
apiVersion: v1 apiVersion: v1
@ -63,12 +63,9 @@ data:
################ ################
# THROTTLE PWM # # THROTTLE PWM #
################ ################
#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_MAX_PWM: "1966"
THROTTLE_ZERO_PWM: "1460"
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
@ -93,9 +90,7 @@ metadata:
name: robocar-models name: robocar-models
data: data:
# model to use for steering # model to use for steering
#MODEL_STEERING: model_categorical_160x120h20_edgetpu.tflite MODEL_STEERING: model_160x120h0_edgetpu.tflite
MODEL_STEERING: model_linear_160x120h20_edgetpu.tflite
MODEL_STEERING5: model_160x120h0_edgetpu.tflite
MODEL_STEERING3: model_edgetpu.tflite MODEL_STEERING3: model_edgetpu.tflite
MODEL_STEERING4: model_160x120h20_edgetpu.tflite MODEL_STEERING4: model_160x120h20_edgetpu.tflite
MODEL_STEERING2: model-sim-bigimg_edgetpu.tflite MODEL_STEERING2: model-sim-bigimg_edgetpu.tflite

View File

@ -207,6 +207,9 @@ spec:
args: args:
- "--model=/model/$(MODEL_STEERING)" - "--model=/model/$(MODEL_STEERING)"
- "--edge-verbosity=0" - "--edge-verbosity=0"
- "--img-width=$(MODEL_IMAGE_WIDTH)"
- "--img-height=$(MODEL_IMAGE_HEIGHT)"
- "--horizon=$(HORIZON)"
- "--log=info" - "--log=info"
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
@ -240,7 +243,7 @@ spec:
- name: MQTT_TOPIC_CAMERA - name: MQTT_TOPIC_CAMERA
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
key: MQTT_TOPIC_CAMERA_OAK_COLOR key: MQTT_TOPIC_CAMERA
name: robocar name: robocar
- name: MQTT_TOPIC_STEERING - name: MQTT_TOPIC_STEERING
valueFrom: valueFrom:
@ -522,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=false" - "-debug=true"
securityContext: securityContext:
runAsUser: 1234 runAsUser: 1234
runAsGroup: 1234 runAsGroup: 1234
@ -577,7 +580,7 @@ metadata:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
spec: spec:
revisionHistoryLimit: 0 revisionHistoryLimit: 0
replicas: 0 replicas: 1
strategy: strategy:
type: Recreate type: Recreate
selector: selector:

View File

@ -16,7 +16,7 @@ images:
newTag: v0.5.1 newTag: v0.5.1
- name: docker.io/cyrilix/robocar-steering-tflite-edgetpu - name: docker.io/cyrilix/robocar-steering-tflite-edgetpu
newTag: v0.5.0 newTag: v0.4.1
- name: docker.io/cyrilix/robocar-throttle - name: docker.io/cyrilix/robocar-throttle
newTag: v0.4.2 newTag: v0.4.2