Skip to Content
Mastering ROS for Robotics Programming - Second Edition
book

Mastering ROS for Robotics Programming - Second Edition

by Lentin Joseph, Jonathan Cacace
February 2018
Beginner
580 pages
13h 20m
English
Packt Publishing
Content preview from Mastering ROS for Robotics Programming - Second Edition

Standard naming conventions used in ROS

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming - Third Edition

Mastering ROS for Robotics Programming - Third Edition

Lentin Joseph, Jonathan Cacace
Effective Robotics Programming with ROS - Third Edition

Effective Robotics Programming with ROS - Third Edition

Luis Sanchez, Enrique Fernandez Perdomo, Anil Mahtani

Publisher Resources

ISBN: 9781788478953Supplemental Content