Open jackstarred opened 4 years ago
@jackstarred
I've never really used the effort_hardware_interface
...only position
and velocity
I can only assume that maybe it has something to do with how cob_gazebo_ros_control
sets forces/torques in gazebo compared to gazebo_ros_control
...in the past the gazebo API for this has changed every now and then...
Please note that this plugin is not really actively developed anymore...but if you can provide a PR that fixes this issue, I'm happy to merge and release a new version...
I used the position hardware interface and effort hardware interface. The position controller with multiple joints works well. But the torque controller with multiple joints didn't work for all joints.
We defined two controllers as follow:
The
arm_controller
can work for all three joints. But theTorqueController
can only control the torque command forjoint2
, doesn't work at all for other two joints. I switch to the normal gazebo ros control plugin, and it works. So I think this is a bug of the cob gazebo ros control plugin.