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

how to create yellow line path for turtlebot linefollower using gazebo?

asked 2020-07-20 07:23:05 -0600

sree gravatar image

I am totally new to ROS and Gazebo. Please help me with it. I want to create a turtlebot line follower using ROS , Gazebo, rviz, cv_bridge. I am following the tutorial given in (

In this tutorial, they have asked to create a yellow line path. How to do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-07-21 05:50:32 -0600

Weasfas gravatar image

Hi @Lekha

The only thing they did is to generate a yellow plane with Gazebo Materials. You can check the Gazebo model that the tutorial is using here. You should place the yellow_line folder than contains the Gazebo model on .gazebo/models folder to be able to use in the simulator.

Besides that, in this other link you will find the specific Gazebo worlds the tutorial use so you do not really need to build the world by yourself.

edit flag offensive delete link more


Yeah thanks, @Weasfas but even though I created the model .it is not seen in the Gazebo simulator. Please me out. I added the model in-home/lekha/gazebo/model/yellowline I have created both model.sdf and model.config files

sree gravatar image sree  ( 2020-07-21 09:00:48 -0600 )edit

To add the model in .gazebo it is not visible in the home

sree gravatar image sree  ( 2020-07-21 10:13:59 -0600 )edit

Yes, the folder must be in home/username/.gazebo/models/. You can also set up your custom models path: check this.

Weasfas gravatar image Weasfas  ( 2020-07-21 10:33:50 -0600 )edit

Thank you Ia m gonna try .but when I am checking in terminal it is visible but when I wanna go directly and open that folder in-home/lekha it is not visible

sree gravatar image sree  ( 2020-07-21 11:47:51 -0600 )edit

Yes that is because by default folders starting with . in ubuntu are hidden, you can change that in your settings.

Weasfas gravatar image Weasfas  ( 2020-07-21 13:14:05 -0600 )edit

Yeah, Thank you . Its working

sree gravatar image sree  ( 2020-07-21 13:25:18 -0600 )edit

Question Tools


Asked: 2020-07-20 07:23:05 -0600

Seen: 1,654 times

Last updated: Jul 21 '20