繁体   English   中英

当我运行 roslaunch 命令时,出现 RLException 错误

[英]When I run the roslaunch command, an RLException error occurs

正文与标题相同。 我在谷歌上尝试了各种方法来解决这个错误。 但它不起作用,所以我需要你的帮助。 欢迎任何人,请帮我解决这个错误。

awesometech@awesometech:~/catkin_ws$ roslaunch urs_wearable world.launch

... logging to /home/awesometech/.ros/log/165b93fc-9d30-11ed-967c-a99cf3fa13f4/roslaunch-awesometech-4851.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: while processing /home/awesometech/catkin_ws/src/URSSimEnvironments/urs_wearable/launch/world.launch:
while processing /home/awesometech/catkin_ws/src/URSSimEnvironments/urs_wearable/launch/world.launch:
..
Invalid tag: maximum recursion depth exceeded while calling a Python object.

Arg xml is
The traceback for the exception was written to the log file

这是我的代码,我认为这段代码没有错误。

<?xml version="1.0"?>
<launch>
<include file="$(find urs_wearable)/launch/world.launch">
<arg name="world" value="$(find urs_wearable)/worlds/test.world" />
<arg name="reference_latitude" value="32.319939" />
<arg name="reference_longitude" value="-106.763657" />
</include>
</launch>

看起来你的启动文件包括它自己。 这会产生循环依赖,因为它永远不会停止尝试包含自己。 删除以下行:

<include file="$(find urs_wearable)/launch/world.launch">

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM