Compare commits
No commits in common. "d558415684b7d4a84a4f02ebf61465aab61af518" and "e1602339ee12550cc6e199f639c509d645586b81" have entirely different histories.
d558415684
...
e1602339ee
19
ansible/roles/microservices/files/robocar/car/configmap.yaml
Normal file
19
ansible/roles/microservices/files/robocar/car/configmap.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: robocar-pca9685
|
||||||
|
data:
|
||||||
|
################
|
||||||
|
# STEERING PWM #
|
||||||
|
################
|
||||||
|
STEERING_LEFT_PWM: "1092"
|
||||||
|
STEERING_RIGHT_PWM: "1986"
|
||||||
|
STEERING_CENTER_PWM: "1583"
|
||||||
|
|
||||||
|
################
|
||||||
|
# THROTTLE PWM #
|
||||||
|
################
|
||||||
|
THROTTLE_MIN_PWM: "1092"
|
||||||
|
THROTTLE_MAX_PWM: "1986"
|
||||||
|
THROTTLE_ZERO_PWM: "1583"
|
@ -187,8 +187,8 @@ spec:
|
|||||||
image: docker.io/cyrilix/robocar-pca9685
|
image: docker.io/cyrilix/robocar-pca9685
|
||||||
args:
|
args:
|
||||||
- "--mqtt-retain=false"
|
- "--mqtt-retain=false"
|
||||||
- "--throttle-channel=15"
|
- "--throttle-channel=1"
|
||||||
- "--steering-channel=14"
|
- "--steering-channel=0"
|
||||||
- "--throttle-zero-pwm=$(THROTTLE_ZERO_PWM)"
|
- "--throttle-zero-pwm=$(THROTTLE_ZERO_PWM)"
|
||||||
- "--throttle-min-pwm=$(THROTTLE_MIN_PWM)"
|
- "--throttle-min-pwm=$(THROTTLE_MIN_PWM)"
|
||||||
- "--throttle-max-pwm=$(THROTTLE_MAX_PWM)"
|
- "--throttle-max-pwm=$(THROTTLE_MAX_PWM)"
|
||||||
@ -237,32 +237,32 @@ spec:
|
|||||||
- name: STEERING_LEFT_PWM
|
- name: STEERING_LEFT_PWM
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-steering-pwm
|
name: robocar-pca9685
|
||||||
key: STEERING_LEFT_PWM
|
key: STEERING_LEFT_PWM
|
||||||
- name: STEERING_RIGHT_PWM
|
- name: STEERING_RIGHT_PWM
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-steering-pwm
|
name: robocar-pca9685
|
||||||
key: STEERING_RIGHT_PWM
|
key: STEERING_RIGHT_PWM
|
||||||
- name: STEERING_CENTER_PWM
|
- name: STEERING_CENTER_PWM
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-steering-pwm
|
name: robocar-pca9685
|
||||||
key: STEERING_CENTER_PWM
|
key: STEERING_CENTER_PWM
|
||||||
- name: THROTTLE_MIN_PWM
|
- name: THROTTLE_MIN_PWM
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-throttle-pwm
|
name: robocar-pca9685
|
||||||
key: THROTTLE_MIN_PWM
|
key: THROTTLE_MIN_PWM
|
||||||
- name: THROTTLE_MAX_PWM
|
- name: THROTTLE_MAX_PWM
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-throttle-pwm
|
name: robocar-pca9685
|
||||||
key: THROTTLE_MAX_PWM
|
key: THROTTLE_MAX_PWM
|
||||||
- name: THROTTLE_ZERO_PWM
|
- name: THROTTLE_ZERO_PWM
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: robocar-throttle-pwm
|
name: robocar-pca9685
|
||||||
key: THROTTLE_ZERO_PWM
|
key: THROTTLE_ZERO_PWM
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "Europe/Paris"
|
value: "Europe/Paris"
|
||||||
|
@ -7,6 +7,7 @@ namespace: robocar
|
|||||||
resources:
|
resources:
|
||||||
- ../common
|
- ../common
|
||||||
- deployments.yaml
|
- deployments.yaml
|
||||||
|
- configmap.yaml
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: docker.io/cyrilix/robocar-camera
|
- name: docker.io/cyrilix/robocar-camera
|
||||||
|
@ -57,18 +57,7 @@ data:
|
|||||||
STEERING_LEFT_PWM: "1002"
|
STEERING_LEFT_PWM: "1002"
|
||||||
STEERING_RIGHT_PWM: "1985"
|
STEERING_RIGHT_PWM: "1985"
|
||||||
STEERING_CENTER_PWM: "1491"
|
STEERING_CENTER_PWM: "1491"
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: robocar-throttle-pwm
|
|
||||||
data:
|
|
||||||
################
|
|
||||||
# THROTTLE PWM #
|
|
||||||
################
|
|
||||||
THROTTLE_MIN_PWM: "1092"
|
|
||||||
THROTTLE_MAX_PWM: "1986"
|
|
||||||
THROTTLE_ZERO_PWM: "1583"
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
@ -28,7 +28,7 @@ spec:
|
|||||||
- "--steering-left-pwm=$(STEERING_LEFT_PWM)"
|
- "--steering-left-pwm=$(STEERING_LEFT_PWM)"
|
||||||
- "--steering-right-pwm=$(STEERING_RIGHT_PWM)"
|
- "--steering-right-pwm=$(STEERING_RIGHT_PWM)"
|
||||||
- "--steering-center-pwm=$(STEERING_CENTER_PWM)"
|
- "--steering-center-pwm=$(STEERING_CENTER_PWM)"
|
||||||
- "-log=info"
|
- "-log=debug"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/dev/ttyAMA0"
|
- mountPath: "/dev/ttyAMA0"
|
||||||
name: serial
|
name: serial
|
||||||
|
@ -10,7 +10,7 @@ resources:
|
|||||||
|
|
||||||
images:
|
images:
|
||||||
- name: docker.io/cyrilix/robocar-arduino
|
- name: docker.io/cyrilix/robocar-arduino
|
||||||
newTag: v0.7.0
|
newTag: v0.6.0-3-gd15a7b5
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-led
|
- name: docker.io/cyrilix/robocar-led
|
||||||
newTag: v0.5.0
|
newTag: v0.5.0
|
||||||
@ -19,7 +19,7 @@ images:
|
|||||||
newTag: v0.4.0
|
newTag: v0.4.0
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-throttle
|
- name: docker.io/cyrilix/robocar-throttle
|
||||||
newTag: v0.4.1
|
newTag: v0.4.0
|
||||||
|
|
||||||
- name: docker.io/cyrilix/robocar-record
|
- name: docker.io/cyrilix/robocar-record
|
||||||
newTag: v0.5.0
|
newTag: v0.5.0
|
||||||
|
Loading…
Reference in New Issue
Block a user