Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ros2] gazebo_ros_force plugin #784

Merged
merged 5 commits into from
Jul 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

160 changes: 0 additions & 160 deletions .ros1_unported/gazebo_plugins/src/gazebo_ros_force.cpp

This file was deleted.

20 changes: 19 additions & 1 deletion gazebo_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,26 @@ endif()
find_package(ament_cmake REQUIRED)
find_package(gazebo_dev REQUIRED)
find_package(gazebo_ros REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(rclcpp REQUIRED)

include_directories(include
${gazebo_ros_INCLUDE_DIRS}
${geometry_msgs_INCLUDE_DIRS}
)

# gazebo_ros_force
add_library(gazebo_ros_force SHARED
src/gazebo_ros_force.cpp
)
ament_target_dependencies(gazebo_ros_force
"rclcpp"
"gazebo_dev"
"gazebo_ros"
"geometry_msgs"
)
ament_export_libraries(gazebo_ros_force)

# gazebo_ros_template
add_library(gazebo_ros_template SHARED
src/gazebo_ros_template.cpp
Expand All @@ -37,6 +51,7 @@ ament_export_dependencies(gazebo_dev)
ament_export_dependencies(gazebo_ros)

if(BUILD_TESTING)
add_subdirectory(test)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()
Expand All @@ -46,7 +61,10 @@ ament_package()
install(DIRECTORY include/