A simple ROS Control Hardware Interface for differential drive control of robot whose motors are connected via an Arduino (or similar microcontroller).
BSD 3-Clause "New" or "Revised" License
76
stars
100
forks
source link
enc_counts_per_rev parameter changed to enc_counts_per_rev_l/r #9
Feature that allows the user to configure a different cpr for each motor.
In this way, when the two motors have different cpr values and spin with different velocities for a closed-loop command with the same value for both motors (i.e. "m 50 50"), the user will be able to fix that and give each motor its corresponding cpr value.
This feature will also help to improve odom issues as, if motors have very different cpr but are set with the same cpr value, it will be impossible to get good odom measurements.
Feature that allows the user to configure a different cpr for each motor.
In this way, when the two motors have different cpr values and spin with different velocities for a closed-loop command with the same value for both motors (i.e. "m 50 50"), the user will be able to fix that and give each motor its corresponding cpr value.
This feature will also help to improve odom issues as, if motors have very different cpr but are set with the same cpr value, it will be impossible to get good odom measurements.