问题遇到的现象和发生背景
项目源码
https://github.com/robo-friends/m-explore-ros2#multirobot-map-merge
问题相关代码,请勿粘贴截图
nomb@nomb-virtual-machine:~/ros_ws$ ros2 run explore_lite explore --ros-args --params-file ros_ws/src/m-explore/explore/config/params.yaml
运行结果及报错内容
[ERROR] [1648794696.922113408] [rcl]: Failed to parse global arguments
terminate called after throwing an instance of 'rclcpp::exceptions::RCLInvalidROSArgsError'
what(): failed to initialize rcl: Couldn't parse params file: '--params-file ros_ws/src/m-explore/explore/config/params.yaml'. Error: Error opening YAML file, at /tmp/binarydeb/ros-foxy-rcl-yaml-param-parser-1.1.13/src/parser.c:198, at /tmp/binarydeb/ros-foxy-rcl-1.1.13/src/rcl/arguments.c:388