Robotics StackExchange | Archived questions

simple question about package architecture

../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>>

../catkinws/src/MYROBOTdescription/

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

Is that right? I want to know package structure.

Asked by homey on 2020-05-11 00:19:00 UTC

Comments

Answers

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.

Asked by kumpakri on 2020-05-18 05:16:24 UTC

Comments

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.

Asked by ahcorde on 2020-05-19 04:04:33 UTC

Comments