ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Robot displays incorrectly in Gazebo after adding the "effort_controllers/JointVelocityController"

asked 2020-11-13 23:57:47 -0600

Heho gravatar image

updated 2020-11-14 10:15:24 -0600

Hi everyone!

Now I am trying to use the Gazebo to simulate a Self-balancing Two-wheeled Vehicle.

Well, all the thing goes well until I add the controller.

As long as I launch the "controller_spawner" of the "effort_controllers/JointVelocityController", the wheels of robot will display incorrectly in Gazebo. In the meantime, there is not any error message shows in screen.

My files are here

I wonder what went wrong, and thanks anyone's help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-12-03 03:14:12 -0600

Heho gravatar image

After checking all my files, I found that I miss <limit>-effort&velocity tag in my xacro file.

The descripiton is above, which was copy from wiki

<limit> (required only for revolute and prismatic joint)

An element can contain the following attributes: lower (optional, defaults to 0)

An attribute specifying the lower joint limit (radians for revolute joints, meters for prismatic joints). Omit if joint is continuous. upper (optional, defaults to 0)

An attribute specifying the upper joint limit (radians for revolute joints, meters for prismatic joints). Omit if joint is continuous. effort (required)

An attribute for enforcing the maximum joint effort

It seems that it is necessary to add a effort&velocity tag into a rotate/continous joint.

Even if I miss any one of these tags in joints, it will also cause this issue.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-11-13 23:57:47 -0600

Seen: 122 times

Last updated: Dec 03 '20