tu-darmstadt-ros-pkg / hector_quadrotor

hector_quadrotor contains packages related to modeling, control and simulation of quadrotor UAV systems.
Other
379 stars 276 forks source link

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

Closed linzha0 closed 9 years ago

linzha0 commented 9 years ago

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 commented 9 years ago

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.