Ask Your Question
0

publish odometry code

asked 2014-10-14 03:10:09 -0600

mohammad gravatar image

hi everyone

I have two arduino uno boards and i need to connect my encoders to each of them. I have two encoder and i dont want to use shield for them. I use rosserial stack to connect my laptop to arduino. Now i need a code to publish my odometry over ROS which consists of some transitions for use datas on gmapping package (like velocities). Does anyone know a good code?

Thanks too much :))

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-14 16:11:18 -0600

ahendrix gravatar image

You might want to take a look at the differential_drive package.

I haven't used it myself, but it appears to take encoder readings and convert them to odometry and TF messages, and also provides a node to take standard Twist messages and convert them into individual motor commands.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-10-14 03:10:09 -0600

Seen: 747 times

Last updated: Oct 14 '14