紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
运行demo_revo_lds.launch报错cartographer_node_1*log
-
zhaoyang@zydubuntu:~$ roslaunch gazebo_map demo_revo_lds.launch ... logging to /home/zhaoyang/.ros/log/d1331bc4-0d51-11ed-aea9-94e23c42dc13/roslaunch-zydubuntu-5974.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. started roslaunch server http://zydubuntu:42245/ SUMMARY ======== PARAMETERS * /rosdistro: melodic * /rosversion: 1.14.13 * /use_sim_time: True NODES / cartographer_node (cartographer_ros/cartographer_node) cartographer_occupancy_grid_node (cartographer_ros/cartographer_occupancy_grid_node) rviz (rviz/rviz) ROS_MASTER_URI=http://localhost:11311 process[cartographer_node-1]: started with pid [5989] process[cartographer_occupancy_grid_node-2]: started with pid [5990] process[rviz-3]: started with pid [5991] [ INFO] [1658888067.765558627]: I0727 10:14:27.000000 5989 configuration_file_resolver.cc:41] Found '/home/zhaoyang/gazebo_test_ws/src/gazebo_map/cfg/revo_lds.lua' for 'revo_lds.lua'. F0727 10:14:27.766356 5989 lua_parameter_dictionary.cc:83] Check failed: status == 0 (3 vs. 0) [string "-- Copyright 2016 The Cartographer Authors..."]:63: unexpected symbol near '=' 第一个错误:[FATAL] [1658888067.766559699]: F0727 10:14:27.000000 5989 lua_parameter_dictionary.cc:83] Check failed: status == 0 (3 vs. 0) [string "-- Copyright 2016 The Cartographer Authors..."]:63: unexpected symbol near '=' *** Check failure stack trace: *** @ 0x7f334cc750cd google::LogMessage::Fail() @ 0x7f334cc76f33 google::LogMessage::SendToLog() @ 0x7f334cc74c28 google::LogMessage::Flush() @ 0x7f334cc77999 google::LogMessageFatal::~LogMessageFatal() @ 0x561410bdb6a7 (unknown) @ 0x561410bdc5cc (unknown) @ 0x561410bdc82d (unknown) @ 0x561410bc5171 (unknown) @ 0x561410b98131 (unknown) @ 0x561410b964b4 (unknown) @ 0x7f3349bc2c87 __libc_start_main @ 0x561410b97e0a (unknown)
第二个错误:[cartographer_node-1] process has died [pid 5989, exit code -6, cmd /opt/ros/melodic/lib/cartographer_ros/cartographer_node -configuration_directory /home/zhaoyang/gazebo_test_ws/src/gazebo_map/cfg -configuration_basename revo_lds.lua scan:=scan __name:=cartographer_node __log:=/home/zhaoyang/.ros/log/d1331bc4-0d51-11ed-aea9-94e23c42dc13/cartographer_node-1.log].
log file: /home/zhaoyang/.ros/log/d1331bc4-0d51-11ed-aea9-94e23c42dc13/cartographer_node-1*.log -
@2230803362 在 运行demo_revo_lds.launch报错cartographer_node_1*log 中说:
]:63: unexpected symbol near '='
看错误是你的lua配置文件有问题哦,仔细检查下,应该是基本的语法错误