Home | Tutorials | Wiki | Issues
Ask Your Question
0

simple question about package architecture

asked 2020-05-11 00:19:00 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

../catkin_ws/src

/MYROBOT_description
    package.xml
    CMakeLists.txt
    /urdf
        MYROBOT.urdf
    /meshes
        mesh1.dae
        mesh2.dae
        ...
    /materials
    /cad
/MYROBOT_gazebo
    /launch
        MYROBOT.launch
    /worlds
        MYROBOT.world
    /models
        world_object1.dae
        world_object2.stl
        world_object3.urdf
    /materials
    /plugins

I understand this directory path like this>>

../catkin_ws/src/MYROBOT_description/

urdf, /meshes, /materials, /cad/MYROBOT_gazebo

Is that right? I want to know package structure.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-05-19 04:04:33 -0500

ahcorde gravatar image

Hello,

The structure of a ROS packages is defined here. All packages need at least a CMakeLists.txt and a package.xml. Otherwise the package will not be build.

The turtlebot packages are a good reference.

edit flag offensive delete link more
0

answered 2020-05-18 05:16:24 -0500

kumpakri gravatar image

I'm not sure what you are asking about. The /MYROBOT_description and /MYROBOT_gazebo are the ros packages and they are at the same level inside the folder structure. There should be the package.xml and CMakeLists.txt files inside the /MYROBOT_gazebo folder as well.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-05-11 00:19:00 -0500

Seen: 22 times

Last updated: May 19