Ask Your Question
0

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

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

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 (http://edu.gaitech.hk/turtlebot/line-...)

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
0

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

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

Comments

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 -0500 )edit

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

sree gravatar image sree  ( 2020-07-21 10:13:59 -0500 )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 -0500 )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 -0500 )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 -0500 )edit

Yeah, Thank you . Its working

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 57 times

Last updated: Jul 21