Compare commits

...

5 Commits

3 changed files with 15 additions and 13 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/camera/color MQTT_TOPIC_CAMERA: car/satanas/part/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.3" THROTTLE_MIN: "0.25"
THROTTLE_MAX: "0.4" THROTTLE_MAX: "0.4"
--- ---
apiVersion: v1 apiVersion: v1
@ -63,9 +63,12 @@ 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
@ -90,7 +93,9 @@ metadata:
name: robocar-models name: robocar-models
data: data:
# model to use for steering # model to use for steering
MODEL_STEERING: model_160x120h0_edgetpu.tflite #MODEL_STEERING: model_categorical_160x120h20_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,9 +207,6 @@ 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
@ -243,7 +240,7 @@ spec:
- name: MQTT_TOPIC_CAMERA - name: MQTT_TOPIC_CAMERA
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
key: MQTT_TOPIC_CAMERA key: MQTT_TOPIC_CAMERA_OAK_COLOR
name: robocar name: robocar
- name: MQTT_TOPIC_STEERING - name: MQTT_TOPIC_STEERING
valueFrom: valueFrom:
@ -525,7 +522,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
@ -580,7 +577,7 @@ metadata:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
spec: spec:
revisionHistoryLimit: 0 revisionHistoryLimit: 0
replicas: 1 replicas: 0
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.4.1 newTag: v0.5.0
- name: docker.io/cyrilix/robocar-throttle - name: docker.io/cyrilix/robocar-throttle
newTag: v0.4.2 newTag: v0.4.2