ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Yes, I think that's essentially correct. The arduino code accepts simple single character commands, and replies back over the serial port. The code is not very complicated.

I just did the same thing you're talking about, I created a new motor_driver.cpp and encoder_driver.cpp file. I just wrote my own readEncoder(), resetEncoder(), resetEncoders(), initMotorController(), setMotorSpeed() and setMotorSpeeds() functions.

-Jon