From: Walter Fetter Lages Date: Mon, 20 Mar 2023 17:43:48 +0000 (-0300) Subject: Add support to ros2_control. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;ds=inline;p=plier_description.git Add support to ros2_control. --- diff --git a/config/controller_manager.yaml b/config/controller_manager.yaml new file mode 100644 index 0000000..c12730f --- /dev/null +++ b/config/controller_manager.yaml @@ -0,0 +1,4 @@ +controller_manager: + ros__parameters: + update_rate: 1000 + use_sim_time: true diff --git a/config/gazebo.yaml b/config/gazebo.yaml new file mode 100644 index 0000000..c9cdc3c --- /dev/null +++ b/config/gazebo.yaml @@ -0,0 +1,4 @@ +gazebo: + ros__parameters: + # This is the /clock update rate + publish_rate: 1000.0 diff --git a/launch/gazebo.launch.xml b/launch/gazebo.launch.xml index 3fc4fc8..7ecdb3c 100644 --- a/launch/gazebo.launch.xml +++ b/launch/gazebo.launch.xml @@ -33,6 +33,7 @@ + diff --git a/launch/ignition.launch.xml b/launch/ignition.launch.xml index 0a1ef9e..ea7cee3 100644 --- a/launch/ignition.launch.xml +++ b/launch/ignition.launch.xml @@ -1,7 +1,7 @@ + + + gazebo_ros2_control/GazeboSystem + + + + + + ign_ros2_control/IgnitionSystem + + + + + + 0.0 + 0.05 + + + + + + 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 + + + +