roboticsgroup / roboticsgroup_upatras_gazebo_plugins

BSD 3-Clause "New" or "Revised" License
41 stars 17 forks source link

Does this work in ros2? #7

Open MarioCavero opened 2 months ago

MarioCavero commented 2 months ago

Hello! Great work! I want to use this for a robotic gripper that has the classic structure of "3 in1" per side, so 1 moves and moves another 5. I can see in CMakesList.txt

install(TARGETS
    roboticsgroup_upatras_gazebo_mimic_joint_plugin
    roboticsgroup_upatras_gazebo_disable_link_plugin
  ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(DIRECTORY include/${PROJECT_NAME}
  DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)

As well as in package.xml

  <buildtool_depend>catkin</buildtool_depend>
  <build_depend>control_toolbox</build_depend>
  <build_depend>gazebo_ros</build_depend>
  <build_depend>roscpp</build_depend>
  <build_export_depend>control_toolbox</build_export_depend>
  <build_export_depend>gazebo_ros</build_export_depend>
  <build_export_depend>roscpp</build_export_depend>
  <exec_depend>control_toolbox</exec_depend>
  <exec_depend>gazebo_ros</exec_depend>
  <exec_depend>roscpp</exec_depend>

Same goes for Gazebo 11.

Thank you in advance!

nlamprian commented 1 week ago

Hi, sorry for the late response. I have migrated the plugins to ROS 2. There is now a ros2 branch. It compiles, but it is untested. You may give it a try.