problem with plugin in gazebo
Hi i was trying to spawn again a urdf model that I spawned a lot allready but today it isn't recognizing the plugin
any ideas? the plugin that is doing it-
<gazebo>
<controller:gazebo_ros_controller_manager name="gazebo_ros_controller_manager" plugin="libgazebo_ros_controller_manager.so">
<alwaysOn>true</alwaysOn>
<updateRate>1000.0</updateRate>
<interface:audio name="gazebo_ros_controller_manager_dummy_iface" />
</controller:gazebo_ros_controller_manager>
</gazebo>
edit5: I made a different urdf file and it wasn't willing to spawn it either.
can i get this plugin to work a different way?
Thanks
yesterday it did work fine
edit4: I reinstalled all of ros and it still isn't spawning i am getting this message-- Dbg plugin model name: bob
[ INFO] [1347535810.546163240, 391.723000000]: starting gazebo_ros_controller_manager plugin in ns: /
[ INFO] [1347535810.546328843, 391.723000000]: Callback thread id=0x7f2a0c10f010
How should i get it to work??
the error is
Error [Plugin.hh:101] Failed to load plugin libgazebo_ros_controller_manager.so: libgazebo_ros_controller_manager.so: cannot open shared object file: No such file or directory
edit1: i was able to copy that file into the directory, somehow i have two directories of pr2_gazebo_plugins. now it doesn't say it can't find the plugin, just writes -- loading model xml from file
[INFO] [WallTime: 1347451924.654210] [0.000000] waiting for service /gazebo/spawn_urdf_model
w/o nothing happening. am I missing files? (gazebo spawns other models like pr2 etc.)
edit2: If I first did --roslaunch pr2_examples_gazebo single_link.launch-- then exited and then again launched gazebo, it was able to spawn the model but the topic about joint states thought that my joint was the same as the single link model.
edit3: I did these commands--
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install --reinstall ros-fuerte-pr2-simulator
and the same thing happened, the model is not spawned.
Thanks
Nachum