diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 3d70d575c63..d7ee750cfbc 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -227,6 +227,29 @@ static const char *g_white_prefix[] = "tClass", /* Ref: arch/tricore/src */ "tCpu", /* Ref: arch/tricore/src */ "tId", /* Ref: arch/tricore/src */ + + /* Ref: apps/system/microros, apps/examples/microros_* + * ROS 2 standard message package names and rosidl scalar type names + * are generated by upstream rosidl token-pasting macros and cannot + * be renamed without breaking the ROS C client API. + */ + + "std_msgs", /* std_msgs__msg__Int32, ... */ + "geometry_msgs", /* geometry_msgs__msg__Twist, ... */ + "sensor_msgs", /* sensor_msgs__msg__Imu, ... */ + "nav_msgs", /* nav_msgs__msg__Odometry, ... */ + "builtin_interfaces", /* builtin_interfaces__msg__Time, ... */ + "rcl_interfaces", /* rcl_interfaces__msg__Log, ... */ + "Int8", /* ROSIDL_GET_MSG_TYPE_SUPPORT(_, _, Int8) */ + "Int16", + "Int32", + "Int64", + "UInt8", + "UInt16", + "UInt32", + "UInt64", + "Float32", + "Float64", NULL };