Gazebo | Ignition | Community
Ask Your Question

How to set path between 2 points and make robot to take sensor data while moving on it ?

asked 2013-02-13 20:22:10 -0500

amit gravatar image


I have created a basic world model with cylinders and boxes as obstacles. I am using Pioneer robot. I want to make a path between a start point and an end point (random points in the world) and want the robot to move on the path and get the sensor data. I was thinking to use Sonar data but I guess laser or IR would work too. I have no clue how to proceed and what to do.

I am trying implement Kalman Filter for Robot Localization. For that I need to get the data from the world, then add noise to it and then use Kalman filter to estimate the actual data from the noisy data. I am stuck at the very first step.

What shall I do to proceed ? Do I need to install ROS ? I have installed only Gazebo on my Ubuntu. Is that good enough ?

I am new to Gazebo and perhaps the only one to use Gazebo in my university. Please pardon me if my questions are very trivial and stupid.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-14 15:09:40 -0500

updated 2013-02-14 15:11:46 -0500

Well, to accomplish these tasks you need some lines of code...

I think that ROS/GazeboSim is the best alternative to accomplish these tasks. You will need to learn how to use path planning (deliberative navigation) and reactive navigation. There are some stacks in ROS that will facilitate your job. Take a look in motion planning (OMPL stack) and navigation stack Motion planners and Stack navigation

If your environment is static, probably you know the "map" of environment and you can use a motion planning algorithm to compute the path between the two points. Once the path was planned the next step is execute the actions that will take the robot until the target. So you can collect data sensors using ros-enabled model plugins . Take a look: Gazebo tutorials and ROS-Enabled Plugins

edit flag offensive delete link more



Thanks Daniel, I will try these and let you know if I have any problem.

amit gravatar imageamit ( 2013-02-14 20:25:29 -0500 )edit

Welcome to gazebo simulator and mobile robotics world!

Daniel Vaz gravatar imageDaniel Vaz ( 2013-02-15 03:16:46 -0500 )edit

@ Daniel Vaz : Hi Daniel, I went through the links you suggested. However, I still don't know how to move the robot from one point to another. Can you please tell me the best place where I can find the instructions for moving a pioneer robot ? Is there a code snippet I can look at to get an idea ? Please help. Thanks.

amit gravatar imageamit ( 2013-03-22 10:38:12 -0500 )edit

Try to follow the tutorial:

First learn what is doing with turtle bot, how and when things happens. After try to do it for Pioneer.

Daniel Vaz gravatar imageDaniel Vaz ( 2013-03-22 10:44:06 -0500 )edit

Thanks Daniel...

amit gravatar imageamit ( 2013-03-22 15:14:20 -0500 )edit

Hello sir..I am also starting to work on ros +gazebo,I am also need guidance to interface an external camera with simulator? how to access external network camera access with gazebo and ros...? please I need guidance sir..kindly help me ..

madhu gravatar imagemadhu ( 2016-11-24 08:09:45 -0500 )edit

Question Tools

1 follower


Asked: 2013-02-13 20:22:10 -0500

Seen: 7,856 times

Last updated: Feb 14 '13