Install
Setting up the RotorS Simulator Method
Possible problems
Ref:
1.Could not find a package configuration file provided by “octomap_ros”
sudo apt-get install ros-kinetic-octomap-ros
2.Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
sudo apt-get install libgoogle-glog-dev
3.make[2]: *** No rule to make target ‘/home/dale/rotor/src/rotors_simulator/rotors_gazebo_plugins/PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND’, needed by ‘PoseWithCovarianceStamped.pb.cc’. Stop.
Delete rotors_gazebo_plugins in build folder and compile again
If still have this problem, try
sudo apt-get install protobuf-compiler
Then delete rotors_gazebo_plugins
Reference link:
make: No rule to make target
https://github.com/ethz-asl/rotors_simulator/issues/399
/bin/sh: 1: autoreconf: not found
glog_catkin/CMakeFiles/glog_src.dir/build.make:108: recipe for target ‘glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-configure’ failed
make[2]: *** [glog_catkin/glog_src-prefix/src/glog_src-stamp/glog_src-configure] Error 127
CMakeFiles/Makefile2:956: recipe for target ‘glog_catkin/CMakeFiles/glog_src.dir/all’ failed
make[1]: *** [glog_catkin/CMakeFiles/glog_src.dir/all] Error 2
make[1]: *** 正在等待未完成的任务…
[ 6%] Built target catkin_boost_python_test
[ 7%] Built target eigen_checks
[ 11%] Built target numpy_eigen_test
Makefile:138: recipe for target ‘all’ failed
make: *** [all] Error 2
Invoking “make -j4 -l4” failed
apt-get install autoconf
5.Roslaunch cannot find new packges
rospack profile
This will ensure that ROS can find any new packages
Reference link: