Skip to content

Commit

Permalink
Add rule file for carma_msgs package ros1_bridge (#153)
Browse files Browse the repository at this point in the history
* Add rule file for carma_msgs package ros1_bridge

* Add export to carma_msgs package for ros1 ros2 mapping
  • Loading branch information
msmcconnell authored Jan 10, 2022
1 parent cff86c7 commit 2646e5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions carma_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@ rosidl_generate_interfaces(
ament_export_dependencies(rosidl_default_runtime)
ament_package()

install(
FILES rule.yml
DESTINATION share/${PROJECT_NAME})


1 change: 1 addition & 0 deletions carma_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

<export>
<build_type>ament_cmake</build_type>
<ros1_bridge mapping_rules="rule.yml"/>
</export>

</package>
3 changes: 3 additions & 0 deletions carma_msgs/rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-
ros1_package_name: 'cav_msgs'
ros2_package_name: 'carma_msgs'

0 comments on commit 2646e5b

Please sign in to comment.