Skip to content

Commit eea4e0a

Browse files
committed
feat(LibCarla/ros2): remove legacy FastDDS-generated type files
Delete 125 auto-generated FastDDS type files from LibCarla/source/carla/ros2/types/: 31 type-definition pairs ({TypeName}.h + {TypeName}.cpp), 31 PubSubType pairs ({TypeName}PubSubTypes.h + {TypeName}PubSubTypes.cpp), and FastDDSConversions.h. These files were generated by fastddsgen from IDL definitions and are no longer referenced anywhere in the codebase. GenericCdrPubSubType<T> (introduced in carla-simulator#9643) replaces all 31 hand-generated PubSubType classes by serializing carla::ros2::msg::* POD structs directly to CDR bytes via CdrSerialization.h, with no dependency on these files. Both cmake/fast_dds/CMakeLists.txt and cmake/cyclone_dds/CMakeLists.txt collect type files via file(GLOB) patterns (types/*.h, types/*.cpp), so no CMake changes are needed. The globs self-adjust on the next configure pass. After this change, LibCarla/source/carla/ros2/types/ contains only: CdrSerialization.h, CdrTopicInfo.h, and msg/ (31 POD struct headers). Tests: 120/120 server + 56/56 client + 2/2 smoke.
1 parent d3f2a45 commit eea4e0a

File tree

125 files changed

+0
-26895
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+0
-26895
lines changed

LibCarla/source/carla/ros2/types/AckermannDrive.cpp

Lines changed: 0 additions & 341 deletions
This file was deleted.

0 commit comments

Comments
 (0)