流程通

This commit is contained in:
flower
2026-01-19 20:31:11 +08:00
parent 056289625c
commit 1600ae8040
252 changed files with 39586 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,115 @@
[0.054s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build', '--symlink-install', '--cmake-args', '-DCMAKE_BUILD_TYPE=Release']
[0.054s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=True, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=24, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=['-DCMAKE_BUILD_TYPE=Release'], cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7f7259a42d10>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7f7259b881c0>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7f7259b881c0>>)
[0.137s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.137s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.137s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.137s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.138s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.138s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.138s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/flower/code/camera/flyLink/skylink_ros2'
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.138s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['cmake', 'python']
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'cmake'
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python'
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['python_setup_py']
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python_setup_py'
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extensions ['ignore', 'ignore_ament_install']
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extension 'ignore'
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(build) ignored
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extensions ['ignore', 'ignore_ament_install']
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extension 'ignore'
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(install) ignored
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extensions ['ignore', 'ignore_ament_install']
[0.144s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extension 'ignore'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(log) ignored
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ignore', 'ignore_ament_install']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore_ament_install'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_pkg']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_pkg'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_meta']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_meta'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ros']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ros'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['cmake', 'python']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'cmake'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['python_setup_py']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python_setup_py'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['ignore', 'ignore_ament_install']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'ignore'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'ignore_ament_install'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['colcon_pkg']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'colcon_pkg'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['colcon_meta']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'colcon_meta'
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['ros']
[0.145s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'ros'
[0.147s] DEBUG:colcon.colcon_core.package_identification:Package 'src/skylink_bridge' with type 'ros.ament_cmake' and name 'skylink_bridge'
[0.147s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.147s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.147s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.147s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.147s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.158s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.158s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.163s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 273 installed packages in /opt/ros/humble
[0.164s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_args' from command line to '['-DCMAKE_BUILD_TYPE=Release']'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_target' from command line to 'None'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_clean_cache' from command line to 'False'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_clean_first' from command line to 'False'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_force_configure' from command line to 'False'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'ament_cmake_args' from command line to 'None'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'catkin_cmake_args' from command line to 'None'
[0.182s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.182s] DEBUG:colcon.colcon_core.verb:Building package 'skylink_bridge' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': ['-DCMAKE_BUILD_TYPE=Release'], 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge', 'merge_install': False, 'path': '/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge', 'symlink_install': True, 'test_result_base': None}
[0.182s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.182s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.182s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge' with build type 'ament_cmake'
[0.183s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge'
[0.184s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.184s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.184s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.189s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
[4.075s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(skylink_bridge)
[4.076s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
[4.077s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge' for CMake module files
[4.077s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge' for CMake config files
[4.077s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/bin'
[4.077s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/lib/pkgconfig/skylink_bridge.pc'
[4.077s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/lib/python3.10/site-packages'
[4.077s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/bin'
[4.077s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.ps1'
[4.078s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.dsv'
[4.078s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.sh'
[4.078s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.bash'
[4.079s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.zsh'
[4.079s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/colcon-core/packages/skylink_bridge)
[4.089s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[4.089s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[4.089s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2'
[4.089s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[4.092s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[4.092s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[4.092s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[4.099s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[4.099s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.ps1'
[4.100s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/flower/code/camera/flyLink/skylink_ros2/install/_local_setup_util_ps1.py'
[4.100s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.ps1'
[4.101s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.sh'
[4.101s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/flower/code/camera/flyLink/skylink_ros2/install/_local_setup_util_sh.py'
[4.102s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.sh'
[4.103s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.bash'
[4.103s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.bash'
[4.105s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.zsh'
[4.105s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.zsh'

View File

@@ -0,0 +1,2 @@
Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24

View File

@@ -0,0 +1,14 @@
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp: In member function void UdpSenderNode::camera_callback(sensor_msgs::msg::Image_<std::allocator<void> >::SharedPtr):
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:225:18: warning: unused variable chunks_sent []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;]
225 | uint16_t chunks_sent = fragment_and_send(
| ^~~~~~~~~~~
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp: In member function void UdpSenderNode::gps_callback(mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >::SharedPtr):
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:254:39: error: using element_type = struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> > {aka struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >} has no member named lat_int
254 | current_gps_data_.latitude = msg->lat_int / 1e7;
| ^~~~~~~
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:255:40: error: using element_type = struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> > {aka struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >} has no member named lon_int
255 | current_gps_data_.longitude = msg->lon_int / 1e7;
| ^~~~~~~
gmake[2]: *** [CMakeFiles/udp_sender_node.dir/build.make:76CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:137CMakeFiles/udp_sender_node.dir/all] 错误 2
gmake: *** [Makefile:146all] 错误 2

View File

@@ -0,0 +1,20 @@
-- Found ament_cmake: 1.3.11 (/opt/ros/humble/share/ament_cmake/cmake)
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found rclcpp: 16.0.11 (/opt/ros/humble/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.6 (/opt/ros/humble/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.6 (/opt/ros/humble/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.6 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 6.2.7 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Found sensor_msgs: 4.2.4 (/opt/ros/humble/share/sensor_msgs/cmake)
-- Found cv_bridge: 3.2.1 (/opt/ros/humble/share/cv_bridge/cmake)
-- Found image_transport: 3.1.10 (/opt/ros/humble/share/image_transport/cmake)
-- Found mavros_msgs: 2.14.0 (/opt/ros/humble/share/mavros_msgs/cmake)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge
Consolidate compiler generated dependencies of target udp_sender_node
[ 50%] Building CXX object CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o

View File

@@ -0,0 +1,34 @@
-- Found ament_cmake: 1.3.11 (/opt/ros/humble/share/ament_cmake/cmake)
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found rclcpp: 16.0.11 (/opt/ros/humble/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.6 (/opt/ros/humble/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.6 (/opt/ros/humble/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.6 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 6.2.7 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Found sensor_msgs: 4.2.4 (/opt/ros/humble/share/sensor_msgs/cmake)
-- Found cv_bridge: 3.2.1 (/opt/ros/humble/share/cv_bridge/cmake)
-- Found image_transport: 3.1.10 (/opt/ros/humble/share/image_transport/cmake)
-- Found mavros_msgs: 2.14.0 (/opt/ros/humble/share/mavros_msgs/cmake)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge
Consolidate compiler generated dependencies of target udp_sender_node
[ 50%] Building CXX object CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp: In member function void UdpSenderNode::camera_callback(sensor_msgs::msg::Image_<std::allocator<void> >::SharedPtr):
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:225:18: warning: unused variable chunks_sent []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;]
225 | uint16_t chunks_sent = fragment_and_send(
| ^~~~~~~~~~~
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp: In member function void UdpSenderNode::gps_callback(mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >::SharedPtr):
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:254:39: error: using element_type = struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> > {aka struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >} has no member named lat_int
254 | current_gps_data_.latitude = msg->lat_int / 1e7;
| ^~~~~~~
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:255:40: error: using element_type = struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> > {aka struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >} has no member named lon_int
255 | current_gps_data_.longitude = msg->lon_int / 1e7;
| ^~~~~~~
gmake[2]: *** [CMakeFiles/udp_sender_node.dir/build.make:76CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:137CMakeFiles/udp_sender_node.dir/all] 错误 2
gmake: *** [Makefile:146all] 错误 2

View File

@@ -0,0 +1,36 @@
[0.006s] Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
[0.022s] -- Found ament_cmake: 1.3.11 (/opt/ros/humble/share/ament_cmake/cmake)
[0.094s] -- Override CMake install command with custom implementation using symlinks instead of copying resources
[0.098s] -- Found rclcpp: 16.0.11 (/opt/ros/humble/share/rclcpp/cmake)
[0.114s] -- Found rosidl_generator_c: 3.1.6 (/opt/ros/humble/share/rosidl_generator_c/cmake)
[0.115s] -- Found rosidl_adapter: 3.1.6 (/opt/ros/humble/share/rosidl_adapter/cmake)
[0.118s] -- Found rosidl_generator_cpp: 3.1.6 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
[0.124s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
[0.131s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
[0.148s] -- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
[0.149s] -- Found rmw_fastrtps_cpp: 6.2.7 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
[0.208s] -- Using RMW implementation 'rmw_fastrtps_cpp' as default
[0.230s] -- Found sensor_msgs: 4.2.4 (/opt/ros/humble/share/sensor_msgs/cmake)
[0.243s] -- Found cv_bridge: 3.2.1 (/opt/ros/humble/share/cv_bridge/cmake)
[0.247s] -- Found image_transport: 3.1.10 (/opt/ros/humble/share/image_transport/cmake)
[0.256s] -- Found mavros_msgs: 2.14.0 (/opt/ros/humble/share/mavros_msgs/cmake)
[0.325s] -- Configuring done
[0.431s] -- Generating done
[0.442s] -- Build files have been written to: /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge
[0.483s] Consolidate compiler generated dependencies of target udp_sender_node
[0.510s] [ 50%] Building CXX object CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o
[2.040s] /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp: In member function void UdpSenderNode::camera_callback(sensor_msgs::msg::Image_<std::allocator<void> >::SharedPtr):
[2.041s] /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:225:18: warning: unused variable chunks_sent []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;]
[2.041s] 225 | uint16_t chunks_sent = fragment_and_send(
[2.041s] | ^~~~~~~~~~~
[2.041s] /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp: In member function void UdpSenderNode::gps_callback(mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >::SharedPtr):
[2.041s] /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:254:39: error: using element_type = struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> > {aka struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >} has no member named lat_int
[2.041s] 254 | current_gps_data_.latitude = msg->lat_int / 1e7;
[2.041s] | ^~~~~~~
[2.041s] /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:255:40: error: using element_type = struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> > {aka struct mavros_msgs::msg::GlobalPositionTarget_<std::allocator<void> >} has no member named lon_int
[2.041s] 255 | current_gps_data_.longitude = msg->lon_int / 1e7;
[2.041s] | ^~~~~~~
[3.889s] gmake[2]: *** [CMakeFiles/udp_sender_node.dir/build.make:76CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o] 错误 1
[3.890s] gmake[1]: *** [CMakeFiles/Makefile2:137CMakeFiles/udp_sender_node.dir/all] 错误 2
[3.890s] gmake: *** [Makefile:146all] 错误 2
[3.892s] Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24