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

joint_states/effort goes to zero when published a torque using effort_controllers/JointGroupEffortController in Gazebo #487

Closed
amjack0 opened this issue Jan 4, 2021 · 1 comment

Comments

@amjack0
Copy link

amjack0 commented Jan 4, 2021

I am using effort_controllers/JointGroupEffortController wit ur5 arm in Gazebo. I set up my controller (interface etc) like this,

UR5 package Link

My controller yaml looks like this,

`arm_controller:
type: effort_controllers/JointGroupEffortController
joints:

  • shoulder_pan_joint
  • shoulder_lift_joint
  • elbow_joint
  • wrist_1_joint
  • wrist_2_joint
  • wrist_3_joint`

I run roslaunch ur_gazebo ur5.launch and I can see my controller topic /arm_controller/command
So, When I publish rostopic pub a desired torque of lets say 60 Nm on effort_controllers/JointGroupEffortController. Then it would go to 60 Nm then goes to Zero and the to 60 Nm and again to zero.

I checked my ur5.urdf.xacro for friction, damping, safety controller and limits. Not sure what's wrong.

I plot joint_states/efforts to analyze this issue. This issue is seen for every joint. (In the plot, only shoulder_lift_joint is analyzed.)
Plot of the joint state effort looks like this, rqt plot

ROS Melodic , 18.04
gazebo-9.0.0
Universal Robot (UR5) `https://github.com/ros-industrial/universal_robot/tree/melodic-devel

@bmagyar
Copy link
Member

bmagyar commented Jan 5, 2021

Please don't spam over multiple repos.
Closing in favour of ros-controls/ros_controllers#548

@bmagyar bmagyar closed this as completed Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants