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

How to SLAM Mapping with Ultrasonic Sensors instead of Kinect?

asked 2015-06-05 14:37:34 -0500

hw2016 gravatar image

Hey guys,

I am trying to do the SLAM mapping with an ultrasonic sensor(HC-SR04). It works on my raspberry pi using Python.

I wonder if there is any package I can use to use RViz and gmapping, with my ultrasonic sensor. I do not know how to publish the distance reading information from Raspberry Pi to my turtlebot laptop.


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-10-21 10:27:48 -0500

RiccardoGiubilato gravatar image

Hi! Doing SLAM with just a 1-point range sensor is impossible but you can still do some cheapo mapping, please take a look at the Python code that I wrote at this repo: . Here I have a crius board hooked up to a wheel encoder and an ultrasonic sensor. The crius (based on atmega328) publishes odometry and range data which is used by a Udoo board mounted on the car itself to build an OccupancyGrid.

edit flag offensive delete link more

answered 2023-08-02 22:06:12 -0500

Hello sir, i am working on this too, have you done it successfully? If so, can you share how to do it?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-05 14:37:34 -0500

Seen: 6,716 times

Last updated: Jun 05 '15