Autonomous-Racing-PG / ar-tu-do

ROS & Gazebo project for 1/10th scale self-driving race cars
89 stars 36 forks source link

Naming of constants containing ROS Topic, Service und Parameters names #152

Closed Dadie closed 5 years ago

Dadie commented 5 years ago

At least twice now I had a hard time understand whether or not a constant is a ROS topic or a ROS parameter. The current naming scheme of using TOPIC_ as a prefix for topics and _PARAMETER as a suffix can be quite confusion as with a constant like TOPIC_DRIVE_PARAMETERS.

My proposal would be, that we use both TOPIC_ and PARAMETER_ as a prefix do indicate if it is a topic or a parameter.