fix(steering): reverse direction

This commit is contained in:
Cyrille Nofficial committed 2022-06-16 15:34:55 +02:00
1 parent f046bead37
commit 0d183e0f0b
3 files changed
+13 -13

No files matched your search

+2
View File
@@ -128,6 +128,7 @@ func main() {
dev,
throttleChannel,
actuator.PWM(throttleMinPWM), actuator.PWM(throttleMaxPWM), actuator.PWM(throttleStoppedPWM),
-1., 1.,
freq,
zap.S().With("actuator", "throttle"),
)
@@ -139,6 +140,7 @@ func main() {
dev,
steeringChannel,
actuator.PWM(steeringLeftPWM), actuator.PWM(steeringRightPWM), actuator.PWM(steeringCenterPWM),
1., -1.,
freq,
zap.S().With("actuator", "steering"),
)