Skip to content

Commit

Permalink
Update fastrtpsgen to the latest (#42)
Browse files Browse the repository at this point in the history
* Update to the latest version of fastrtpsgen.

This is from commit
eProsima/Fast-DDS-Gen@07fed5d

* Switch to rosidl_get_typesupport_target

* Use v1 only.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette authored Feb 14, 2024
1 parent 8fc2a06 commit 99d82ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions performance_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,15 @@ execute_process(
)
add_definitions(-DPERFORMANCE_TEST_VERSION="${PERF_TEST_VERSION}")

rosidl_target_interfaces(${EXE_NAME} ${PROJECT_NAME} "rosidl_typesupport_cpp")
rosidl_get_typesupport_target(cpp_typesupport_target "${PROJECT_NAME}" "rosidl_typesupport_cpp")

ament_target_dependencies(${EXE_NAME}
"rclcpp" ${OPTIONAL_AMENT_DEPENDENCES})

target_link_libraries(${EXE_NAME}
${Boost_LIBRARIES}
${OPTIONAL_LIBRARIES})
${OPTIONAL_LIBRARIES}
"${cpp_typesupport_target}")

if(PERFORMANCE_TEST_ODB_FOR_SQL_ENABLED)
foreach(header ${${PROJECT_NAME}_HEADERS})
Expand Down
3 changes: 1 addition & 2 deletions performance_test/bin/fastrtpsgen
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ if [ $? != 0 ]; then
java_exec="${JAVA_HOME}/bin/java"
fi

exec $java_exec -jar "$dir/fastrtpsgen.jar" "$@"

exec $java_exec -jar "$dir/fastrtpsgen.jar" -cdr v1 "$@"
Binary file modified performance_test/bin/fastrtpsgen.jar
Binary file not shown.

0 comments on commit 99d82ec

Please sign in to comment.