Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can spawn the model but control plugin didn't work #28

Closed
linzha0 opened this issue Apr 9, 2015 · 1 comment
Closed

Can spawn the model but control plugin didn't work #28

linzha0 opened this issue Apr 9, 2015 · 1 comment

Comments

@linzha0
Copy link

linzha0 commented Apr 9, 2015

Error [Plugin.hh:156] Failed to load plugin libhector_gazebo_ros_sonar.so: libhector_gazebo_ros_sonar.so: cannot open shared object file: No such file or directory
[INFO] [WallTime: 1428564224.049737] [0.397000] Spawn status: SpawnModel: Successfully spawned model
Error [Plugin.hh:156] Failed to load plugin libhector_gazebo_ros_imu.so: libhector_gazebo_ros_imu.so: cannot open shared object file: No such file or directory
Error [Plugin.hh:156] Failed to load plugin libhector_gazebo_ros_baro.so: libhector_gazebo_ros_baro.so: cannot open shared object file: No such file or directory
Error [Plugin.hh:156] Failed to load plugin libhector_gazebo_ros_magnetic.so: libhector_gazebo_ros_magnetic.so: cannot open shared object file: No such file or directory
Error [Plugin.hh:156] Failed to load plugin libhector_gazebo_ros_gps.so: libhector_gazebo_ros_gps.so: cannot open shared object file: No such file or directory
[spawn_robot-4] process has finished cleanly
log file: /home/lin/.ros/log/56ab3c6e-de89-11e4-8855-080027431ac5/spawn_robot-4*.log
[WARN] [WallTime: 1428564251.188928] [26.875000] Controller Spawner couldn't find the expected controller_manager ROS interface.
I use ros indigo with Ubuntu 14.04 LTS. The gazebo and ros should be compatible.
I clone hector_gazebo, hector_localization, hector_models, hector_quadrotor, hector_slam from indigo_devel. And use rosdep install --from-path src --ignore-src command, it compile fine. Then I launch: ~/catkin_ws/$ roslaunch hector_quadrotor_gazebo quadrotor_empty_world.launch.
I have some errors like this, could help me. Appreciate it.

@linzha0
Copy link
Author

linzha0 commented Apr 9, 2015

sudo apt-get install ros-indigo-hector-*
~/catkin_ws/catkin_make
gedit /.bashrc
--> add "export GAZEBO_PLUGIN_PATH=
/catkin_ws/devel/lib:$GAZEBO_PLUGIN_PATH "
It works.

@linzha0 linzha0 closed this as completed Apr 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant