mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 19:50:47 +08:00
Build Documentation / build-html (push) Has been cancelled
The ROS 2 C client API generates symbols via rosidl token-pasting macros. Each message type ends up with a name of the form <pkg>__msg__<Type>, and the bare type token (Int32, Float64, ...) appears in user code as an argument to ROSIDL_GET_MSG_TYPE_SUPPORT(). Neither form can be renamed without breaking the public API. Add the ROS 2 standard message package prefixes (std_msgs, geometry_msgs, sensor_msgs, nav_msgs, builtin_interfaces, rcl_interfaces) and the rosidl scalar type names (Int8/16/32/64, UInt8/16/32/64, Float32/64) to g_white_prefix so nxstyle does not flag the resulting mixed-case identifiers in apps that consume micro-ROS via apps/system/microros. Signed-off-by: Arjav Patel <arjav1528@gmail.com>