Gazebo | Ignition | Community
Ask Your Question
0

can't find specific joint when using gazebo model plugin libgazebo_ros_ft_sensor.so

asked 2016-04-15 02:55:07 -0600

mizu_lily gravatar image

I am trying to attach a Force/Torque sensor to the end-effector of an industrial robot. I think I should attach it on joint link6-tool0 to measure ft. However, I wrote whatever except for joint_1~6 in the <jointname> tag, the terminal says:

[FATAL] [1460706723.091181613, 198.988000000]: gazebo_ros_ft_sensor plugin error: jointName: link6-tool0 does not exist

usage:

<gazebo>    
    <plugin name="FTsensor_controller"    filename="libgazebo_ros_ft_sensor.so">
       <updateRate>100.0</updateRate>
       <topicName>FTsensor_topic</topicName>
       <gaussianNoise>0.0</gaussianNoise>
       <jointName>link6-tool0 </jointName>
    </plugin>    
</gazebo>

I checked gazebo_ros_ft_sensor.cpp , relative codes are as follow:

this->joint_ = this->model_->GetJoint(this->joint_name_);
   if (!this->joint_)
   {
     ROS_FATAL("gazebo_ros_ft_sensor plugin error: jointName: %s does not exist\n",this->joint_name_.c_str());
     return;
   }

Since joint_1~6 and joint link6-tool0 are defined in the same XACRO, I have no idea why the plugin can find joint_1~6 but can not find link6-tool0. It confuses me a lot. What is actually passed by the Load function of the plugin? And how can I get the ft measurement of the end-effector?

edit retag flag offensive close merge delete

Comments

solution at this repo https://github.com/amjack0/universal-... look at -> universal_robot/ur_description/urdf/ur5.urdf.xacro

amjack0 gravatar imageamjack0 ( 2020-08-15 14:15:34 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2018-04-08 02:53:47 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi it work by just set type of joint to "revolute" insted of "fixed" and give joint Limit , like

      <limit velocity="6.5" effort="1000" lower="0" upper="0" />
edit flag offensive delete link more
0

answered 2016-04-17 03:39:36 -0600

mizu_lily gravatar image

updated 2016-04-17 03:42:15 -0600

I have solved this problem. See on bitbucket gazebo issue #618 and also sdformat pull request #133

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-04-15 02:55:07 -0600

Seen: 3,663 times

Last updated: Jul 15 '20