package-name-and-structure
In order to create a new ROS package for one of the repositories some rules need to be considered:
The package name has always the following format:
Use the right prefix for every repository: a.
mas_domestic_robotics
:mdr_
b.mas_industrial_robotics
:mir_
c.mas_common_robotics
:mcr_
Use lowercase.
Separate words in the package name by underscores ( _ ).
Examples for creating packages according to the above described rules are as follows:
Folder structure
Every ROS package within our repositories has to strictly match the following structure:
In short:
ROS-independent code goes into the
common
folderthe
ros
folder contains a ROS-wrapper for the functionality you are adding
Meta-packages
If the package you are creating is meant to contain other packages inside of it, it needs to have instead the following structure:
Last updated
Was this helpful?