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

How to know where the launch file (for urdf) is?

asked 2020-10-11 11:07:09 -0500

Devina gravatar image

In the step to step tutorial : http://wiki.ros.org/urdf/Tutorials/Bu... it says "To examine the model, launch the display.launch file:", but no explanation has been given in the tutorial how to create the launch file, where to store it?

No explanation is also given to where to store the xml file of the cylinder!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-10-13 16:17:07 -0500

fruitbot gravatar image

This tutorial expects you to have downloaded the urdf_tutorial package.

First, you will have to create a workspace (http://wiki.ros.org/catkin/Tutorials/...) Then, you will have to copy/clone the urdf_tutorial package into your workspace's src folder.

edit flag offensive delete link more
1

answered 2020-10-12 05:31:52 -0500

Weasfas gravatar image

Hi @Devina,

The tutorial is just a brief explanation of the urdf_tutorial package. Any ROS package can contain several folders: config, src, include, etc. By convention there is a specific folder to store all launch files for the package in question and this is called: `launch; and it is in the root of the project. If you have doubts about ROS packages there are two nice tutorials here and here. On the other hand if you have doubts about generating a proper launch file you can check this tutorial instead.

Furthermore, for storing robot models, URDF, etc. there exists another specific folder called urdf, that in the tutorial is this one. In the first URDF file (01-myfirst.urdf) you will find the cylinder definition.

Hope that helps you.

Regards.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-10-11 11:07:09 -0500

Seen: 546 times

Last updated: Oct 12 '20