Skip to content

Fix deprecated rclcpp::spin_some warnings and use modern executor pattern #960

Description

@BOOPESH-foxy

Problem

The codebase currently uses the deprecated free function rclcpp::spin_some(node) which generates 50+ compiler warnings:

Affected files:

  • src/ros_robot_localization_listener.cpp
  • test/test_ros_robot_localization_listener.cpp
  • test/test_filter_base_diagnostics_timestamps.cpp
  • test/test_se_node_interfaces.cpp
  • test/test_localization_node_bag_pose_tester.cpp
  • test/test_ros_robot_localization_listener_publisher.cpp

Solution

Replace deprecated rclcpp::spin_some(node) with modern executor pattern:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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