Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannnot get joint torque while setting velocity command for joints

I use following plugin for controlling joints. https://github.com/start-jsk/rtmros_gazebo/blob/master/hrpsys_gazebo_general/src/IOBPlugin.cpp

I'm sending velocity command to joint by SetVelocity function, and trying to get joint torque by GetForce function, but return value if GetForce is always zero.

When I send torque command by SetForce function, I can get correct joint torque by SetForce.

Cannnot get joint torque while setting velocity command for joints

I use following plugin for controlling joints. https://github.com/start-jsk/rtmros_gazebo/blob/master/hrpsys_gazebo_general/src/IOBPlugin.cpp

I'm sending velocity command to joint by SetVelocity function, and trying to get joint torque by GetForce function, but return value if of GetForce is always zero.

When I send torque command by SetForce function, I can get correct joint torque by SetForce.

Cannnot get joint torque while setting velocity command for joints

I use following plugin for controlling joints. https://github.com/start-jsk/rtmros_gazebo/blob/master/hrpsys_gazebo_general/src/IOBPlugin.cpp

I'm sending velocity command to joint by SetVelocity function, and trying to get joint torque by GetForce function, but return value of GetForce is always zero.

When I send torque command by SetForce function, I can get correct joint torque by SetForce.GetForce.