From: Walter Fetter Lages Date: Thu, 12 Nov 2026 19:24:50 +0000 (-0300) Subject: Port to Lyrical. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=HEAD;p=plier_description.git Port to Lyrical. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cd37b91..9e18f4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.20) project(plier_description) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") @@ -15,8 +15,6 @@ install(DIRECTORY config launch meshes urdf DESTINATION share/${PROJECT_NAME} ) -ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/env-hooks/${PROJECT_NAME}.dsv.in") - if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED) # the following line skips the linter which checks for copyrights diff --git a/config/controller_manager.yaml b/config/controller_manager.yaml index c12730f..79efc7d 100644 --- a/config/controller_manager.yaml +++ b/config/controller_manager.yaml @@ -1,4 +1,5 @@ controller_manager: ros__parameters: update_rate: 1000 + enforce_command_limits: false use_sim_time: true diff --git a/config/ros_gz_bridge.yaml b/config/ros_gz_bridge.yaml new file mode 100644 index 0000000..33167fe --- /dev/null +++ b/config/ros_gz_bridge.yaml @@ -0,0 +1,10 @@ +- ros_topic_name: "/clock" + gz_topic_name: "/clock" + ros_type_name: "rosgraph_msgs/msg/Clock" + gz_type_name: "gz.msgs.Clock" +# subscriber_queue: 5 # Default 10 +# publisher_queue: 6 # Default 10 +# lazy: true # Default "false" + direction: GZ_TO_ROS # Default "BIDIRECTIONAL" - Bridge both directions + # "GZ_TO_ROS" - Bridge Ignition topic to ROS + # "ROS_TO_GZ" - Bridge ROS topic to Ignition diff --git a/env-hooks/plier_description.dsv.in b/env-hooks/plier_description.dsv.in deleted file mode 100644 index 30a6001..0000000 --- a/env-hooks/plier_description.dsv.in +++ /dev/null @@ -1,3 +0,0 @@ -prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share - -set-if-unset;MESA_GL_VERSION_OVERRIDE;3.3 diff --git a/launch/display.launch.xml b/launch/display.launch.xml index b6549d5..39d7379 100644 --- a/launch/display.launch.xml +++ b/launch/display.launch.xml @@ -22,7 +22,7 @@ - + diff --git a/launch/gazebo.launch.xml b/launch/gazebo.launch.xml index 7ecdb3c..067dd12 100644 --- a/launch/gazebo.launch.xml +++ b/launch/gazebo.launch.xml @@ -1,7 +1,7 @@ @@ -24,17 +24,24 @@ - - - - - - + + + + + + + + + - - + + + + > + + diff --git a/launch/ignition.launch.xml b/launch/ignition.launch.xml deleted file mode 100644 index ea7cee3..0000000 --- a/launch/ignition.launch.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/launch/plier.launch.xml b/launch/plier.launch.xml index eb41296..87f8500 100644 --- a/launch/plier.launch.xml +++ b/launch/plier.launch.xml @@ -21,10 +21,9 @@ - - + diff --git a/package.xml b/package.xml index 73c2dd4..8098b3a 100644 --- a/package.xml +++ b/package.xml @@ -2,7 +2,7 @@ plier_description - 2.1.0 + 2.2.0 Laparascopic plier description Walter Fetter Lages GPL-3.0-only diff --git a/urdf/plier.urdf b/urdf/plier.urdf index 82be6a3..1f9c1e4 100644 --- a/urdf/plier.urdf +++ b/urdf/plier.urdf @@ -1,7 +1,5 @@ - - @@ -116,19 +114,10 @@ Gazebo/Grey - - - - - gazebo_ros2_control/GazeboSystem - - - - + - ign_ros2_control/IgnitionSystem + gz_ros2_control/GazeboSimSystem - @@ -141,27 +130,13 @@ joint -1.0 - - - - - robot_description - robot_state_publisher - $(find plier_description)/config/controller_manager.yaml - - - - - - robot_description - robot_state_publisher - $(find plier_description)/config/controller_manager.yaml - - + + $(find plier_description)/config/controller_manager.yaml +