ROS无人机仿真RotorS搭建方法和问题

Install
Setting up the RotorS Simulator Method

Possible problems
Ref:

ROS无人机仿真rotor_simulations配置篇

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

Ref:
autoreconf: not found

5.Roslaunch cannot find new packges

rospack profile

This will ensure that ROS can find any new packages

Reference link:

roslaunch找不到packge
6.
ros工作空间文件位置改变解决办法

  • 4
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值