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

what kind of wheel encoder for vehicle supporting ROS?

asked 2018-09-12 21:04:14 -0600

wings0728 gravatar image

I need a wheel encoder for automatic drive car but I can`t find any product supporting ROS... Who can recommend one?

edit retag flag offensive close merge delete

Comments

Any encoder should do, you just need to track the ticks to calculate velocity and publish that as a Twist message

stevemacenski gravatar image stevemacenski  ( 2018-09-12 21:12:12 -0600 )edit
1

publish that as a Twist message

Not an expert, but aren't Twists typically for command input, not for state feedback?

Wouldn't Odom be better in this case?

gvdhoorn gravatar image gvdhoorn  ( 2018-09-13 01:06:14 -0600 )edit

Agreed, you are correct. A nav_msgs/Odometry message is perfect. You can integrate ticks for the position part of the message and the velocity estimation for the velocity section.

stevemacenski gravatar image stevemacenski  ( 2018-09-13 12:35:46 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-09-13 08:29:17 -0600

Muskman gravatar image

You can use the HighSpeed PhidgetEncoder along with the phidgets_drivers package. You could also write a small node for any general encoder that sends data to a serial port of the computer, refer to this answer for more details.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-09-12 21:04:14 -0600

Seen: 145 times

Last updated: Sep 13 '18