9.7 KiB
9.7 KiB
[0.116s] 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.305s] Scanning dependencies of target tracker_position
[0.341s] [ 3%] Built target beacon_positioning__cpp
[0.346s] [ 12%] Built target beacon_positioning__rosidl_generator_c
[0.441s] [ 21%] Built target beacon_positioning__rosidl_typesupport_introspection_cpp
[0.443s] [ 30%] Built target beacon_positioning__rosidl_typesupport_cpp
[0.452s] [ 39%] Built target beacon_positioning__rosidl_typesupport_fastrtps_cpp
[0.467s] [ 42%] Building CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o
[0.555s] [ 60%] Built target beacon_positioning__rosidl_typesupport_introspection_c
[0.556s] [ 60%] Built target beacon_positioning__rosidl_typesupport_c
[0.566s] [ 69%] Built target beacon_positioning__rosidl_typesupport_fastrtps_c
[0.645s] [ 69%] Built target beacon_positioning
[0.728s] [ 72%] Built target beacon_positioning__py
[0.829s] [ 78%] Built target beacon_positioning__python
[0.940s] [ 84%] Built target beacon_positioning__rosidl_typesupport_introspection_c__pyext
[0.945s] [ 90%] Built target beacon_positioning__rosidl_typesupport_c__pyext
[0.947s] [ 96%] Built target beacon_positioning__rosidl_typesupport_fastrtps_c__pyext
[5.933s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In constructor ‘BeaconPositioningPublisher::BeaconPositioningPublisher()’:
[5.934s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:25:59: error: no matching function for call to ‘terabee::RtlsDevice::RtlsDevice()’
[5.934s] 25 | BeaconPositioningPublisher() : Node("beacon_positioning")
[5.934s] | ^
[5.935s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.935s] /usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate: ‘terabee::RtlsDevice::RtlsDevice(std::shared_ptr<terabee::serial_communication::ISerial>, int)’
[5.935s] 114 | RtlsDevice(std::shared_ptr<serial_communication::ISerial> serialIf,
[5.936s] | ^~~~~~~~~~
[5.936s] /usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate expects 2 arguments, 0 provided
[5.974s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:38:50: error: use of deleted function ‘terabee::RtlsDevice& terabee::RtlsDevice::operator=(const terabee::RtlsDevice&)’
[5.975s] 38 | rtls_device = terabee::RtlsDevice(serial_port);
[5.976s] | ^
[5.976s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.977s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: note: ‘terabee::RtlsDevice& terabee::RtlsDevice::operator=(const terabee::RtlsDevice&)’ is implicitly deleted because the default definition would be ill-formed:
[5.977s] 13 | class RtlsDevice
[5.977s] | ^~~~~~~~~~
[5.978s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: use of deleted function ‘std::thread& std::thread::operator=(const std::thread&)’
[5.978s] In file included from /usr/include/c++/9/future:39,
[5.979s] from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
[5.979s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
[5.979s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
[5.980s] /usr/include/c++/9/thread:147:13: note: declared here
[5.980s] 147 | thread& operator=(const thread&) = delete;
[5.980s] | ^~~~~~~~
[5.981s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.981s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: use of deleted function ‘std::atomic<bool>& std::atomic<bool>::operator=(const std::atomic<bool>&)’
[5.982s] 13 | class RtlsDevice
[5.982s] | ^~~~~~~~~~
[5.982s] In file included from /usr/include/c++/9/future:42,
[5.983s] from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
[5.983s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
[5.983s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
[5.984s] /usr/include/c++/9/atomic:74:13: note: declared here
[5.984s] 74 | atomic& operator=(const atomic&) = delete;
[5.984s] | ^~~~~~~~
[5.985s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.985s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: non-static const member ‘const float terabee::RtlsDevice::MM_TO_M_FACTOR’, can’t use default assignment operator
[5.985s] 13 | class RtlsDevice
[5.986s] | ^~~~~~~~~~
[5.986s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: non-static const member ‘const float terabee::RtlsDevice::DEG_TO_RAD_FACTOR’, can’t use default assignment operator
[5.987s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: passing ‘const std::map<terabee::RtlsDevice::device_params, std::__cxx11::basic_string<char> >’ as ‘this’ argument discards qualifiers [-fpermissive]
[5.987s] In file included from /usr/include/c++/9/map:61,
[5.987s] from /opt/ros/foxy/include/rclcpp/client.hpp:20,
[5.988s] from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23,
[5.988s] from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20,
[5.988s] from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24,
[5.989s] from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18,
[5.989s] from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20,
[5.989s] from /opt/ros/foxy/include/rclcpp/executor.hpp:33,
[5.989s] from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26,
[5.990s] from /opt/ros/foxy/include/rclcpp/executors.hpp:21,
[5.990s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
[5.991s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
[5.991s] /usr/include/c++/9/bits/stl_map.h:317:7: note: in call to ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = terabee::RtlsDevice::device_params; _Tp = std::__cxx11::basic_string<char>; _Compare = std::less<terabee::RtlsDevice::device_params>; _Alloc = std::allocator<std::pair<const terabee::RtlsDevice::device_params, std::__cxx11::basic_string<char> > >]’
[5.991s] 317 | operator=(const map&) = default;
[5.992s] | ^~~~~~~~
[6.076s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In lambda function:
[6.076s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:152:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<terabee::RtlsDevice::anchor_data_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
[6.077s] 152 | for (int i = 0; i < tracker_msg.anchors_data.size(); i++)
[6.077s] | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.081s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:163:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<terabee::RtlsDevice::anchor_data_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
[6.081s] 163 | for (int i = 0; i < tracker_msg.anchors_data.size(); i++)
[6.082s] | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9.745s] make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1
[9.746s] make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/tracker_position.dir/all] Error 2
[9.747s] make: *** [Makefile:141: all] Error 2
[9.752s] 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
[0.305s] Scanning dependencies of target tracker_position
[0.341s] [ 3%] Built target beacon_positioning__cpp
[0.346s] [ 12%] Built target beacon_positioning__rosidl_generator_c
[0.441s] [ 21%] Built target beacon_positioning__rosidl_typesupport_introspection_cpp
[0.443s] [ 30%] Built target beacon_positioning__rosidl_typesupport_cpp
[0.452s] [ 39%] Built target beacon_positioning__rosidl_typesupport_fastrtps_cpp
[0.467s] [ 42%] Building CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o
[0.555s] [ 60%] Built target beacon_positioning__rosidl_typesupport_introspection_c
[0.556s] [ 60%] Built target beacon_positioning__rosidl_typesupport_c
[0.566s] [ 69%] Built target beacon_positioning__rosidl_typesupport_fastrtps_c
[0.645s] [ 69%] Built target beacon_positioning
[0.728s] [ 72%] Built target beacon_positioning__py
[0.829s] [ 78%] Built target beacon_positioning__python
[0.940s] [ 84%] Built target beacon_positioning__rosidl_typesupport_introspection_c__pyext
[0.945s] [ 90%] Built target beacon_positioning__rosidl_typesupport_c__pyext
[0.947s] [ 96%] Built target beacon_positioning__rosidl_typesupport_fastrtps_c__pyext
[5.933s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In constructor ‘BeaconPositioningPublisher::BeaconPositioningPublisher()’:
[5.934s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:25:59: error: no matching function for call to ‘terabee::RtlsDevice::RtlsDevice()’
[5.934s] 25 | BeaconPositioningPublisher() : Node("beacon_positioning")
[5.934s] | ^
[5.935s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.935s] /usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate: ‘terabee::RtlsDevice::RtlsDevice(std::shared_ptr<terabee::serial_communication::ISerial>, int)’
[5.935s] 114 | RtlsDevice(std::shared_ptr<serial_communication::ISerial> serialIf,
[5.936s] | ^~~~~~~~~~
[5.936s] /usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate expects 2 arguments, 0 provided
[5.974s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:38:50: error: use of deleted function ‘terabee::RtlsDevice& terabee::RtlsDevice::operator=(const terabee::RtlsDevice&)’
[5.975s] 38 | rtls_device = terabee::RtlsDevice(serial_port);
[5.976s] | ^
[5.976s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.977s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: note: ‘terabee::RtlsDevice& terabee::RtlsDevice::operator=(const terabee::RtlsDevice&)’ is implicitly deleted because the default definition would be ill-formed:
[5.977s] 13 | class RtlsDevice
[5.977s] | ^~~~~~~~~~
[5.978s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: use of deleted function ‘std::thread& std::thread::operator=(const std::thread&)’
[5.978s] In file included from /usr/include/c++/9/future:39,
[5.979s] from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
[5.979s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
[5.979s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
[5.980s] /usr/include/c++/9/thread:147:13: note: declared here
[5.980s] 147 | thread& operator=(const thread&) = delete;
[5.980s] | ^~~~~~~~
[5.981s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.981s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: use of deleted function ‘std::atomic<bool>& std::atomic<bool>::operator=(const std::atomic<bool>&)’
[5.982s] 13 | class RtlsDevice
[5.982s] | ^~~~~~~~~~
[5.982s] In file included from /usr/include/c++/9/future:42,
[5.983s] from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
[5.983s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
[5.983s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
[5.984s] /usr/include/c++/9/atomic:74:13: note: declared here
[5.984s] 74 | atomic& operator=(const atomic&) = delete;
[5.984s] | ^~~~~~~~
[5.985s] In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
[5.985s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: non-static const member ‘const float terabee::RtlsDevice::MM_TO_M_FACTOR’, can’t use default assignment operator
[5.985s] 13 | class RtlsDevice
[5.986s] | ^~~~~~~~~~
[5.986s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: non-static const member ‘const float terabee::RtlsDevice::DEG_TO_RAD_FACTOR’, can’t use default assignment operator
[5.987s] /usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: passing ‘const std::map<terabee::RtlsDevice::device_params, std::__cxx11::basic_string<char> >’ as ‘this’ argument discards qualifiers [-fpermissive]
[5.987s] In file included from /usr/include/c++/9/map:61,
[5.987s] from /opt/ros/foxy/include/rclcpp/client.hpp:20,
[5.988s] from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23,
[5.988s] from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20,
[5.988s] from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24,
[5.989s] from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18,
[5.989s] from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20,
[5.989s] from /opt/ros/foxy/include/rclcpp/executor.hpp:33,
[5.989s] from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26,
[5.990s] from /opt/ros/foxy/include/rclcpp/executors.hpp:21,
[5.990s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
[5.991s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
[5.991s] /usr/include/c++/9/bits/stl_map.h:317:7: note: in call to ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = terabee::RtlsDevice::device_params; _Tp = std::__cxx11::basic_string<char>; _Compare = std::less<terabee::RtlsDevice::device_params>; _Alloc = std::allocator<std::pair<const terabee::RtlsDevice::device_params, std::__cxx11::basic_string<char> > >]’
[5.991s] 317 | operator=(const map&) = default;
[5.992s] | ^~~~~~~~
[6.076s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In lambda function:
[6.076s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:152:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<terabee::RtlsDevice::anchor_data_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
[6.077s] 152 | for (int i = 0; i < tracker_msg.anchors_data.size(); i++)
[6.077s] | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.081s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:163:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<terabee::RtlsDevice::anchor_data_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
[6.081s] 163 | for (int i = 0; i < tracker_msg.anchors_data.size(); i++)
[6.082s] | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9.745s] make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1
[9.746s] make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/tracker_position.dir/all] Error 2
[9.747s] make: *** [Makefile:141: all] Error 2
[9.752s] 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