sbgisen / vesc

VESC Interface for ROS
Apache License 2.0
41 stars 33 forks source link

Add safety function to servo controller #89

Closed Tacha-S closed 11 months ago

Tacha-S commented 11 months ago

Change Summary

Subscribe ~limit topic, and target position set to detected position. and duty set to 0 when the servo reached to limit. To set duty 0, the servo oscillate near by bound of enternal sensor.

Calibrate servo using the external sensor. (reference #87) If you calibrate with lower limit position, please be aware that starting the system with the upper limit detected is not intended. In addition to, add strict mode to calibration using the external sensor. servo/calibration_strict_current and servo/calibration_strict_duty are added to rosparam. These values will be used for recalibration after initially calibrating with servo/calibration_current or servo/calibration_duty. If not specified, the calibration will only be performed using servo/calibration_current or servo/calibration_duty as before.

Details

Impacts

References

Additional Information