smartsystemslab-uf / ROS-ArloRobot

Repository for ROS modules related to research with the Arlo Robot.
GNU General Public License v3.0
2 stars 3 forks source link

Refactor for XY-16D Motor Controllors #13

Closed mxpanoff closed 5 months ago

mxpanoff commented 5 months ago

Need a function for ROS to call via callback that accepts a single value (-100<->100) and sets the duty cycle of a PWM output to match that percentage and sets the control logic GPIOs to have the motor go forwards or backwards based on the sign