Control a joint in gazebo with a pid controller [closed]

asked 2013-03-29 02:48:04 -0500

davinci gravatar image

I am trying to control a joint in gazebo. I saw an example here: http://answers.ros.org/question/58329/how-can-i-simulate-dynamixel-arm-in-gazebo/ This uses libgazebo_ros_controller_manager.so But when building this I get the following error:

 /fuerte_workspace/pr2_simulator/pr2_gazebo_plugins/src/gazebo_ros_controller_manager.cpp: In member function ‘virtual void gazebo::GazeboRosControllerManager::UpdateChild()’:
 /fuerte_workspace/pr2_simulator/pr2_gazebo_plugins/src/gazebo_ros_controller_manager.cpp:240:117: error: ‘class gazebo::math::Angle’ has no member named ‘Radian’
/fuerte_workspace/pr2_simulator/pr2_gazebo_plugins/src/gazebo_ros_controller_manager.cpp:249:73: error: ‘class gazebo::math::Angle’ has no member named ‘Radian’

Also the <gazebo> tag seems not work in sdf. Is there a better plugin to control a joint with a pid controller in gazebo?

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by tfoote
close date 2015-10-26 13:05:23.940115