[0.117s] Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4 [0.293s] Scanning dependencies of target tracker_position [0.417s] [ 50%] Building CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o [6.812s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:81:33: error: ‘std_msgs::msg’ is not a type [6.812s] 81 | void timer_callback(std_msgs::msg msg) [6.813s] | ^~~ [6.881s] In file included from /opt/ros/foxy/include/rclcpp/context.hpp:19, [6.881s] from /opt/ros/foxy/include/rclcpp/contexts/default_context.hpp:18, [6.881s] from /opt/ros/foxy/include/rclcpp/executor.hpp:32, [6.882s] from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, [6.882s] from /opt/ros/foxy/include/rclcpp/executors.hpp:21, [6.882s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.883s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.883s] /usr/include/c++/9/functional: In instantiation of ‘struct std::_Bind_check_arity’: [6.884s] /usr/include/c++/9/functional:787:12: required from ‘struct std::_Bind_helper’ [6.884s] /usr/include/c++/9/functional:808:5: required by substitution of ‘template typename std::_Bind_helper::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (BeaconPositioningPublisher::*)(int); _BoundArgs = {BeaconPositioningPublisher*}]’ [6.884s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:42:75: required from here [6.885s] /usr/include/c++/9/functional:775:7: error: static assertion failed: Wrong number of arguments for pointer-to-member [6.885s] 774 | static_assert(_Varargs::value [6.885s] | ~~~~~ [6.886s] 775 |  ? sizeof...(_BoundArgs) >= _Arity::value + 1 [6.886s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [6.886s] 776 |  : sizeof...(_BoundArgs) == _Arity::value + 1, [6.886s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [6.903s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In constructor ‘BeaconPositioningPublisher::BeaconPositioningPublisher()’: [6.903s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:42:76: error: no matching function for call to ‘BeaconPositioningPublisher::create_wall_timer(std::chrono::milliseconds, std::_Bind_helper::type)’ [6.904s] 42 | 500ms, std::bind(&BeaconPositioningPublisher::timer_callback, this)); [6.904s] | ^ [6.904s] In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, [6.905s] from /opt/ros/foxy/include/rclcpp/executors.hpp:22, [6.905s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.906s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.906s] /opt/ros/foxy/include/rclcpp/node.hpp:232:3: note: candidate: ‘template typename rclcpp::WallTimer::SharedPtr rclcpp::Node::create_wall_timer(std::chrono::duration<_Rep1, _Period1>, CallbackT, rclcpp::CallbackGroup::SharedPtr)’ [6.906s] 232 | create_wall_timer( [6.906s] | ^~~~~~~~~~~~~~~~~ [6.907s] /opt/ros/foxy/include/rclcpp/node.hpp:232:3: note:  template argument deduction/substitution failed: [6.907s] In file included from /opt/ros/foxy/include/rclcpp/node.hpp:1224, [6.908s] from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, [6.908s] from /opt/ros/foxy/include/rclcpp/executors.hpp:22, [6.908s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.909s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.909s] /opt/ros/foxy/include/rclcpp/node_impl.hpp: In substitution of ‘template typename rclcpp::WallTimer::SharedPtr rclcpp::Node::create_wall_timer(std::chrono::duration<_Rep1, _Period1>, CallbackT, rclcpp::CallbackGroup::SharedPtr) [with DurationRepT = long int; DurationT = std::ratio<1, 1000>; CallbackT = std::_Bind]’: [6.909s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:42:76: required from here [6.910s] /opt/ros/foxy/include/rclcpp/node_impl.hpp:109:1: error: no type named ‘type’ in ‘struct std::enable_if’ [6.910s] 109 | Node::create_wall_timer( [6.910s] | ^~~~ [6.911s] /opt/ros/foxy/include/rclcpp/node_impl.hpp:109:1: error: no type named ‘type’ in ‘struct std::enable_if’ [6.911s] /opt/ros/foxy/include/rclcpp/node_impl.hpp:109:1: note: invalid template non-type parameter [6.927s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In member function ‘void BeaconPositioningPublisher::publish()’: [6.928s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:77:25: error: ‘msg’ was not declared in this scope [6.928s] 77 | publisher_->publish(msg); [6.928s] | ^~~ [6.929s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:77:25: note: suggested alternatives: [6.929s] In file included from /opt/ros/foxy/include/builtin_interfaces/msg/duration.hpp:7, [6.929s] from /opt/ros/foxy/include/rclcpp/duration.hpp:20, [6.930s] from /opt/ros/foxy/include/rclcpp/qos.hpp:20, [6.930s] from /opt/ros/foxy/include/rclcpp/node_interfaces/node_graph_interface.hpp:31, [6.930s] from /opt/ros/foxy/include/rclcpp/client.hpp:34, [6.931s] from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, [6.931s] from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, [6.931s] from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, [6.932s] from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, [6.932s] from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, [6.932s] from /opt/ros/foxy/include/rclcpp/executor.hpp:33, [6.933s] from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, [6.933s] from /opt/ros/foxy/include/rclcpp/executors.hpp:21, [6.934s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.934s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.934s] /opt/ros/foxy/include/builtin_interfaces/msg/detail/duration__struct.hpp:26:11: note:  ‘builtin_interfaces::msg’ [6.934s] 26 | namespace msg [6.935s] | ^~~ [6.935s] In file included from /opt/ros/foxy/include/statistics_msgs/msg/detail/metrics_message__struct.hpp:22, [6.936s] from /opt/ros/foxy/include/statistics_msgs/msg/metrics_message.hpp:7, [6.936s] from /opt/ros/foxy/include/libstatistics_collector/collector/generate_statistics_message.hpp:21, [6.936s] from /opt/ros/foxy/include/rclcpp/topic_statistics/subscription_topic_statistics.hpp:23, [6.937s] from /opt/ros/foxy/include/rclcpp/subscription.hpp:50, [6.937s] from /opt/ros/foxy/include/rclcpp/any_executable.hpp:25, [6.937s] from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, [6.938s] from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, [6.938s] from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, [6.938s] from /opt/ros/foxy/include/rclcpp/executor.hpp:33, [6.938s] from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, [6.939s] from /opt/ros/foxy/include/rclcpp/executors.hpp:21, [6.939s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.939s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.940s] /opt/ros/foxy/include/statistics_msgs/msg/detail/statistic_data_point__struct.hpp:26:11: note:  ‘statistics_msgs::msg’ [6.940s] 26 | namespace msg [6.940s] | ^~~ [6.941s] In file included from /opt/ros/foxy/include/rcl_interfaces/msg/list_parameters_result.hpp:7, [6.941s] from /opt/ros/foxy/include/rclcpp/node.hpp:34, [6.942s] from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, [6.942s] from /opt/ros/foxy/include/rclcpp/executors.hpp:22, [6.943s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.943s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.943s] /opt/ros/foxy/include/rcl_interfaces/msg/detail/list_parameters_result__struct.hpp:26:11: note:  ‘rcl_interfaces::msg’ [6.944s] 26 | namespace msg [6.944s] | ^~~ [6.944s] In file included from /opt/ros/foxy/include/std_msgs/msg/string.hpp:7, [6.945s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:5: [6.945s] /opt/ros/foxy/include/std_msgs/msg/detail/string__struct.hpp:26:11: note:  ‘std_msgs::msg’ [6.945s] 26 | namespace msg [6.946s] | ^~~ [6.955s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In member function ‘void BeaconPositioningPublisher::timer_callback(int)’: [6.956s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:81:37: warning: unused parameter ‘msg’ [-Wunused-parameter] [6.956s] 81 | void timer_callback(std_msgs::msg msg) [6.956s] | ~~~~~~~~~~~~~~^~~ [6.975s] In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, [6.975s] from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, [6.976s] from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, [6.976s] from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, [6.977s] from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, [6.977s] from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, [6.977s] from /opt/ros/foxy/include/rclcpp/executor.hpp:33, [6.977s] from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, [6.978s] from /opt/ros/foxy/include/rclcpp/executors.hpp:21, [6.978s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.978s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.979s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In lambda function: [6.979s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:117:89: error: ‘const struct terabee::RtlsDevice::tracker_msg_t’ has no member named ‘label’ [6.980s] 117 | RCLCPP_INFO(node->get_logger(), "Tracker %d: x = %f, y = %f, z = %f", tracker_msg.label, tracker_msg.x, tracker_msg.y, tracker_msg.z); [6.980s] | ^~~~~ [6.980s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:117:108: error: ‘const struct terabee::RtlsDevice::tracker_msg_t’ has no member named ‘x’ [6.981s] 117 | RCLCPP_INFO(node->get_logger(), "Tracker %d: x = %f, y = %f, z = %f", tracker_msg.label, tracker_msg.x, tracker_msg.y, tracker_msg.z); [6.981s] | ^ [6.982s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:117:123: error: ‘const struct terabee::RtlsDevice::tracker_msg_t’ has no member named ‘y’ [6.982s] 117 | RCLCPP_INFO(node->get_logger(), "Tracker %d: x = %f, y = %f, z = %f", tracker_msg.label, tracker_msg.x, tracker_msg.y, tracker_msg.z); [6.982s] | ^ [6.983s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:117:138: error: ‘const struct terabee::RtlsDevice::tracker_msg_t’ has no member named ‘z’ [6.983s] 117 | RCLCPP_INFO(node->get_logger(), "Tracker %d: x = %f, y = %f, z = %f", tracker_msg.label, tracker_msg.x, tracker_msg.y, tracker_msg.z); [6.983s] | ^ [6.984s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:120:28: error: no matching function for call to ‘BeaconPositioningPublisher::publish(std_msgs::msg::String_ >&)’ [6.984s] 120 | node->publish(message); [6.984s] | ^ [6.985s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:75:8: note: candidate: ‘void BeaconPositioningPublisher::publish()’ [6.985s] 75 | void publish() [6.985s] | ^~~~~~~ [6.986s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:75:8: note:  candidate expects 0 arguments, 1 provided [8.894s] In file included from /usr/include/aarch64-linux-gnu/c++/9/bits/c++allocator.h:33, [8.894s] from /usr/include/c++/9/bits/allocator.h:46, [8.895s] from /usr/include/c++/9/memory:63, [8.895s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:144, [8.895s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [8.896s] /usr/include/c++/9/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = terabee::RtlsDevice; _Args = {terabee::RtlsDevice&}; _Tp = terabee::RtlsDevice]’: [8.896s] /usr/include/c++/9/bits/alloc_traits.h:483:4: required from ‘static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = terabee::RtlsDevice; _Args = {terabee::RtlsDevice&}; _Tp = terabee::RtlsDevice; std::allocator_traits >::allocator_type = std::allocator]’ [8.897s] /usr/include/c++/9/bits/shared_ptr_base.h:548:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {terabee::RtlsDevice&}; _Tp = terabee::RtlsDevice; _Alloc = std::allocator; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’ [8.897s] /usr/include/c++/9/bits/shared_ptr_base.h:679:16: required from ‘std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = terabee::RtlsDevice; _Alloc = std::allocator; _Args = {terabee::RtlsDevice&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’ [8.897s] /usr/include/c++/9/bits/shared_ptr_base.h:1344:71: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator; _Args = {terabee::RtlsDevice&}; _Tp = terabee::RtlsDevice; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’ [8.898s] /usr/include/c++/9/bits/shared_ptr.h:359:59: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator; _Args = {terabee::RtlsDevice&}; _Tp = terabee::RtlsDevice]’ [8.898s] /usr/include/c++/9/bits/shared_ptr.h:701:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = terabee::RtlsDevice; _Alloc = std::allocator; _Args = {terabee::RtlsDevice&}]’ [8.899s] /usr/include/c++/9/bits/shared_ptr.h:717:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = terabee::RtlsDevice; _Args = {terabee::RtlsDevice&}]’ [8.899s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:111:75: required from here [8.899s] /usr/include/c++/9/ext/new_allocator.h:146:4: error: use of deleted function ‘terabee::RtlsDevice::RtlsDevice(const terabee::RtlsDevice&)’ [8.900s] 146 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } [8.900s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [8.900s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:7: [8.901s] /usr/local/include/rtls_driver/rtls_driver.hpp:116:3: note: declared here [8.901s] 116 | RtlsDevice(const RtlsDevice &other) = delete; [8.901s] | ^~~~~~~~~~ [9.879s] make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1 [9.880s] make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/tracker_position.dir/all] Error 2 [9.881s] make: *** [Makefile:141: all] Error 2 [9.886s] Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4