gazebo ros pid plugin
Hello
I am looking for a gazebo ros plugin to simulate pid position control. I found a GazeboRosForce but nothing to rotate or move a joint to a certain position.
Any ideas?
Greetings Max
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hello
I am looking for a gazebo ros plugin to simulate pid position control. I found a GazeboRosForce but nothing to rotate or move a joint to a certain position.
Any ideas?
Greetings Max
This is how I've always seen it done. You could write a Gazebo plugin, but you could also run a node like this instead, without having to write any new code at all. Running this controller outside of Gazebo will basically subscribe to the joint's positions and then issue corrective commands to force the joint to follow the PID. Whether it's running in a separate node or as a plugin to Gazebo, it's really all the same in terms of functionality.
Max,
Do you require it being a gazebo plugin?. If you can settle for a controller implementing the pr2_controller_interface, the JointPositionController class implements a single-joint PID position controller. Also, some time ago I extended the JointPositionController to a group of joints for convenience reasons (code, not tested extensively). A word of caution: In these implementations updating the reference signal is non-realtime (plain ROS topic).
Asked: 2011-12-12 08:44:14 -0500
Seen: 1,478 times
Last updated: Dec 13 '11
Turning lights On and Off on Gazebo with ROS
Differences between ROS and Player.
How to add image texture to gazebo as material through blender settings
diff_drive_controller makes robot move faster in RViz compared to Gazebo
URDF Error: No valid hardware interface element found in joint [closed]
ROS-Gazebo Failed to load joint_state_controller
Gazebo world not reset on fresh launch