Compare commits
5 Commits
daa6861b07
...
eeccf8122a
Author | SHA1 | Date | |
---|---|---|---|
eeccf8122a | |||
330345e202 | |||
6e543d36e4 | |||
b6879da90e | |||
70b26e1337 |
@ -103,11 +103,12 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: camera
|
||||
image: docker.io/cyrilix/robocar-oak-camera
|
||||
image: git.cyrilix.bzh/robocars/robocar-oak-camera
|
||||
args:
|
||||
- "--image-width=$(CAMERA_WIDTH)"
|
||||
- "--image-height=$(CAMERA_HEIGHT)"
|
||||
- "--objects-threshold=$(THRESHOLD_OBJECTS)"
|
||||
- "--log=info"
|
||||
securityContext:
|
||||
runAsUser: 1234
|
||||
privileged: true
|
||||
@ -146,7 +147,7 @@ spec:
|
||||
- name: THRESHOLD_OBJECTS
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
key: THRESHOLD
|
||||
key: OBJECTS_THRESHOLD
|
||||
name: robocar-objects
|
||||
- name: CAMERA_WIDTH
|
||||
valueFrom:
|
||||
|
@ -16,5 +16,5 @@ images:
|
||||
- name: docker.io/cyrilix/robocar-pca9685
|
||||
newTag: v0.6.4
|
||||
|
||||
- name: docker.io/cyrilix/robocar-oak-camera
|
||||
newTag: v0.2.0
|
||||
- name: git.cyrilix.bzh/robocars/robocar-oak-camera
|
||||
newTag: v0.2.0-28-g7ebd909
|
||||
|
@ -46,8 +46,21 @@ data:
|
||||
############
|
||||
# Throttle #
|
||||
############
|
||||
THROTTLE_MIN: "0.2"
|
||||
THROTTLE_MAX: "0.3"
|
||||
|
||||
## For manual driving
|
||||
#####################
|
||||
# THROTTLE_MIN: "0.10"
|
||||
# THROTTLE_MAX: "0.12"
|
||||
|
||||
## Secure auto-pilot
|
||||
####################
|
||||
THROTTLE_MIN: "0.10"
|
||||
THROTTLE_MAX: "0.12"
|
||||
|
||||
## Speed auto-pilot
|
||||
###################
|
||||
# THROTTLE_MIN: "0.11"
|
||||
# THROTTLE_MAX: "0.13"
|
||||
|
||||
|
||||
---
|
||||
@ -128,7 +141,6 @@ data:
|
||||
MODEL_IMAGE_WIDTH: "160"
|
||||
MODEL_IMAGE_HEIGHT: "120"
|
||||
HORIZON: "20"
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
@ -173,8 +185,11 @@ data:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: android
|
||||
name: robocar-objects
|
||||
data:
|
||||
OBJECTS_THRESHOLD: "0.2"
|
||||
|
||||
# To delete?
|
||||
thresholds.json: |
|
||||
{
|
||||
"threshold_steps": [ 0.07, 0.08, 0.09, 0.1, 0.125, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 ],
|
||||
|
@ -107,7 +107,7 @@ spec:
|
||||
type: CharDevice
|
||||
- name: robocar
|
||||
configMap:
|
||||
name: android
|
||||
name: robocar-objects
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
@ -321,7 +321,7 @@ spec:
|
||||
- "-mqtt-retain=false"
|
||||
- "--image-width=$(IMAGE_WIDTH)"
|
||||
- "--image-height=$(IMAGE_HEIGHT)"
|
||||
- "--enable-objects-correction=true"
|
||||
- "--enable-objects-correction=false"
|
||||
- "--enable-objects-correction-user=false"
|
||||
- "--grid-map-config=/etc/robocar/grid.json"
|
||||
- "--objects-move-factors-config=/etc/robocar/omf.json"
|
||||
|
@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- deployments.yaml
|
||||
- services.yaml
|
||||
- configmap.yaml
|
||||
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: robocar
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: mqtt-credentials
|
||||
namespace: robocar
|
||||
stringData:
|
||||
MQTT_USERNAME: satanas
|
||||
MQTT_PASSWORD: satanas
|
||||
|
@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- https://github.com/stakater/Reloader/deployments/kubernetes
|
||||
|
||||
namespace: reloader
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: reloader
|
Loading…
Reference in New Issue
Block a user