Skip to content

ERROR: flag 'collect_metrics' was defined more than once #80

@xingguangsixian

Description

@xingguangsixian

Please provide information for your bug report:

  • if you're using cartographer_ros from source, provide the Git commit hash
    (via git log -1 --format="%H"):
    7433452

  • provide all information that is needed to analyze and reproduce the bug
    (logs, commands that have been used, ...)

[INFO] [launch]: All log files can be found below /home/eric/.ros/log/2025-06-03-07-33-36-799696-ubuntu-291741
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [robot_state_publisher-1]: process started with pid [291744]
[INFO] [cartographer_node-2]: process started with pid [291746]
[INFO] [cartographer_occupancy_grid_node-3]: process started with pid [291748]
[INFO] [rviz2-4]: process started with pid [291750]
[cartographer_node-2] ERROR: flag 'collect_metrics' was defined more than once (in files '/home/eric/workspace/cartographer_ws/src/cartographer_ros/cartographer_ros/src/offline_node.cpp' and '/home/eric/workspace/cartographer_ws/src/cartographer_ros/cartographer_ros/src/node_main.cpp').
[ERROR] [cartographer_node-2]: process has died [pid 291746, exit code 1, cmd '/home/eric/workspace/cartographer_ws/install/cartographer_ros/lib/cartographer_ros/cartographer_node -configuration_directory /home/eric/workspace/cartographer_ws/install/cartographer_ros/share/cartographer_ros/configuration_files -configuration_basename rslidar_3d.lua --ros-args --params-file /tmp/launch_params_qn_taz7m -r points2:=/rslidar_points -r imu:=/rslidar_imu_data'].
[robot_state_publisher-1] [INFO] [1748907216.853516580] [robot_state_publisher]: got segment base_link
[robot_state_publisher-1] [INFO] [1748907216.853568846] [robot_state_publisher]: got segment rslidar
[rviz2-4] [INFO] [1748907217.215770154] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-4] [INFO] [1748907217.215831911] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[rviz2-4] [INFO] [1748907217.227280006] [rviz2]: Stereo is NOT SUPPORTED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions