Compare commits
No commits in common. "eeccf8122a0cc1a0b3ad297b23f6c9e838981f09" and "daa6861b07046d6fa8e057d5f94e2f6d0ab9e789" have entirely different histories.
eeccf8122a
...
daa6861b07
@ -103,12 +103,11 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: camera
|
- name: camera
|
||||||
image: git.cyrilix.bzh/robocars/robocar-oak-camera
|
image: docker.io/cyrilix/robocar-oak-camera
|
||||||
args:
|
args:
|
||||||
- "--image-width=$(CAMERA_WIDTH)"
|
- "--image-width=$(CAMERA_WIDTH)"
|
||||||
- "--image-height=$(CAMERA_HEIGHT)"
|
- "--image-height=$(CAMERA_HEIGHT)"
|
||||||
- "--objects-threshold=$(THRESHOLD_OBJECTS)"
|
- "--objects-threshold=$(THRESHOLD_OBJECTS)"
|
||||||
- "--log=info"
|
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1234
|
runAsUser: 1234
|
||||||
privileged: true
|
privileged: true
|
||||||
@ -147,7 +146,7 @@ spec:
|
|||||||
- name: THRESHOLD_OBJECTS
|
- name: THRESHOLD_OBJECTS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
key: OBJECTS_THRESHOLD
|
key: THRESHOLD
|
||||||
name: robocar-objects
|
name: robocar-objects
|
||||||
- name: CAMERA_WIDTH
|
- name: CAMERA_WIDTH
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -16,5 +16,5 @@ images:
|
|||||||
- name: docker.io/cyrilix/robocar-pca9685
|
- name: docker.io/cyrilix/robocar-pca9685
|
||||||
newTag: v0.6.4
|
newTag: v0.6.4
|
||||||
|
|
||||||
- name: git.cyrilix.bzh/robocars/robocar-oak-camera
|
- name: docker.io/cyrilix/robocar-oak-camera
|
||||||
newTag: v0.2.0-28-g7ebd909
|
newTag: v0.2.0
|
@ -46,21 +46,8 @@ data:
|
|||||||
############
|
############
|
||||||
# Throttle #
|
# Throttle #
|
||||||
############
|
############
|
||||||
|
THROTTLE_MIN: "0.2"
|
||||||
## For manual driving
|
THROTTLE_MAX: "0.3"
|
||||||
#####################
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -141,6 +128,7 @@ data:
|
|||||||
MODEL_IMAGE_WIDTH: "160"
|
MODEL_IMAGE_WIDTH: "160"
|
||||||
MODEL_IMAGE_HEIGHT: "120"
|
MODEL_IMAGE_HEIGHT: "120"
|
||||||
HORIZON: "20"
|
HORIZON: "20"
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
@ -185,11 +173,8 @@ data:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: robocar-objects
|
name: android
|
||||||
data:
|
data:
|
||||||
OBJECTS_THRESHOLD: "0.2"
|
|
||||||
|
|
||||||
# To delete?
|
|
||||||
thresholds.json: |
|
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 ],
|
"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
|
type: CharDevice
|
||||||
- name: robocar
|
- name: robocar
|
||||||
configMap:
|
configMap:
|
||||||
name: robocar-objects
|
name: android
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
@ -321,7 +321,7 @@ spec:
|
|||||||
- "-mqtt-retain=false"
|
- "-mqtt-retain=false"
|
||||||
- "--image-width=$(IMAGE_WIDTH)"
|
- "--image-width=$(IMAGE_WIDTH)"
|
||||||
- "--image-height=$(IMAGE_HEIGHT)"
|
- "--image-height=$(IMAGE_HEIGHT)"
|
||||||
- "--enable-objects-correction=false"
|
- "--enable-objects-correction=true"
|
||||||
- "--enable-objects-correction-user=false"
|
- "--enable-objects-correction-user=false"
|
||||||
- "--grid-map-config=/etc/robocar/grid.json"
|
- "--grid-map-config=/etc/robocar/grid.json"
|
||||||
- "--objects-move-factors-config=/etc/robocar/omf.json"
|
- "--objects-move-factors-config=/etc/robocar/omf.json"
|
||||||
|
@ -3,7 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
|
||||||
- deployments.yaml
|
- deployments.yaml
|
||||||
- services.yaml
|
- services.yaml
|
||||||
- configmap.yaml
|
- configmap.yaml
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: robocar
|
|
@ -3,7 +3,6 @@ apiVersion: v1
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: mqtt-credentials
|
name: mqtt-credentials
|
||||||
namespace: robocar
|
|
||||||
stringData:
|
stringData:
|
||||||
MQTT_USERNAME: satanas
|
MQTT_USERNAME: satanas
|
||||||
MQTT_PASSWORD: satanas
|
MQTT_PASSWORD: satanas
|
||||||
|
@ -3,7 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
|
||||||
- https://github.com/stakater/Reloader/deployments/kubernetes
|
- https://github.com/stakater/Reloader/deployments/kubernetes
|
||||||
|
|
||||||
namespace: reloader
|
namespace: reloader
|
@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: reloader
|
|
Loading…
Reference in New Issue
Block a user