Skip to content

Syntax error in nav_costmap_2d, galactic #2944

@dimaxano

Description

@dimaxano

Bug report

Required Info:

  • Operating System:
    • Ubuntu 20.04.4 LTS
  • ROS2 Version:
    • Galactic binaries
  • Version or commit hash:
    • 1.0.9
  • DDS implementation:

Steps to reproduce issue

colcon build --packages-up-to nav2_costmap_2d

Expected behavior

Actual behavior

In file included from /opt/ros/galactic/include/rclcpp/client.hpp:40,
                 from /opt/ros/galactic/include/rclcpp/callback_group.hpp:23,
                 from /opt/ros/galactic/include/rclcpp/any_executable.hpp:20,
                 from /opt/ros/galactic/include/rclcpp/memory_strategy.hpp:25,
                 from /opt/ros/galactic/include/rclcpp/memory_strategies.hpp:18,
                 from /opt/ros/galactic/include/rclcpp/executor_options.hpp:20,
                 from /opt/ros/galactic/include/rclcpp/executor.hpp:36,
                 from /opt/ros/galactic/include/rclcpp/executors/multi_threaded_executor.hpp:26,
                 from /opt/ros/galactic/include/rclcpp/executors.hpp:21,
                 from /opt/ros/galactic/include/rclcpp/rclcpp.hpp:156,
                 from /home/ros/workspace/cmr_ros_ws/src/autonomy/navigation/navigation2/nav2_costmap_2d/include/nav2_costmap_2d/obstacle_layer.hpp:45,
                 from /home/ros/workspace/cmr_ros_ws/src/autonomy/navigation/navigation2/nav2_costmap_2d/plugins/obstacle_layer.cpp:39:
/home/ros/workspace/cmr_ros_ws/src/autonomy/navigation/navigation2/nav2_costmap_2d/plugins/obstacle_layer.cpp: In member function ‘virtual void nav2_costmap_2d::ObstacleLayer::raytraceFreespace(const nav2_costmap_2d::Observation&, double*, double*, double*, double*)’:
/home/ros/workspace/cmr_ros_ws/src/autonomy/navigation/navigation2/nav2_costmap_2d/plugins/obstacle_layer.cpp:570:5: error: expected primary-expression before ‘)’ token
  570 |     RCLCPP_WARN(
      |     ^~~~~~~~~~~

Additional information

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