Files
5g_drone_ROS2/log/build_2023-04-17_13-33-36/beacon_positioning/stderr.log
Sem van der Hoeven bf9a652c82 add launch file
2023-04-17 14:46:59 +00:00

4.5 KiB
Raw Blame History

/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:119:19: error: ISO C++ forbids declaration of anchor_data_t with no type [-fpermissive]
119 | for (const &anchor_data_t : tracker_msg.anchors_data)
| ^~~~~~~~~~~~~
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:119:47: error: invalid initialization of reference of type const int& from expression of type const terabee::RtlsDevice::anchor_data_t
119 | for (const &anchor_data_t : tracker_msg.anchors_data)
| ^~~~~~~~~~~~
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:121:114: error: base operand of -> is not a pointer
121 | INFO(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);
| ^~
 
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:137: error: base operand of -> is not a pointer
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);
| ^~
 
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:162: error: base operand of -> is not a pointer
121 | tance = %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);
| ^~
 
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:184: error: base operand of -> is not a pointer
121 | = %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);
| ^~
 
/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:121:206: error: base operand of -> is not a pointer
121 | , anchor_data_t->number, anchor_data_t->distance, anchor_data_t->pos_x, anchor_data_t->pos_y, anchor_data_t->pos_z);
| ^~
 
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