You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to simulate a UR5 with a robotiq 2f gripper(with mimicjoint) in Gazebo, and it tells me that No p gain specified for pid and I should provide pid parameters.
However, when p value of the UR5 is small(0-2), UR’s joints are shaking, and I can’t tune these joints with bar in rqt_joint_trajectory_controller.
p=1
p=2
when those parameters is bigger than 3, those joints seem to be fixed, I can’t tune these joints with bar in rqt_joint_trajectory_controller.
Especially for the elbow joint, the greater of the p-value, the stronger it will contractive. Once
it is bigger than 2.5, it seems to have a self-collision.
p=3
p=10
If I only specify the pid parameters for the gripper, I also can not tune UR’s joints through bars in rqt_joint_trajectory_controller. And after a few senconds, the gripper will break up. By the way, the gripper can be simulated in gazebo without the arm.
<?xml version="1.0"?>
<launch>
<argname="paused"default="false"doc="Starts gazebo in paused mode" />
<argname="gui"default="true"doc="Starts gazebo gui" />
<!-- startup simulated world --><!-- We resume the logic in empty_world.launch, changing only the name of the world to be launched -->
<includefile="$(find gazebo_ros)/launch/empty_world.launch">
<argname="world_name"default="worlds/empty.world"/>
<argname="paused"value="$(arg paused)"/>
<argname="gui"value="$(arg gui)"/>
</include>
<!-- send robot urdf to param server -->
<paramname="robot_description"command="$(find xacro)/xacro --inorder '$(find lab_ur5_robotiq2f140_description)/urdf/lab_ur5_robotiq2f140.urdf.xacro'" />
<!-- Load gazebo controller configurations --><!-- Note: You MUST load these PID parameters for all joints that are using the PositionJointInterface, otherwise the arm + gripper will act like a giant parachute, counteracting gravity, and causing some of the wheels to lose contact with the ground, so the robot won't be able to properly navigate. See https://github.com/ros-simulation/gazebo_ros_pkgs/issues/612 -->
<rosparamfile="$(find lab_ur5_robotiq2f140_description)/cfg/gazebo_controller.yaml"command="load" />
<!-- push robot_description to factory and spawn robot in gazebo -->
<nodename="urdf_spawner"pkg="gazebo_ros"type="spawn_model"args="-z 2.0 -unpause -urdf -model robot -param robot_description"respawn="false"output="screen" />
<nodepkg="robot_state_publisher"type="robot_state_publisher"name="robot_state_publisher">
<paramname="publish_frequency"type="double"value="30.0" />
</node>
<nodename="rviz"pkg="rviz"type="rviz"args="-d $(find lab_ur5_robotiq2f140_description)/cfg/view_robot.rviz"required="true" />
<!-- joint_state_controller -->
<rosparamfile="$(find lab_ur5_robotiq2f140_description)/controller/joint_state_controller.yaml"command="load"/>
<nodename="joint_state_controller_spawner"pkg="controller_manager"type="controller_manager"args="spawn joint_state_controller"respawn="false"output="screen"/>
<!-- gripper_controller -->
<rosparamfile="$(find lab_ur5_robotiq2f140_description)/controller/gripper_controller.yaml"command="load"/>
<nodename="gripper_controller_spawner"pkg="controller_manager"type="spawner"args="gripper_controller --shutdown-timeout 0.5" />
<!-- start this controller -->
<rosparamfile="$(find ur_gazebo)/controller/arm_controller_ur5.yaml"command="load"/>
<nodename="arm_controller_spawner"pkg="controller_manager"type="controller_manager"args="spawn arm_controller"respawn="false"output="screen"/>
<!-- load other controllers -->
<nodename="ros_control_controller_manager"pkg="controller_manager"type="controller_manager"respawn="false"output="screen"args="load joint_group_position_controller" />
<!-- Load teleop -->
<nodename="rqt_joint_trajectory_controller"pkg="rqt_joint_trajectory_controller"type="rqt_joint_trajectory_controller" />
</launch>
===============================
by the way , there is a ERROR i don't know how to treat.
[ERROR] [1590638537.717410563, 0.158000000]: Tried to advertise a service that is already advertised in this node [/gazebo_ros_control/pid_gains/shoulder_pan_joint/set_parameters]
[ERROR] [1590638537.743302537, 0.158000000]: Tried to advertise a service that is already advertised in this node [/gazebo_ros_control/pid_gains/shoulder_lift_joint/set_parameters]
[ERROR] [1590638537.768973579, 0.158000000]: Tried to advertise a service that is already advertised in this node [/gazebo_ros_control/pid_gains/elbow_joint/set_parameters]
[ERROR] [1590638537.794019667, 0.158000000]: Tried to advertise a service that is already advertised in this node [/gazebo_ros_control/pid_gains/wrist_1_joint/set_parameters]
[ERROR] [1590638537.820540471, 0.158000000]: Tried to advertise a service that is already advertised in this node [/gazebo_ros_control/pid_gains/wrist_2_joint/set_parameters]
[ERROR] [1590638537.848918447, 0.158000000]: Tried to advertise a service that is already advertised in this node [/gazebo_ros_control/pid_gains/wrist_3_joint/set_parameters]
[ERROR] [1590638537.872821151, 0.158000000]: Tried to advertise a service that is already advertised in this node [/gazebo_ros_control/pid_gains/finger_joint/set_parameters]
[ERROR] [1590638537.890079747, 0.158000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/list_controllers]
[ERROR] [1590638537.890118760, 0.158000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/list_controller_types]
[ERROR] [1590638537.890138809, 0.158000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/load_controller]
[ERROR] [1590638537.890159609, 0.158000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/unload_controller]
[ERROR] [1590638537.890179860, 0.158000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/switch_controller]
[ERROR] [1590638537.890204698, 0.158000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/reload_controller_libraries]
===============================
I'm pretty new in ROS and Gazebo.
I'd be very grateful for any help.
The text was updated successfully, but these errors were encountered:
the Gazebo simulation files in this repository were created when Gazebo 7.x was still considered "new". I'm not surprised things don't work exactly out-of-the-box on 9.x
Unfortunately, I don't use any of these things myself, so I cannot help you.
If someone from the community can assist, please do so.
ROS: kinetic
Gazebo version: 9.12.0
universal_robot package version: 1.2.7
I want to simulate a UR5 with a robotiq 2f gripper(with mimicjoint) in Gazebo, and it tells me that No p gain specified for pid and I should provide pid parameters.
However, when p value of the UR5 is small(0-2), UR’s joints are shaking, and I can’t tune these joints with bar in rqt_joint_trajectory_controller.
p=1
p=2
when those parameters is bigger than 3, those joints seem to be fixed, I can’t tune these joints with bar in rqt_joint_trajectory_controller.
Especially for the elbow joint, the greater of the p-value, the stronger it will contractive. Once
it is bigger than 2.5, it seems to have a self-collision.
p=3
p=10
If I only specify the pid parameters for the gripper, I also can not tune UR’s joints through bars in rqt_joint_trajectory_controller. And after a few senconds, the gripper will break up. By the way, the gripper can be simulated in gazebo without the arm.
===============================
===============================
===============================
===============================
===============================
by the way , there is a ERROR i don't know how to treat.
===============================
I'm pretty new in ROS and Gazebo.
I'd be very grateful for any help.
The text was updated successfully, but these errors were encountered: