Gazebo | Ignition | Community
Ask Your Question
0

gazebo7 hardware_interface/PositionJointInterface EffortJointInterfacerobot being hung up

asked 2017-11-09 04:06:54 -0500

this post is marked as community wiki

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

I simulate my robot with ros-indigo&&gazebo2 every thing is ok,but when I update gazebo2 to gazebo7 or update ros-indigo to ros-kinetic(default gazebo7) I meet some weird thing.

<xacro:macro name="transmission_block" params="joint_name"> <transmission name="tran1"> <type>transmission_interface/SimpleTransmission</type> <joint name="${joint_name}"> <hardwareinterface>hardware_interface/>EffortJointInterface</hardwareinterface> </joint> <actuator name="motor1"> <hardwareinterface>hardware_interface/>EffortJointInterface</hardwareinterface> <mechanicalreduction>1</mechanicalreduction> </actuator> </transmission> </xacro:macro>

when I set EffortJointInterface gazebo7 is ok

but when I set PositionJointInterface, my robot looks like being hung up, it cannot leave the Z axis ,and even can leave the ground

<xacro:macro name="transmission_block" params="joint_name"> <transmission name="tran1"> <type>transmission_interface/SimpleTransmission</type> <joint name="${joint_name}"> <hardwareinterface>hardware_interface/PositionJointInterface</hardwareinterface> </joint> <actuator name="motor1"> <hardwareinterface>hardware_interface/PositionJointInterface</hardwareinterface> <mechanicalreduction>1</mechanicalreduction> </actuator> </transmission> </xacro:macro>

image description image description

I cannot handle this problem

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-08-23 09:43:10 -0500

raequin gravatar image

This is a known problem with Gazebo 7. The solution for me was to use Gazebo 9 and the latest (at the time) version of gazebo_ros_pkgs from source. Check the accepted answer on the question I posted.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2017-11-09 04:06:54 -0500

Seen: 2,517 times

Last updated: Aug 23 '18