ros-controls / gz_ros2_control

Connect the latest version of Gazebo with ros2_control.
https://gazebosim.org
Apache License 2.0
109 stars 83 forks source link

Robot falls down with custom controller #348

Closed fafux closed 3 months ago

fafux commented 3 months ago

Environment

Description

christophfroehlich commented 3 months ago

Is the controller sending commands to the plugin? Do you have the same behavior if you just use a forward_command_controller like velocity_controllers/JointGroupVelocityController?

fafux commented 3 months ago

Yes. The controller is sending commands to the plugin through the command interface (in this case velocity). With velocity_controllers/JointGroupVelocityController I have the same behaviour.

fafux commented 3 months ago

There was a problem in the xacro definition of the robot. The joints property was defined as <limit lower="-1.658" upper="2.705" effort="0" velocity="3.054" />. The problem is the effort limit that was 0.