Skip to content

Commit

Permalink
add ros1_bridge mapping rule
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Aug 17, 2018
1 parent 809bb4f commit 3970c7e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rosapi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ ament_package()
install(PROGRAMS scripts/rosapi_node
DESTINATION lib/${PROJECT_NAME}
)

install(
FILES mapping_rules.yaml
DESTINATION share/${PROJECT_NAME}
)
8 changes: 8 additions & 0 deletions rosapi/mapping_rules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-
ros1_package_name: 'rosapi'
ros1_service_name: 'GetParam'
ros2_package_name: 'rosapi'
ros2_service_name: 'GetParam'
request_fields_1_to_2:
name: 'name'
default: 'default_value'
1 change: 1 addition & 0 deletions rosapi/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@

<export>
<build_type>ament_cmake</build_type>
<ros1_bridge mapping_rules="mapping_rules.yaml"/>
</export>
</package>

0 comments on commit 3970c7e

Please sign in to comment.