How to get the wheel odometry
I have a wheel that use Two Channel Hall Effect.
I want to read the encoder to ROS to do SLAM but I have a question.
How to read data to ROS system? arduino or others method?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I have a wheel that use Two Channel Hall Effect.
I want to read the encoder to ROS to do SLAM but I have a question.
How to read data to ROS system? arduino or others method?
To get encoder ticks, you can connect the encoders to an Arduino, among many other ways. You will find a lot of help to write a script online. One example is: https://github.com/centauri-robotics/...
To connect arduino and ROS via serial communication, checkout: http://wiki.ros.org/rosserial_arduino...
For odometry calculations checkout: http://wiki.ros.org/navigation/Tutori... or
https://github.com/centauri-robotics/...
You can find a lot of relevant help at http://wiki.ros.org/navigation/
In future, try to break down your questions and search for it, a lot of these questions already have good answers
Is it possible to connect the hall sensors directly to a motor controller such as the RoboClaw Driver?
Asked: 2020-08-13 02:08:39 -0500
Seen: 1,302 times
Last updated: Aug 13 '20
You can publish your data to ROS irrespective of which embedded board do you use. Control the motor get the rpm and publish it into ROS. In case of Arduino have a look at Arduino pacakge. There are plenty of tutorials for that package as well.