Zhefan-Xu / CERLAB-UAV-Autonomy

[CMU] A Versatile and Modular Framework Designed for Autonomous Unmanned Aerial Vehicles [UAVs] (C++/ROS/PX4)
MIT License
295 stars 40 forks source link

Run Autonomy DEMO 报错,Autonomous Navigation bug #12

Closed yimengweima0 closed 6 months ago

yimengweima0 commented 6 months ago

你好,我安装完所有环境后,跑你第一个demo a. Autonomous Navigation: Navigating to a given goal position and avoiding collisions.,运行第三个launch文件roslaunch autonomous_flight dynamic_navigation.launch,就会立马报错 image,跑Autonomous Navigation中的静态的导航是不报错的

yimengweima0 commented 6 months ago

跑了Autonomous Navigation的其他的launch文件,只要与dynamic相关的均不能跑,静态的倒是可以,gazebo的运行都是正常的 image

Zhefan-Xu commented 6 months ago

@yimengweima0 我在本地尝试了一下,并不能复现你说的错误。如果你能提供一下你的各种设置或者是找出哪一行代码报错的话,我可以看看可能的原因是什么

yimengweima0 commented 6 months ago

@Zhefan-Xu 谢谢你,我在我的ros noteic测试确实没问题,melodic测试有问题,现在已经找到问题来源了,就是global——planner中cmakelist中opencv版本应该改为find opencv 3.2,不然可能有opencv版本冲突导致上述问题