Jump to content

Getting Started with ROS on Embedded Systems - User Guide - C++ - Names

From RidgeRun Developer Wiki

🚧 Documentation under development

The Getting Started with ROS on Embedded Systems guide is currently under active development. Some sections may be incomplete or change without notice.

Questions? Contact RidgeRun or email to support@ridgerun.com.

Previous: User Guide/C++/Messages Index Next: User Guide/C++/Publishers_and_subscribers




Introduction

This wiki is based on the following ROS2 wiki: https://docs.ros.org/en/foxy/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.html. In here you can find the usage of names and namespaces.

Namespaces

These are prefixes that can help divide systems into sections and even allow the usage of the same node names without conflicts. For example, if on a system we have n number of the same sensors, we would have n nodes and topics that would be named the same. We can use a namespace to distinguish them, which allows us to use the same nodes and setup without the need to change node names and topics.


Previous: User Guide/C++/Messages Index Next: User Guide/C++/Publishers_and_subscribers


Cookies help us deliver our services. By using our services, you agree to our use of cookies.