Ask Your Question
0

how get torque of each joint during move in ROS ?

asked 2016-09-21 02:24:21 -0600

zakizadeh gravatar image

hi ! how get torque of each joint during move in ROS ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-21 02:40:20 -0600

wilsonz91 gravatar image

updated 2016-09-21 03:56:03 -0600

There is the plugin ft_sensor. Here's the snippet in my urdf file:

<xacro:macro name="sensor_force_torque" params="joint_name topic_name">
<gazebo>
  <plugin name="ft_sensor" filename="libgazebo_ros_ft_sensor.so">
    <updateRate>100.0</updateRate>
    <topicName>${topic_name}</topicName>
    <jointName>${joint_name}</jointName>
  </plugin>
</gazebo>

</xacro:macro>

That's a macro so for creating instances it would be:

<xacro:sensor_force_torque joint_name="leg_1_joint_1"  topic_name="robot/leg_1_joint_ft_1"/>

I do get readings but I have not evaluated them properly but should give you a head start.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-09-21 02:24:21 -0600

Seen: 107 times

Last updated: Sep 21 '16