robocar-setup/ansible/roles/microservices/files/robocar/common/configmap.yaml

112 lines
2.2 KiB
YAML
Raw Normal View History

2022-01-02 16:33:18 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
name: robocar
data:
# Broker configuration
MQTT_BROKER_HOST: mqtt.robocar.svc.cluster.local
MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883"
2022-01-02 16:33:18 +00:00
# Camera
2022-06-10 14:05:36 +00:00
MQTT_TOPIC_CAMERA: car/satanas/part/camera/color
MQTT_TOPIC_CAMERA_OAK_COLOR: car/satanas/part/camera/color
2022-01-02 16:33:18 +00:00
# Radio command
MQTT_TOPIC_RC_THROTTLE: car/satanas/part/rc/throttle
MQTT_TOPIC_RC_STEERING: car/satanas/part/rc/steering
MQTT_TOPIC_RC_SWITCH_RECORD: car/satanas/part/rc/switch_record
MQTT_TOPIC_RC_DRIVE_MODE: car/satanas/part/rc/drive_mode
MQTT_TOPIC_TF_STEERING: car/satanas/part/tflite/steering
# Values to apply
MQTT_TOPIC_THROTTLE: car/satanas/part/throttle
MQTT_TOPIC_STEERING: car/satanas/part/steering
# Road detection
MQTT_TOPIC_ROAD: car/satanas/part/road
# Records topic
MQTT_TOPIC_RECORDS: car/satanas/part/records
---
apiVersion: v1
kind: ConfigMap
metadata:
name: robocar-throttle
data:
############
# Throttle #
############
2022-06-10 14:07:51 +00:00
THROTTLE_MIN: "0.25"
2022-01-02 16:33:18 +00:00
THROTTLE_MAX: "0.4"
2022-01-28 17:05:36 +00:00
---
apiVersion: v1
kind: ConfigMap
metadata:
name: robocar-steering-pwm
data:
################
# STEERING PWM #
################
STEERING_LEFT_PWM: "1002"
STEERING_RIGHT_PWM: "1985"
STEERING_CENTER_PWM: "1491"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: robocar-throttle-pwm
data:
################
# THROTTLE PWM #
################
2022-06-10 14:07:51 +00:00
#THROTTLE_MIN_PWM: "1092"
#THROTTLE_MAX_PWM: "1986"
#THROTTLE_ZERO_PWM: "1583"
THROTTLE_MIN_PWM: "967"
THROTTLE_MAX_PWM: "1966"
THROTTLE_ZERO_PWM: "1460"
2022-01-02 16:33:18 +00:00
---
apiVersion: v1
kind: ConfigMap
metadata:
name: robocar-camera
data:
##########
# Camera #
##########
2CAMERA_WIDTH: "160"
2CAMERA_HEIGHT: "128"
CAMERA_WIDTH: "160"
CAMERA_HEIGHT: "120"
MQTT_CAMERA_PUB_FREQUENCY: "30"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: robocar-models
data:
# model to use for steering
2022-02-19 19:11:41 +00:00
MODEL_STEERING: model_160x120h0_edgetpu.tflite
2022-01-02 16:33:18 +00:00
MODEL_STEERING3: model_edgetpu.tflite
2022-02-19 19:11:41 +00:00
MODEL_STEERING4: model_160x120h20_edgetpu.tflite
2022-01-02 16:33:18 +00:00
MODEL_STEERING2: model-sim-bigimg_edgetpu.tflite
MODEL_IMAGE_WIDTH: "160"
MODEL_IMAGE_HEIGHT: "120"
HORIZON: "20"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: robocar-road
data:
HORIZON: "20"