Comments (4)
错误原因:devel/include/filter无PointArray.h
解决方法:
1.打开src/Active-SLAM-with-Cartographer/filter/CMakeLists.txt,添加
catkin_package(
CATKIN_DEPENDS geometry_msgs roscpp rospy std_msgs message_runtime
)
2.在同目录下的package.xml文件中添加
<build_depend>roscpp</build_depend>
<build_depend>rospy</build_depend>
<build_depend>std_msgs</build_depend>
<build_export_depend>roscpp</build_export_depend>
<build_export_depend>rospy</build_export_depend>
<build_export_depend>std_msgs</build_export_depend>
<exec_depend>roscpp</exec_depend>
<exec_depend>rospy</exec_depend>
<exec_depend>std_msgs</exec_depend>
from active-slam-with-cartographer.
错误原因:devel/include/filter无PointArray.h
解决方法:
1.打开src/Active-SLAM-with-Cartographer/filter/CMakeLists.txt,添加
catkin_package(
CATKIN_DEPENDS geometry_msgs roscpp rospy std_msgs message_runtime
)
2.在同目录下的package.xml文件中添加
<build_depend>roscpp</build_depend>
<build_depend>rospy</build_depend>
<build_depend>std_msgs</build_depend>
<build_export_depend>roscpp</build_export_depend>
<build_export_depend>rospy</build_export_depend>
<build_export_depend>std_msgs</build_export_depend>
<exec_depend>roscpp</exec_depend>
<exec_depend>rospy</exec_depend>
<exec_depend>std_msgs</exec_depend>
感谢您的回复!已添加,但问题仍未解决,还是报这个错误:fatal error: filter/PointArray.h: 没有那个文件或目录
from active-slam-with-cartographer.
请问您提供的源码中,src/Active-SLAM-with-Cartographer/filter/CMakeLists.txt中,是否要取消掉
find_package(catkin REQUIRED COMPONENTS
rrt_exploration
)这句的注释呢?
下载下来的源码中这句被注释掉了
from active-slam-with-cartographer.
我没有取消掉
find_package(catkin REQUIRED COMPONENTS
rrt_exploration
)这句注释。
你可以尝试清除之前编译的内容,再次编译。
一般这种自定义消息找不到头文件的问题主要就是在cmakelist.txt和package.xml里面进行配置,你可以看看网上相关ros自定义消息如何配置的教程。
from active-slam-with-cartographer.
Related Issues (9)
- 代码是否还没完全开源? HOT 1
- protobuf版本要求 HOT 1
- cannot import name PoseConvenience HOT 2
- 请问你这 Active-SLAM-with-Cartographer 代码怎么运行起来呢? HOT 1
- Built target abseil HOT 1
- 如果你已经装了很新的cartographer,千万别用这个仓库的cartographer版本,否则会造成大麻烦 HOT 1
- Problems running yuor dataset in the Paper-Version branch
- Map gets lost after some time on KITTI Run 007 at turns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active-slam-with-cartographer.