good config!
This commit is contained in:
@ -7,8 +7,9 @@ data:
|
||||
############################
|
||||
# STEERING PWM - PCA9685 #
|
||||
############################
|
||||
STEERING_PCA9685_LEFT_PWM: "995"
|
||||
STEERING_PCA9685_RIGHT_PWM: "2017"
|
||||
#STEERING_PCA9685_LEFT_PWM: "995"
|
||||
STEERING_PCA9685_LEFT_PWM: "1265"
|
||||
STEERING_PCA9685_RIGHT_PWM: "1650"
|
||||
STEERING_PCA9685_CENTER_PWM: "1440"
|
||||
|
||||
###########################
|
||||
|
@ -108,9 +108,10 @@ spec:
|
||||
- "--image-width=$(CAMERA_WIDTH)"
|
||||
- "--image-height=$(CAMERA_HEIGHT)"
|
||||
- "--objects-threshold=$(THRESHOLD_OBJECTS)"
|
||||
- "--camera-fps=$(CAMERA_FPS)"
|
||||
- "--log=info"
|
||||
securityContext:
|
||||
runAsUser: 1234
|
||||
runAsUser: 0
|
||||
privileged: true
|
||||
volumeMounts:
|
||||
- name: sys
|
||||
@ -149,6 +150,11 @@ spec:
|
||||
configMapKeyRef:
|
||||
key: OBJECTS_THRESHOLD
|
||||
name: robocar-objects
|
||||
- name: CAMERA_FPS
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
key: CAMERA_FPS
|
||||
name: robocar-camera
|
||||
- name: CAMERA_WIDTH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
@ -199,7 +205,7 @@ spec:
|
||||
args:
|
||||
- "--mqtt-retain=false"
|
||||
- "--throttle-channel=15"
|
||||
- "--steering-channel=14"
|
||||
- "--steering-channel=13"
|
||||
- "--throttle-zero-pwm=$(THROTTLE_PCA9685_ZERO_PWM)"
|
||||
- "--throttle-min-pwm=$(THROTTLE_PCA9685_MIN_PWM)"
|
||||
- "--throttle-max-pwm=$(THROTTLE_PCA9685_MAX_PWM)"
|
||||
|
@ -5,16 +5,16 @@ kind: Kustomization
|
||||
namespace: robocar
|
||||
|
||||
resources:
|
||||
- ../common
|
||||
- ../common-car
|
||||
- deployments.yaml
|
||||
- configmap.yaml
|
||||
|
||||
images:
|
||||
- name: docker.io/cyrilix/robocar-camera
|
||||
newTag: v0.3.0
|
||||
newTag: v0.3.1
|
||||
|
||||
- name: docker.io/cyrilix/robocar-pca9685
|
||||
newTag: v0.6.4
|
||||
|
||||
- name: git.cyrilix.bzh/robocars/robocar-oak-camera
|
||||
newTag: v0.2.0-28-g7ebd909
|
||||
newTag: v0.4.0
|
||||
|
Reference in New Issue
Block a user