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_joint_state_publisher #795

Merged
merged 6 commits into from
Aug 9, 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.

158 changes: 0 additions & 158 deletions .ros1_unported/gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp

This file was deleted.

19 changes: 17 additions & 2 deletions gazebo_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,35 @@ find_package(gazebo_dev REQUIRED)
find_package(gazebo_ros REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(rclcpp REQUIRED)
find_package(sensor_msgs REQUIRED)

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

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

# 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"
"rclcpp"
)
ament_export_libraries(gazebo_ros_force)

Expand All @@ -39,9 +53,9 @@ add_library(gazebo_ros_template SHARED
src/gazebo_ros_template.cpp
)
ament_target_dependencies(gazebo_ros_template
"rclcpp"
"gazebo_dev"
"gazebo_ros"
"rclcpp"
)
ament_export_libraries(gazebo_ros_template)

Expand All @@ -64,6 +78,7 @@ install(DIRECTORY include/
install(
TARGETS
gazebo_ros_force
gazebo_ros_joint_state_publisher
gazebo_ros_template
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
Expand Down
Loading