Ask Your Question
0

no factory exists problem with Gazebo ros control tutorial

asked 2016-06-25 08:45:29 -0500

cangjiaxuan gravatar image

updated 2016-06-25 09:06:09 -0500

Hi there,

My ros distribution is indigo and my ubuntu distribution is 14.04.

I'm currently learning ros control. And it speed learning curve really makes me frustrated.

Here is my question, I tried the Gazebo ros control tutorial at http://gazebosim.org/tutorials/?tut=r... .

When typing "roslaunch rrbot_control rrbot_control.launch" it worked at the first time. But things get weird when I come back several days later( Accurately yesterday..... ). I got errors when loading the control_plugin.

But when I call the service as the third error suggested I find the effort_controllers/JointPositionController exist. And when I type "rospack find effort_controllers" I can find the package under ros/indigo/share/ Furthermore at file effort_controller_plugins.xml it actually contain:

<class> name="effort_controllers/JointPositionController" type="effort_controllers::JointPositionController" base_class_type="controller_interface::ControllerBase"> <description> The JointPositionController tracks position commands. It expects a EffortJointInterface type of hardware interface. </description> </class>

I try to remove and re-install the effort_controllers use "apt-get" several times but the errors still exist.

Please help me out of this.

Thanks in advance. Erli

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-25 10:18:49 -0500

cangjiaxuan gravatar image

I solved this problem just several minutes ago. It turns out the error appears because the .so file is collapsed. So I download the source code from git and re-generate the .so file use catkin_make. The last step would be copy the .so file to /ros/<dist>/lib folder, and problem solved. And then PROMBLEM SOLVED!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-25 08:45:29 -0500

Seen: 64 times

Last updated: Jun 25 '16