-
Notifications
You must be signed in to change notification settings - Fork 2
00.4 Coding Conventions
bmerkel edited this page Mar 30, 2021
·
5 revisions
Thanks to AMZ for the nice overview: We use the naming conventions defined at http://wiki.ros.org/ROS/Patterns/Conventions
work_package
, lowercase and _
as separator, e.g. lidar
.
workpackage_somename
, lowercase and _
as separator, e.g. lidar_trimmer
, as to make it clear what the package is used for.
node_name
, lowercase and _
as separator. Can be short.
topic_name
, lowercase and _
as separator.
CamelCased.msg
for message filenames. Message types are always CamelCase, whereas message fields are lowercase and _
as separator, e.g.
MyMessage.msg:
Header header
Float64 my_float
geometry_msgs/Point my_point