[0.115s] 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.292s] Scanning dependencies of target tracker_position [0.419s] [ 50%] Building CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o [6.962s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp: In lambda function: [6.963s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:119:19: error: ISO C++ forbids declaration of ‘anchor_data_t’ with no type [-fpermissive] [6.963s] 119 | for (const &anchor_data_t : tracker_msg.anchor_data) [6.963s] | ^~~~~~~~~~~~~ [6.964s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:119:47: error: ‘const struct terabee::RtlsDevice::tracker_msg_t’ has no member named ‘anchor_data’; did you mean ‘anchors_data’? [6.965s] 119 | for (const &anchor_data_t : tracker_msg.anchor_data) [6.965s] | ^~~~~~~~~~~ [6.966s] | anchors_data [6.966s] In file included from /opt/ros/foxy/include/rclcpp/client.hpp:40, [6.966s] from /opt/ros/foxy/include/rclcpp/callback_group.hpp:23, [6.967s] from /opt/ros/foxy/include/rclcpp/any_executable.hpp:20, [6.967s] from /opt/ros/foxy/include/rclcpp/memory_strategy.hpp:24, [6.967s] from /opt/ros/foxy/include/rclcpp/memory_strategies.hpp:18, [6.968s] from /opt/ros/foxy/include/rclcpp/executor_options.hpp:20, [6.968s] from /opt/ros/foxy/include/rclcpp/executor.hpp:33, [6.968s] from /opt/ros/foxy/include/rclcpp/executors/multi_threaded_executor.hpp:26, [6.969s] from /opt/ros/foxy/include/rclcpp/executors.hpp:21, [6.969s] from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, [6.969s] from /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:4: [6.970s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:115: error: request for member ‘number’ in ‘anchor_data_t’, which is of non-class type ‘const int’ [6.970s] 121 | NFO(node->get_logger(), "anchor number= %d, distance = %f, x = %f, y = %f, z = %f", anchor_data_t.number, anchor_data_t.distance, anchor_data_t.pos_x, anchor_data_t.pos_y, anchor_data_t.pos_z); [6.970s] | ^~~~~~ [6.971s] [6.971s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:137: error: request for member ‘distance’ in ‘anchor_data_t’, which is of non-class type ‘const int’ [6.971s] 121 | , "anchor number= %d, distance = %f, x = %f, y = %f, z = %f", anchor_data_t.number, anchor_data_t.distance, anchor_data_t.pos_x, anchor_data_t.pos_y, anchor_data_t.pos_z); [6.972s] | ^~~~~~~~ [6.972s] [6.973s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:161: error: request for member ‘pos_x’ in ‘anchor_data_t’, which is of non-class type ‘const int’ [6.973s] 121 | stance = %f, x = %f, y = %f, z = %f", anchor_data_t.number, anchor_data_t.distance, anchor_data_t.pos_x, anchor_data_t.pos_y, anchor_data_t.pos_z); [6.973s] | ^~~~~ [6.974s] [6.974s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:182: error: request for member ‘pos_y’ in ‘anchor_data_t’, which is of non-class type ‘const int’ [6.975s] 121 | y = %f, z = %f", anchor_data_t.number, anchor_data_t.distance, anchor_data_t.pos_x, anchor_data_t.pos_y, anchor_data_t.pos_z); [6.975s] | ^~~~~ [6.976s] [6.976s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:203: error: request for member ‘pos_z’ in ‘anchor_data_t’, which is of non-class type ‘const int’ [6.976s] 121 | or_data_t.number, anchor_data_t.distance, anchor_data_t.pos_x, anchor_data_t.pos_y, anchor_data_t.pos_z); [6.977s] | ^~~~~ [6.977s] [10.146s] make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1 [10.147s] make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/tracker_position.dir/all] Error 2 [10.148s] make: *** [Makefile:141: all] Error 2 [10.153s] 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