-
Notifications
You must be signed in to change notification settings - Fork 23
Guidelines
Francesco W edited this page Jun 1, 2017
·
11 revisions
- A workspace must be contained in a single folder (a ROS package) and organized in sub-packages. (user created ones)
ros_ws/
├── src/
│ ├── user_defined_package
│ │ ├── sub_package_1
│ │ ├── sub_package_2
│ │ ├── ...
│ │ ├── common_msgs_package
│ │ └── doc
│ │
│ └── (...other packages...)
│
└── (...other folders...)
-
User-defined messages used by more than one package have to be defined in a separate ROS sub-package.
-
When creating ROS packages, the output of the program has to be published on a topic. At least user-defined messages that are published to the output topic, have to be contained in the sub-package (the
common_msgs_package
) mentioned in the previous item. The input/output topics must be listed in the ReadMe.
>> Here you can find a tutorial on how to manage a project with subrepositories. <<
For each project you have to follow this ReadMe.md example.
It is advised to use this .gitignore to keep projects tidy and clean.
