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"
# 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
@ -40,7 +40,7 @@ data:
############
# Throttle #
############
THROTTLE_MIN: "0.3"
THROTTLE_MIN: "0.25"
THROTTLE_MAX: "0.4"
---
apiVersion: v1
@ -63,9 +63,12 @@ data:
################
# THROTTLE PWM #
################
THROTTLE_MIN_PWM: "1092"
THROTTLE_MAX_PWM: "1986"
THROTTLE_ZERO_PWM: "1583"
#THROTTLE_MIN_PWM: "1092"
#THROTTLE_MAX_PWM: "1986"
#THROTTLE_ZERO_PWM: "1583"
THROTTLE_MIN_PWM: "967"
THROTTLE_MAX_PWM: "1966"
THROTTLE_ZERO_PWM: "1460"
---
apiVersion: v1
kind: ConfigMap
@ -90,7 +93,9 @@ metadata:
name: robocar-models
data:
# 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_STEERING4: model_160x120h20_edgetpu.tflite
MODEL_STEERING2: model-sim-bigimg_edgetpu.tflite

View File

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

View File

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