1. rovio的readme中使用的是catkin build, ROS tutorial中用的是catkin_make。
关于build与make的区别: build重新编译所有文件;make默认只编译修改过的文件。
http://*.com/questions/5429334/what-is-the-different-between-make-and-build-in-context-menu-of-project-buil
catkin build需要sudo apt-get install python-catkin-tools才能执行,否则会返回command not found的错误。
2. 找不到eigen3
解决办法: 将rovio和lightweight filter中的CMakeLists.txt做如下处理, 减号代表注释掉:
- find_package(Eigen3 REQUIRED)
+ find_package(PkgConfig)
+ pkg_search_module(Eigen3 REQUIRED eigen3)
https://github.com/ethz-asl/rovio/issues/79
3. 找不到rovio/SrvResetToPose.h
解决办法: I have solved the bug by adding:add_dependencies(rovio rovio_gencpp)
after add_library function in the CMakeLists.txt //这里是rovio的CMakeLists, 查找add_library关键词可以确定位置
https://github.com/ethz-asl/rovio/issues/82