diff --git a/pkg/actuator/steering.go b/pkg/actuator/steering.go index 5d9c395..cfd3574 100644 --- a/pkg/actuator/steering.go +++ b/pkg/actuator/steering.go @@ -36,6 +36,7 @@ func (s *Steering) SetPercentValue(p float32) { } else if p < 0 { pulse = util.MapRange(float64(p), LeftAngle, 0, float64(s.leftPWM), float64(s.centerPWM)) } + zap.S().Debugf("convert steering %v to %v", p, pulse) s.SetPulse(pulse) }