jfstepha / differential-drive

Automatically exported from code.google.com/p/differential-drive
GNU General Public License v3.0
65 stars 65 forks source link

ROS2 branch #8

Open klintan opened 4 years ago

klintan commented 4 years ago

Hey, I just started a ROS2 conversion of this package, would be awesome if you could create a ROS2 branch to create a PR against. Thanks in advance!

tsadarsh commented 1 year ago

Hi @klintan. Thank you for the port to ROS2. I am currently using it to get the odometry of my wheeled robot. I did the Hardware Setup and I am getting reasonable output from the encoder. I am able to see the values on the serial monitor. How do I publish those values as a ros topic? I am using a Arduino Nano as the microcontroller.

There is no rosserial package for ROS2. So how do I get the serial values to be published in lwheel and 'rwheel`?

Edit: I am running Pop!_OS 22.04 LTS with ROS2 Humble.

tsadarsh commented 1 year ago

I made a package which publishes the encoder ticks as a ROS2 topic. Here it is.