|
发表于 2021-10-12 12:57:54
9413 浏览 4 回复
跑二维码系列识别demo报错
跑二维码demo(包括自主降落等,跑出来demo没有飞机)的时候报错,在虚拟机还能跑,今天在双系统按了一个prometheus 然后报错如下
[ERROR] [1634014221.890661, 0.000000]: Invalid XML: XML or text declaration not at start of entity: line 2, column 0
[vehicle_spawn_Fistmiaomiao_30913_4449712293076090576-5] process has died [pid 30979, exit code 1, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -sdf -file /home/fistmiaomiao/Prometheus/Simulator/gazebo_simulator/amov_models/p450_monocular/p450_monocular.sdf -model p450_monocular -x 0.0 -y 0.0 -z 0.05 -R 0.0 -P 0.0 -Y 0.0 __name:=vehicle_spawn_Fistmiaomiao_30913_4449712293076090576 __log:=/home/fistmiaomiao/.ros/log/e721e252-2b17-11ec-b2bf-9c7bef288b6c/vehicle_spawn_Fistmiaomiao_30913_4449712293076090576-5.log].
log file: /home/fistmiaomiao/.ros/log/e721e252-2b17-11ec-b2bf-9c7bef288b6c/vehicle_spawn_Fistmiaomiao_30913_4449712293076090576-5*.log
是不是sdf文件的问题,请问如何解决?
goodQ已获得悬赏 3 阿木币最佳答案
是xml文件定义的问题吧 Invalid XML: XML or text declaration not at start of entity: line 2, column 0 看下这句话呢
|
扫一扫浏览分享
|
|
|
|
|
|
|
发表于 2021-10-12 17:17:00
是xml文件定义的问题吧 Invalid XML: XML or text declaration not at start of entity: line 2, column 0 看下这句话呢 |
|
|
|
|
|
|
|
发表于 2021-10-13 09:21:02
你跑roslaunch prometheus_gazebo sitl_control.launch这个文件有问题吗 |
|
|
|
|
|
|
|
楼主|
发表于 2021-10-15 09:49:57
没有的,跑编队控制的都不行,跟二维码识别相关的才有问题 |
|
|
|
|
|
|
|
楼主|
发表于 2021-10-15 09:50:44
好的我看看,主要是我在笔记本跑没有问题,在台式机跑才有问题就没看 |
|
|
|
|
|
|
|