Here we are using the text HelloWorld to demonstrate the naming patterns we use in ROS:
- HelloWorld: This name starts with an uppercase letter, and each new word starts with an uppercase letter with no spaces or underscores.
- helloWorld: In this naming convention, the first letter will be lowercase, but new words will be in uppercase letters without spaces.
- hello_world: This only contains lowercase letters. Words are separated with underscores.
- HELLO_WORLD: All letters are uppercase letters. Words are separated by an underscore.
The following are the naming conventions followed by each component in ROS:
- Packages, topics/services, files, libraries: These ROS components follow the hello_world pattern ...