ros-navigation / docs.nav2.org

https://docs.nav2.org/
https://docs.nav2.org/
Apache License 2.0
90 stars 184 forks source link

Fix planner_server parameters config example #404

Closed rfzeg closed 1 year ago

rfzeg commented 1 year ago
[planner_server-3] [ERROR] [1678443929.379055702] [rcl]: Failed to parse global arguments
[planner_server-3] terminate called after throwing an instance of 'rclcpp::exceptions::RCLInvalidROSArgsError'
[planner_server-3]   what():  failed to initialize rcl: Couldn't parse params file: '--params-file /home/user/ros2_ws/install/path_planner_server/share/path_planner_server/config/planner_server.yaml'. Error: Cannot have a value before ros__parameters at line 12, at /tmp/binarydeb/ros-galactic-rcl-yaml-param-parser-3.1.3/src/parse.c:793, at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/arguments.c:406

Correct indentation shows expected output:

[planner_server-3] [INFO] [1678444203.186597809] [planner_server]:
[planner_server-3]      planner_server lifecycle node launched.
[planner_server-3]      Waiting on external lifecycle transitions to activate
[planner_server-3]      See https://design.ros2.org/articles/node_lifecycle.html for more information.
[planner_server-3] [INFO] [1678444203.220639494] [planner_server]: Creating