In file included from /opt/ros/foxy/include/rclcpp/service.hpp:34, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:25, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In function ‘int main(int, char**)’: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/service.hpp:34, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:25, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/service.hpp:34, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:25, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:5: error: template argument 1 is invalid 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^~~~~~~~~~~ /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:5: error: template argument 1 is invalid 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^~~~~~~~~~~ /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:5: error: template argument 1 is invalid 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^~~~~~~~~~~ In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:5: error: no matching function for call to ‘get_c_string()’ 120 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 0")); | ^~~~~~~~~~~ In file included from /opt/ros/foxy/include/rclcpp/client.hpp:36, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/utilities.hpp:296:1: note: candidate: ‘const char* rclcpp::get_c_string(const char*)’ 296 | get_c_string(const char * string_in); | ^~~~~~~~~~~~ /opt/ros/foxy/include/rclcpp/utilities.hpp:296:1: note:  candidate expects 1 argument, 0 provided /opt/ros/foxy/include/rclcpp/utilities.hpp:305:1: note: candidate: ‘const char* rclcpp::get_c_string(const string&)’ 305 | get_c_string(const std::string & string_in); | ^~~~~~~~~~~~ /opt/ros/foxy/include/rclcpp/utilities.hpp:305:1: note:  candidate expects 1 argument, 0 provided In file included from /opt/ros/foxy/include/rclcpp/service.hpp:34, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:25, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/service.hpp:34, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:25, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/service.hpp:34, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:25, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:5: error: template argument 1 is invalid 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^~~~~~~~~~~ /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:5: error: template argument 1 is invalid 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^~~~~~~~~~~ /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:5: error: template argument 1 is invalid 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^~~~~~~~~~~ In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:73: error: no matching function for call to ‘BeaconPositioningPublisher::get_logger(const char [38])’ 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note: candidate: ‘rclcpp::Logger rclcpp::Node::get_logger() const’ 139 | get_logger() const; | ^~~~~~~~~~ /opt/ros/foxy/include/rclcpp/node.hpp:139:3: note:  candidate expects 0 arguments, 1 provided In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:124:5: error: no matching function for call to ‘get_c_string()’ 124 | RCLCPP_INFO(node->get_logger("Configuring RTLS device for tracker 1")); | ^~~~~~~~~~~ In file included from /opt/ros/foxy/include/rclcpp/client.hpp:36, from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, from /opt/ros/foxy/include/rclcpp/executor.hpp:33, from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, from /opt/ros/foxy/include/rclcpp/executors.hpp:21, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: /opt/ros/foxy/include/rclcpp/utilities.hpp:296:1: note: candidate: ‘const char* rclcpp::get_c_string(const char*)’ 296 | get_c_string(const char * string_in); | ^~~~~~~~~~~~ /opt/ros/foxy/include/rclcpp/utilities.hpp:296:1: note:  candidate expects 1 argument, 0 provided /opt/ros/foxy/include/rclcpp/utilities.hpp:305:1: note: candidate: ‘const char* rclcpp::get_c_string(const string&)’ 305 | get_c_string(const std::string & string_in); | ^~~~~~~~~~~~ /opt/ros/foxy/include/rclcpp/utilities.hpp:305:1: note:  candidate expects 1 argument, 0 provided /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In lambda function: /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:133:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 133 | for (int i = 0; i < tracker_msg.anchors_data.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/tracker_position.dir/all] Error 2 make: *** [Makefile:141: all] Error 2