7.5 KiB
7.5 KiB
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In constructor ‘BeaconPositioningPublisher::BeaconPositioningPublisher()’:
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:25:59: error: no matching function for call to ‘terabee::RtlsDevice::RtlsDevice()’
25 | BeaconPositioningPublisher() : Node("beacon_positioning")
| ^
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate: ‘terabee::RtlsDevice::RtlsDevice(std::shared_ptr<terabee::serial_communication::ISerial>, int)’
114 | RtlsDevice(std::shared_ptr<serial_communication::ISerial> serialIf,
| ^~~~~~~~~~
/usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate expects 2 arguments, 0 provided
/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&)’
38 | rtls_device = terabee::RtlsDevice(serial_port);
| ^
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/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:
13 | class RtlsDevice
| ^~~~~~~~~~
/usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: use of deleted function ‘std::thread& std::thread::operator=(const std::thread&)’
In file included from /usr/include/c++/9/future:39,
from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
/usr/include/c++/9/thread:147:13: note: declared here
147 | thread& operator=(const thread&) = delete;
| ^~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/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>&)’
13 | class RtlsDevice
| ^~~~~~~~~~
In file included from /usr/include/c++/9/future:42,
from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
/usr/include/c++/9/atomic:74:13: note: declared here
74 | atomic& operator=(const atomic&) = delete;
| ^~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/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
13 | class RtlsDevice
| ^~~~~~~~~~
/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
/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]
In file included from /usr/include/c++/9/map:61,
from /opt/ros/foxy/include/rclcpp/client.hpp:20,
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:
/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> > >]’
317 | operator=(const map&) = default;
| ^~~~~~~~
/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: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]
152 | for (int i = 0; i < tracker_msg.anchors_data.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
163 | 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:123: CMakeFiles/tracker_position.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:25:59: error: no matching function for call to ‘terabee::RtlsDevice::RtlsDevice()’
25 | BeaconPositioningPublisher() : Node("beacon_positioning")
| ^
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate: ‘terabee::RtlsDevice::RtlsDevice(std::shared_ptr<terabee::serial_communication::ISerial>, int)’
114 | RtlsDevice(std::shared_ptr<serial_communication::ISerial> serialIf,
| ^~~~~~~~~~
/usr/local/include/rtls_driver/rtls_driver.hpp:114:3: note: candidate expects 2 arguments, 0 provided
/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&)’
38 | rtls_device = terabee::RtlsDevice(serial_port);
| ^
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/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:
13 | class RtlsDevice
| ^~~~~~~~~~
/usr/local/include/rtls_driver/rtls_driver.hpp:13:7: error: use of deleted function ‘std::thread& std::thread::operator=(const std::thread&)’
In file included from /usr/include/c++/9/future:39,
from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
/usr/include/c++/9/thread:147:13: note: declared here
147 | thread& operator=(const thread&) = delete;
| ^~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/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>&)’
13 | class RtlsDevice
| ^~~~~~~~~~
In file included from /usr/include/c++/9/future:42,
from /opt/ros/foxy/include/rclcpp/executors.hpp:18,
from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146,
from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4:
/usr/include/c++/9/atomic:74:13: note: declared here
74 | atomic& operator=(const atomic&) = delete;
| ^~~~~~~~
In file included from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:8:
/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
13 | class RtlsDevice
| ^~~~~~~~~~
/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
/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]
In file included from /usr/include/c++/9/map:61,
from /opt/ros/foxy/include/rclcpp/client.hpp:20,
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:
/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> > >]’
317 | operator=(const map&) = default;
| ^~~~~~~~
/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: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]
152 | for (int i = 0; i < tracker_msg.anchors_data.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
163 | 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:123: CMakeFiles/tracker_position.dir/all] Error 2
make: *** [Makefile:141: all] Error 2