feat: detect objects

This commit is contained in:
Cyrille Nofficial 2022-10-07 14:43:05 +02:00
parent 220162f6f4
commit c6f5f8a185
4 changed files with 37 additions and 9 deletions

View File

@ -17,4 +17,4 @@ images:
newTag: v0.6.4 newTag: v0.6.4
- name: docker.io/cyrilix/robocar-oak-camera - name: docker.io/cyrilix/robocar-oak-camera
newTag: v0.1.0-2-g52c3808 newTag: v0.2.0

View File

@ -115,7 +115,6 @@ metadata:
data: data:
# model to use for steering # model to use for steering
MODEL_STEERING: model_categorical_160x120h0_edgetpu.tflite MODEL_STEERING: model_categorical_160x120h0_edgetpu.tflite
#MODEL_STEERING: model_categorical_160x120h0_edgetpu.tflite
#MODEL_STEERING: model_linear_160x120h40_edgetpu.tflite #MODEL_STEERING: model_linear_160x120h40_edgetpu.tflite
@ -182,3 +181,14 @@ data:
"min_valid": 500, "min_valid": 500,
"data": [ 8700, 4800, 3500, 2550, 1850, 1387, 992, 840, 750, 700, 655, 620, 590, 570, 553, 549, 548 ] "data": [ 8700, 4800, 3500, 2550, 1850, 1387, 992, 840, 750, 700, 655, 620, 590, 570, 553, 549, 548 ]
} }
---
apiVersion: v1
kind: ConfigMap
metadata:
name: throttle
data:
brake.json: |
{
"delta_steps": [ 0.05, 0.3, 0.5 ],
"data": [ -0.1, -0.5, -1.0 ]
}

View File

@ -418,8 +418,10 @@ spec:
- name: throttle - name: throttle
image: docker.io/cyrilix/robocar-throttle image: docker.io/cyrilix/robocar-throttle
args: args:
- "-mqtt-retain=false" - "--mqtt-retain=false"
- "-log=info" - "--enable-brake-feature=true"
- "--brake-configuration=/etc/robocar/brake.json"
- "--log=info"
securityContext: securityContext:
runAsUser: 1234 runAsUser: 1234
runAsGroup: 1234 runAsGroup: 1234
@ -456,6 +458,16 @@ spec:
configMapKeyRef: configMapKeyRef:
key: MQTT_TOPIC_RC_DRIVE_MODE key: MQTT_TOPIC_RC_DRIVE_MODE
name: robocar name: robocar
- name: MQTT_TOPIC_THROTTLE_FEEDBACK
valueFrom:
configMapKeyRef:
name: robocar
key: MQTT_TOPIC_THROTTLE_FEEDBACK
- name: MQTT_TOPIC_STEERING
valueFrom:
configMapKeyRef:
key: MQTT_TOPIC_STEERING
name: robocar
- name: THROTTLE_MIN - name: THROTTLE_MIN
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -470,6 +482,13 @@ spec:
value: "0" value: "0"
- name: TZ - name: TZ
value: "Europe/Paris" value: "Europe/Paris"
volumeMounts:
- mountPath: /etc/robocar
name: throttle-config
volumes:
- name: throttle-config
configMap:
name: throttle
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment

View File

@ -9,17 +9,16 @@ resources:
images: images:
- name: docker.io/cyrilix/robocar-arduino - name: docker.io/cyrilix/robocar-arduino
newTag: v0.8.0-6-gadb38c3 newTag: v0.9.0
- name: docker.io/cyrilix/robocar-led - name: docker.io/cyrilix/robocar-led
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.5.3
newTag: v0.5.0-1-gbc90193
- name: docker.io/cyrilix/robocar-throttle - name: docker.io/cyrilix/robocar-throttle
newTag: v0.5.0 newTag: v0.6.0
- name: docker.io/cyrilix/robocar-record - name: docker.io/cyrilix/robocar-record
newTag: v0.5.1 newTag: v0.5.1
@ -28,7 +27,7 @@ images:
newTag: v0.2.1 newTag: v0.2.1
- name: docker.io/cyrilix/robocar-steering - name: docker.io/cyrilix/robocar-steering
newTag: v0.5.1-24-g424b697 newTag: v0.6.0
- name: docker.io/cyrilix/robocar-road - name: docker.io/cyrilix/robocar-road
newTag: v0.2.0 newTag: v0.2.0