2022-01-02 16:33:18 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: robocar
|
|
|
|
data:
|
|
|
|
# Broker configuration
|
2022-05-30 12:24:48 +00:00
|
|
|
#MQTT_BROKER_HOST: 192.168.217.19
|
|
|
|
#MQTT_BROKER: "tcp://192.168.217.19:1883"
|
2022-02-19 19:11:41 +00:00
|
|
|
MQTT_BROKER_HOST: 192.168.2.221
|
2022-01-02 16:33:18 +00:00
|
|
|
MQTT_BROKER: "tcp://192.168.2.221:1883"
|
2022-02-19 19:11:41 +00:00
|
|
|
#MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883"
|
2022-01-02 16:33:18 +00:00
|
|
|
|
|
|
|
# Camera
|
2022-01-28 17:07:36 +00:00
|
|
|
MQTT_TOPIC_CAMERA: car/satanas/part/camera/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 #
|
|
|
|
############
|
|
|
|
THROTTLE_MIN: "0.3"
|
|
|
|
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"
|
2022-06-07 16:51:53 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: robocar-throttle-pwm
|
|
|
|
data:
|
|
|
|
################
|
|
|
|
# THROTTLE PWM #
|
|
|
|
################
|
|
|
|
THROTTLE_MIN_PWM: "1092"
|
|
|
|
THROTTLE_MAX_PWM: "1986"
|
|
|
|
THROTTLE_ZERO_PWM: "1583"
|
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"
|