Closed MartinAtCoventry closed 5 years ago
Describe the bug
I have solved the problem that generate_microRTPS_bridge.py
cannot find fastrtpsgen. Through checking the version information of Java on my board, I found a version conflict of Java. Uninstall a Java-1.11, which was installed during sudo apt-get install gradle
, and remove the px4_ros_com fold in the build fold. And then to do : colcon build --symlink-install --packages-skip px4_msgs --event-handlers console_direct+
. In the building process, the fastrtpsgen can be found again.
However, the building process throws other compilation errors as well.
Expected behavior Help me to analyse these errors and solve them.
Log Files and Screenshots
colcon detected out the libraries on my board.
pi@OFFBOARD:~/px4_ros_com_ros2$ colcon build --symlink-install --packages-skip px4_msgs --event-handlers console_direct+
Starting >>> px4_ros_com
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Using C++17 compiler
-- Found ament_cmake: 0.7.3 (/home/pi/ros2_dashing/install/ament_cmake/share/ament_cmake/cmake)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found builtin_interfaces: 0.7.4 (/home/pi/ros2_dashing/install/builtin_interfaces/share/builtin_interfaces/cmake)
-- Found rosidl_adapter: 0.7.7 (/home/pi/ros2_dashing/install/rosidl_adapter/share/rosidl_adapter/cmake)
-- Found rosidl_default_generators: 0.7.0 (/home/pi/ros2_dashing/install/rosidl_default_generators/share/rosidl_default_generators/cmake)
-- Found PrismTech OpenSplice: /usr/share/opensplice/cmake
-- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version "1.1.1")
-- Found FastRTPS: /usr/local/include
-- Found rclcpp: 0.7.11 (/home/pi/ros2_dashing/install/rclcpp/share/rclcpp/cmake)
-- Found rmw_implementation_cmake: 0.7.2 (/home/pi/ros2_dashing/install/rmw_implementation_cmake/share/rmw_implementation_cmake/cmake)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found rmw_fastrtps_cpp: 0.7.6 (/home/pi/ros2_dashing/install/rmw_fastrtps_cpp/share/rmw_fastrtps_cpp/cmake)
-- Found px4_msgs: 2.0.1 (/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/cmake)
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.8")
-- fastrtpsgen found in /home/pi/Fast-RTPS-Gen/scripts
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
-- fastrtpsgen version 1.0.2
-- Retrieving list of msgs to send...
-- List of msgs to send: CameraCapture, CameraTrigger, CollisionReport, DebugArray, DebugKeyValue, DebugValue, DebugVect, ObstacleDistance, OpticalFlow, PositionSetpoint, PositionSetpointTriplet, TrajectoryWaypoint, VehicleTrajectoryWaypoint, VehicleMocapOdometry, VehicleVisualOdometry
-- Retrieving list of msgs to receive...
-- List of msgs to receive: AdcReport, Airspeed, BatteryStatus, Cpuload, DistanceSensor, EstimatorStatus, HomePosition, IridiumsbdStatus, RadioStatus, SatelliteInfo, SensorBaro, SensorCombined, SensorSelection, VehicleAttitude, VehicleOdometry, VtolVehicleStatus, WindEstimate, CollisionConstraints
-- fastrtpsgen found in /home/pi/Fast-RTPS-Gen/scripts/
-- px4_msgs message dir under /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg
-- IDL definitions under /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg
[Processing: px4_ros_com]
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/px4_ros_com_ros2/build/px4_ros_com
Something is ignored and exists in EscReport.idl
and EscStatus.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/EscReport.idl...
WARNING (File EscReport, Line 19): Annotation unit not supported. Ignoring...
WARNING (File EscReport, Line 24): Annotation unit not supported. Ignoring...
WARNING (File EscReport, Line 29): Annotation unit not supported. Ignoring...
WARNING (File EscReport, Line 34): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/EscReport.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/EscStatus.idl...
[Processing: px4_ros_com]
WARNING (File EscStatus, Line 19): Annotation unit not supported. Ignoring...
WARNING (File EscStatus, Line 24): Annotation unit not supported. Ignoring...
WARNING (File EscStatus, Line 29): Annotation unit not supported. Ignoring...
WARNING (File EscStatus, Line 34): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/EscStatus.idl
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/EscReport.idl...
WARNING (File EscReport, Line 19): Annotation unit not supported. Ignoring...
WARNING (File EscReport, Line 24): Annotation unit not supported. Ignoring...
WARNING (File EscReport, Line 29): Annotation unit not supported. Ignoring...
WARNING (File EscReport, Line 34): Annotation unit not supported. Ignoring...
Generating Type definition files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReport.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReport.cxx exists. Skipping.
Generating TopicDataTypes files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReportPubSubTypes.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReportPubSubTypes.cxx exists. Skipping.
Generating Publisher files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReportPublisher.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReportPublisher.cxx exists. Skipping.
Generating Subscriber files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReportSubscriber.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReportSubscriber.cxx exists. Skipping.
Generating main file...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/EscReportPubSubMain.cxx exists. Skipping.
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/EscReport.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Something is ignored in LandingTargetPose.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/LandingTargetPose.idl...
WARNING (File LandingTargetPose, Line 29): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 34): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 39): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 44): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 49): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 54): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 59): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 64): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 69): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 78): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 83): Annotation unit not supported. Ignoring...
WARNING (File LandingTargetPose, Line 88): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/LandingTargetPose.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Something is ignored in OnboardComputerStatus.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/OnboardComputerStatus.idl...
[Processing: px4_ros_com]
WARNING (File OnboardComputerStatus, Line 20): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 25): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 50): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 55): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 60): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 65): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 70): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 79): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 84): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 89): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 94): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 99): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 104): Annotation unit not supported. Ignoring...
WARNING (File OnboardComputerStatus, Line 109): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/OnboardComputerStatus.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Some files exist in PositionSetpointTriplet.idl
and PositionSetpoint.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/PositionSetpointTriplet.idl...
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/PositionSetpointTriplet.idl
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/PositionSetpoint.idl...
[Processing: px4_ros_com]
Generating Type definition files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpoint.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpoint.cxx exists. Skipping.
Generating TopicDataTypes files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpointPubSubTypes.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpointPubSubTypes.cxx exists. Skipping.
Generating Publisher files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpointPublisher.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpointPublisher.cxx exists. Skipping.
Generating Subscriber files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpointSubscriber.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpointSubscriber.cxx exists. Skipping.
Generating main file...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/PositionSetpointPubSubMain.cxx exists. Skipping.
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/PositionSetpoint.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Something is ignored in SatelliteInfo.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/SatelliteInfo.idl...
WARNING (File SatelliteInfo, Line 23): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/SatelliteInfo.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Something is ignored in SensorCorrection.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/SensorCorrection.idl...
WARNING (File SensorCorrection, Line 119): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/SensorCorrection.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Something is ignored in TestMotor.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/TestMotor.idl...
WARNING (File TestMotor, Line 25): Annotation unit not supported. Ignoring...
WARNING (File TestMotor, Line 30): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/TestMotor.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Something is ignored in VehicleLandDetected.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/VehicleLandDetected.idl...
WARNING (File VehicleLandDetected, Line 15): Annotation unit not supported. Ignoring...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/VehicleLandDetected.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Some files exist in TrajectoryWaypoint.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/VehicleTrajectoryWaypoint.idl...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/VehicleTrajectoryWaypoint.idl
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/TrajectoryWaypoint.idl...
Generating Type definition files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypoint.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypoint.cxx exists. Skipping.
Generating TopicDataTypes files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPubSubTypes.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPubSubTypes.cxx exists. Skipping.
Generating Publisher files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPublisher.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPublisher.cxx exists. Skipping.
Generating Subscriber files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointSubscriber.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointSubscriber.cxx exists. Skipping.
Generating main file...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPubSubMain.cxx exists. Skipping.
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/TrajectoryWaypoint.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Some files exist in TrajectoryWaypoint.idl
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/makefile_x64Linux2.6gcc exists. Skipping.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/VehicleTrajectoryWaypointDesired.idl...
Generating Type definition files...
Generating TopicDataTypes files...
Generating Publisher files...
Generating Subscriber files...
Generating main file...
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/VehicleTrajectoryWaypointDesired.idl
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/TrajectoryWaypoint.idl...
Generating Type definition files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypoint.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypoint.cxx exists. Skipping.
Generating TopicDataTypes files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPubSubTypes.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPubSubTypes.cxx exists. Skipping.
Generating Publisher files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPublisher.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPublisher.cxx exists. Skipping.
Generating Subscriber files...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointSubscriber.h exists. Skipping.
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointSubscriber.cxx exists. Skipping.
Generating main file...
INFO: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen/TrajectoryWaypointPubSubMain.cxx exists. Skipping.
Adding project: /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/TrajectoryWaypoint.idl
Generating solution for arch x64Linux2.6gcc...
Generating makefile solution
Compilation errors of the C++ files
Agent created in: /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent
Scanning dependencies of target micrortps_agent
[ 2%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraTrigger.cpp.o
[ 3%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/RtpsTopics.cpp.o
[ 4%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraCapture.cpp.o
[ 5%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/microRTPS_agent.cpp.o
[ 6%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/microRTPS_transport.cpp.o
[ 7%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraCapturePubSubTypes.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp: In member function ‘ssize_t Transport_node::write(uint8_t, char*, size_t)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:230:32: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
static struct Header header = {
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:231:28: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.marker = {'>', '>', '>'},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:232:17: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.topic_ID = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:233:12: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.seq = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:234:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_h = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:235:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_l = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:236:14: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.crc_h = 0u,
^
[ 8%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraTriggerPubSubTypes.cpp.o
[ 9%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionReport.cpp.o
[ 9%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionReportPubSubTypes.cpp.o
[ 10%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugArray.cpp.o
[ 11%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugArrayPubSubTypes.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:40: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp: In function ‘void t_send(void*)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:175:19: warning: unused parameter ‘data’ [-Wunused-parameter]
void t_send(void *data)
^~~~
[ 12%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugKeyValue.cpp.o
[ 13%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugKeyValuePubSubTypes.cpp.o
[ 14%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugValue.cpp.o
[ 15%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugValuePubSubTypes.cpp.o
[ 16%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugVect.cpp.o
[ 17%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugVectPubSubTypes.cpp.o
[ 18%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/ObstacleDistance.cpp.o
[ 19%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/ObstacleDistancePubSubTypes.cpp.o
[ 19%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/OpticalFlow.cpp.o
[ 20%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/OpticalFlowPubSubTypes.cpp.o
[ 21%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpoint.cpp.o
[ 22%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpointPubSubTypes.cpp.o
[ 23%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpointTriplet.cpp.o
[ 24%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpointTripletPubSubTypes.cpp.o
[ 25%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/TrajectoryWaypoint.cpp.o
[ 26%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/TrajectoryWaypointPubSubTypes.cpp.o
[Processing: px4_ros_com]
[ 27%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleTrajectoryWaypoint.cpp.o
[ 28%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleTrajectoryWaypointPubSubTypes.cpp.o
[ 29%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleMocapOdometry.cpp.o
[ 29%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleMocapOdometryPubSubTypes.cpp.o
[ 30%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleVisualOdometry.cpp.o
[ 31%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleVisualOdometryPubSubTypes.cpp.o
[ 32%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReport.cpp.o
[ 33%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReportPubSubTypes.cpp.o
[ 34%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Airspeed.cpp.o
[ 35%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AirspeedPubSubTypes.cpp.o
[ 36%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatus.cpp.o
[ 37%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatusPubSubTypes.cpp.o
[ 38%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Cpuload.cpp.o
[ 39%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CpuloadPubSubTypes.cpp.o
[ 39%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensor.cpp.o
[ 40%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensorPubSubTypes.cpp.o
[ 41%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatus.cpp.o
[ 42%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatusPubSubTypes.cpp.o
[ 43%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/HomePosition.cpp.o
[ 44%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/HomePositionPubSubTypes.cpp.o
[ 45%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/IridiumsbdStatus.cpp.o
[ 46%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/IridiumsbdStatusPubSubTypes.cpp.o
[ 47%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/RadioStatus.cpp.o
[ 48%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/RadioStatusPubSubTypes.cpp.o
[ 49%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SatelliteInfo.cpp.o
[ 49%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SatelliteInfoPubSubTypes.cpp.o
[ 50%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorBaro.cpp.o
[ 51%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorBaroPubSubTypes.cpp.o
[ 52%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorCombined.cpp.o
[ 53%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorCombinedPubSubTypes.cpp.o
[ 54%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorSelection.cpp.o
[ 55%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorSelectionPubSubTypes.cpp.o
[ 56%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleAttitude.cpp.o
[ 57%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleAttitudePubSubTypes.cpp.o
[ 58%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleOdometry.cpp.o
[ 59%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleOdometryPubSubTypes.cpp.o
[Processing: px4_ros_com]
[ 59%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VtolVehicleStatus.cpp.o
[ 60%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VtolVehicleStatusPubSubTypes.cpp.o
[ 61%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/WindEstimate.cpp.o
[ 62%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/WindEstimatePubSubTypes.cpp.o
[ 63%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionConstraints.cpp.o
[ 64%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionConstraintsPubSubTypes.cpp.o
[ 65%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReport_Publisher.cpp.o
[ 66%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Airspeed_Publisher.cpp.o
[ 67%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatus_Publisher.cpp.o
[ 68%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Cpuload_Publisher.cpp.o
[ 69%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensor_Publisher.cpp.o
[ 69%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatus_Publisher.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp: In member function ‘bool Airspeed_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp: In member function ‘virtual void Airspeed_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp:83:71: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Airspeed_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp: In member function ‘bool BatteryStatus_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp: In member function ‘virtual void BatteryStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp:83:76: warning: unused parameter ‘pub’ [-Wunused-parameter]
void BatteryStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
CMakeFiles/micrortps_agent.dir/build.make:2254: recipe for target 'CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Airspeed_Publisher.cpp.o' failed
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Airspeed_Publisher.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp: In member function ‘bool AdcReport_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp: In member function ‘virtual void AdcReport_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp:83:72: warning: unused parameter ‘pub’ [-Wunused-parameter]
void AdcReport_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatus_Publisher.cpp.o] Error 1
CMakeFiles/micrortps_agent.dir/build.make:2278: recipe for target 'CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatus_Publisher.cpp.o' failed
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp: In member function ‘bool EstimatorStatus_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp: In member function ‘virtual void EstimatorStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void EstimatorStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp: In member function ‘bool DistanceSensor_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp: In member function ‘virtual void DistanceSensor_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp:83:77: warning: unused parameter ‘pub’ [-Wunused-parameter]
void DistanceSensor_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp: In member function ‘bool Cpuload_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp: In member function ‘virtual void Cpuload_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp:83:70: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Cpuload_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
CMakeFiles/micrortps_agent.dir/build.make:2230: recipe for target 'CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReport_Publisher.cpp.o' failed
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReport_Publisher.cpp.o] Error 1
CMakeFiles/micrortps_agent.dir/build.make:2350: recipe for target 'CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatus_Publisher.cpp.o' failed
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatus_Publisher.cpp.o] Error 1
CMakeFiles/micrortps_agent.dir/build.make:2326: recipe for target 'CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensor_Publisher.cpp.o' failed
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensor_Publisher.cpp.o] Error 1
CMakeFiles/micrortps_agent.dir/build.make:2302: recipe for target 'CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Cpuload_Publisher.cpp.o' failed
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Cpuload_Publisher.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/micrortps_agent.dir/all' failed
Makefile:140: recipe for target 'all' failed
make[1]: *** [CMakeFiles/micrortps_agent.dir/all] Error 2
make: *** [all] Error 2
--- stderr: px4_ros_com/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp: In member function ‘ssize_t Transport_node::write(uint8_t, char*, size_t)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:230:32: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
static struct Header header = {
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:231:28: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.marker = {'>', '>', '>'},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:232:17: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.topic_ID = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:233:12: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.seq = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:234:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_h = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:235:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_l = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:236:14: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.crc_h = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:40: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp: In function ‘void t_send(void*)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:175:19: warning: unused parameter ‘data’ [-Wunused-parameter]
void t_send(void *data)
^~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp: In member function ‘bool Airspeed_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp: In member function ‘virtual void Airspeed_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp:83:71: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Airspeed_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp: In member function ‘bool BatteryStatus_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp: In member function ‘virtual void BatteryStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp:83:76: warning: unused parameter ‘pub’ [-Wunused-parameter]
void BatteryStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Airspeed_Publisher.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp: In member function ‘bool AdcReport_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp: In member function ‘virtual void AdcReport_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp:83:72: warning: unused parameter ‘pub’ [-Wunused-parameter]
void AdcReport_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatus_Publisher.cpp.o] Error 1
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp: In member function ‘bool EstimatorStatus_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp: In member function ‘virtual void EstimatorStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void EstimatorStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp: In member function ‘bool DistanceSensor_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp: In member function ‘virtual void DistanceSensor_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp:83:77: warning: unused parameter ‘pub’ [-Wunused-parameter]
void DistanceSensor_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp: In member function ‘bool Cpuload_Publisher::init()’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp:62:25: error: ‘class eprosima::fastrtps::rtps::BuiltinAttributes’ has no member named ‘leaseDuration’
PParam.rtps.builtin.leaseDuration = c_TimeInfinite;
^~~~~~~~~~~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp: In member function ‘virtual void Cpuload_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp:83:70: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Cpuload_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReport_Publisher.cpp.o] Error 1
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatus_Publisher.cpp.o] Error 1
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensor_Publisher.cpp.o] Error 1
make[2]: *** [CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Cpuload_Publisher.cpp.o] Error 1
make[1]: *** [CMakeFiles/micrortps_agent.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< px4_ros_com [ Exited with code 2 ]
Summary: 0 packages finished [9min 54s] 1 package failed: px4_ros_com 1 package had stderr output: px4_ros_com
You need Fast-RTPS-Gen installed from source: https://github.com/eProsima/Fast-RTPS-Gen. And also Fast-RTPS 1.8.2.
Actually nevermind. Your problem is what is addressed in https://github.com/ros2/rosidl/pull/419. Though, I must warn you that ROS2 Dashing is still not supported. You need to use ROS2 Crystal with Fast-RTPS 1.7.2 (and respective fastrtpsgen).
@TSC21, thank you for giving me the guidance. I will retry to install ROS2 Crystal and Fast-RTPS 1.7.2 on my board.
Describe the bug
Hi @TSC21 , according to your guidance, I redeployed ROS2 crystal on my RPI4 board as well as reinstalled Fastrtps v1.8.2. Now, It seems to successfully build the PX4_ROS_COM
package. There, however, are still some warning information about the microRTPS_transport.cpp
, microRTPS_agent.cpp
and some *_Publisher.cpp
files.
So, I don't know whether these warings will impact the program micrortps_agent
when it running.
Btw: The version of the libraries on my board fastcdr - 1.0.8 fastrtps - 1.8.2 foonathan_memory - 0.6.2.a fastrtpsgen 1.0.0 in /home/pi/Fast-RTPS-Gen/scripts/ Java1.8.0 - JDK 1.8.0_231 in /usr/lib/jvm/jdk1.8.0_231 Gradle - 6.0 ROS2 - Crystal (by Building from source) px4_msgs - master
ROS_VERSION=2 ROS_PYTHON_VERSION=3 ROS_DISTRO=crystal
To Reproduce
px4_ros_com_ros2
.Expected behavior
Help me to get a way which can make generate_microRTPS_bridge.py
find the fastrtpsgen
program.
Log Files and Screenshots
pi@RPI4:~/px4_ros_com_ros2$ colcon build --symlink-install --packages-skip px4_msgs --event-handlers console_direct+
Starting >>> px4_ros_com
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Using C++17 compiler
-- Found ament_cmake: 0.6.1 (/home/pi/ros2_crystal/install/ament_cmake/share/ament_cmake/cmake)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found builtin_interfaces: 0.6.3 (/home/pi/ros2_crystal/install/builtin_interfaces/share/builtin_interfaces/cmake)
-- Found rosidl_adapter: 0.6.3 (/home/pi/ros2_crystal/install/rosidl_adapter/share/rosidl_adapter/cmake)
-- Found rosidl_default_generators: 0.6.0 (/home/pi/ros2_crystal/install/rosidl_default_generators/share/rosidl_default_generators/cmake)
-- Found PrismTech OpenSplice: /usr/share/opensplice/cmake
-- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version "1.1.1")
-- Found FastRTPS: /usr/local/include
-- Found rclcpp: 0.6.4 (/home/pi/ros2_crystal/install/rclcpp/share/rclcpp/cmake)
-- Found rmw_implementation_cmake: 0.6.1 (/home/pi/ros2_crystal/install/rmw_implementation_cmake/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 0.6.2 (/home/pi/ros2_crystal/install/rmw_fastrtps_cpp/share/rmw_fastrtps_cpp/cmake)
-- Found px4_msgs: 2.0.1 (/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/cmake)
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.8")
-- fastrtpsgen found in /home/pi/Fast-RTPS-Gen/scripts
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
-- fastrtpsgen version 1.0.0
-- Retrieving list of msgs to send...
-- List of msgs to send: CameraCapture, CameraTrigger, CollisionReport, DebugArray, DebugKeyValue, DebugValue, DebugVect, ObstacleDistance, OpticalFlow, PositionSetpoint, PositionSetpointTriplet, TrajectoryWaypoint, VehicleTrajectoryWaypoint, VehicleMocapOdometry, VehicleVisualOdometry
-- Retrieving list of msgs to receive...
-- List of msgs to receive: AdcReport, Airspeed, BatteryStatus, Cpuload, DistanceSensor, EstimatorStatus, HomePosition, IridiumsbdStatus, RadioStatus, SatelliteInfo, SensorBaro, SensorCombined, SensorSelection, VehicleAttitude, VehicleOdometry, VtolVehicleStatus, WindEstimate, CollisionConstraints
-- fastrtpsgen found in
-- px4_msgs message dir under /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg
-- IDL definitions under /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/px4_ros_com_ros2/build/px4_ros_com
Scanning dependencies of target micrortps_agent
[ 1%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraCapture.cpp.o
[ 2%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/microRTPS_transport.cpp.o
[ 3%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/microRTPS_agent.cpp.o
[ 4%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/RtpsTopics.cpp.o
[ 5%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraCapturePubSubTypes.cpp.o
[ 6%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraTrigger.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp: In member function ‘ssize_t Transport_node::write(uint8_t, char*, size_t)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:230:32: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
static struct Header header = {
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:231:28: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.marker = {'>', '>', '>'},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:232:17: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.topic_ID = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:233:12: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.seq = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:234:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_h = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:235:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_l = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:236:14: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.crc_h = 0u,
^
[ 7%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraTriggerPubSubTypes.cpp.o
[ 8%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionReport.cpp.o
[Processing: px4_ros_com]
[ 8%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionReportPubSubTypes.cpp.o
[ 9%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugArray.cpp.o
[ 10%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugArrayPubSubTypes.cpp.o
[ 11%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugKeyValue.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:40: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp: In function ‘void t_send(void*)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:175:19: warning: unused parameter ‘data’ [-Wunused-parameter]
void t_send(void *data)
^~~~
[ 12%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugKeyValuePubSubTypes.cpp.o
[ 13%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugValue.cpp.o
[ 14%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugValuePubSubTypes.cpp.o
[ 15%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugVect.cpp.o
[ 16%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugVectPubSubTypes.cpp.o
[ 17%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/ObstacleDistance.cpp.o
[ 18%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/ObstacleDistancePubSubTypes.cpp.o
[ 18%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/OpticalFlow.cpp.o
[ 19%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/OpticalFlowPubSubTypes.cpp.o
[ 20%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpoint.cpp.o
[ 21%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpointPubSubTypes.cpp.o
[ 22%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpointTriplet.cpp.o
[ 23%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpointTripletPubSubTypes.cpp.o
[ 24%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/TrajectoryWaypoint.cpp.o
[ 25%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/TrajectoryWaypointPubSubTypes.cpp.o
[ 26%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleTrajectoryWaypoint.cpp.o
[ 27%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleTrajectoryWaypointPubSubTypes.cpp.o
[ 28%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleMocapOdometry.cpp.o
[ 28%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleMocapOdometryPubSubTypes.cpp.o
[ 29%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleVisualOdometry.cpp.o
[ 30%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleVisualOdometryPubSubTypes.cpp.o
[ 31%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReport.cpp.o
[ 32%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReportPubSubTypes.cpp.o
[ 33%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Airspeed.cpp.o
[ 34%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AirspeedPubSubTypes.cpp.o
[ 35%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatus.cpp.o
[ 36%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatusPubSubTypes.cpp.o
[ 37%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Cpuload.cpp.o
[ 38%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CpuloadPubSubTypes.cpp.o
[ 38%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensor.cpp.o
[ 39%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensorPubSubTypes.cpp.o
[ 40%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatus.cpp.o
[ 41%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatusPubSubTypes.cpp.o
[ 42%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/HomePosition.cpp.o
[ 43%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/HomePositionPubSubTypes.cpp.o
[ 44%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/IridiumsbdStatus.cpp.o
[ 45%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/IridiumsbdStatusPubSubTypes.cpp.o
[Processing: px4_ros_com]
[ 46%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/RadioStatus.cpp.o
[ 47%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/RadioStatusPubSubTypes.cpp.o
[ 48%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SatelliteInfo.cpp.o
[ 48%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SatelliteInfoPubSubTypes.cpp.o
[ 49%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorBaro.cpp.o
[ 50%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorBaroPubSubTypes.cpp.o
[ 51%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorCombined.cpp.o
[ 52%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorCombinedPubSubTypes.cpp.o
[ 53%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorSelection.cpp.o
[ 54%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorSelectionPubSubTypes.cpp.o
[ 55%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleAttitude.cpp.o
[ 56%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleAttitudePubSubTypes.cpp.o
[ 57%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleOdometry.cpp.o
[ 58%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleOdometryPubSubTypes.cpp.o
[ 58%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VtolVehicleStatus.cpp.o
[ 59%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VtolVehicleStatusPubSubTypes.cpp.o
[ 60%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/WindEstimate.cpp.o
[ 61%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/WindEstimatePubSubTypes.cpp.o
[ 62%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionConstraints.cpp.o
[ 63%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionConstraintsPubSubTypes.cpp.o
[ 64%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/AdcReport_Publisher.cpp.o
[ 65%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Airspeed_Publisher.cpp.o
[ 66%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/BatteryStatus_Publisher.cpp.o
[ 67%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/Cpuload_Publisher.cpp.o
[ 68%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DistanceSensor_Publisher.cpp.o
[ 68%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/EstimatorStatus_Publisher.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp: In member function ‘virtual void AdcReport_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp:83:72: warning: unused parameter ‘pub’ [-Wunused-parameter]
void AdcReport_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp: In member function ‘virtual void BatteryStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp:83:76: warning: unused parameter ‘pub’ [-Wunused-parameter]
void BatteryStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 69%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/HomePosition_Publisher.cpp.o
[ 70%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/IridiumsbdStatus_Publisher.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp: In member function ‘virtual void Airspeed_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp:83:71: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Airspeed_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp: In member function ‘virtual void EstimatorStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void EstimatorStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp: In member function ‘virtual void Cpuload_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp:83:70: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Cpuload_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[Processing: px4_ros_com]
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp: In member function ‘virtual void DistanceSensor_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp:83:77: warning: unused parameter ‘pub’ [-Wunused-parameter]
void DistanceSensor_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/HomePosition_Publisher.cpp: In member function ‘virtual void HomePosition_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/HomePosition_Publisher.cpp:83:75: warning: unused parameter ‘pub’ [-Wunused-parameter]
void HomePosition_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 71%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/RadioStatus_Publisher.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/IridiumsbdStatus_Publisher.cpp: In member function ‘virtual void IridiumsbdStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/IridiumsbdStatus_Publisher.cpp:83:79: warning: unused parameter ‘pub’ [-Wunused-parameter]
void IridiumsbdStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 72%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SatelliteInfo_Publisher.cpp.o
[ 73%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorBaro_Publisher.cpp.o
[ 74%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorCombined_Publisher.cpp.o
[ 75%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/SensorSelection_Publisher.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/RadioStatus_Publisher.cpp: In member function ‘virtual void RadioStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/RadioStatus_Publisher.cpp:83:74: warning: unused parameter ‘pub’ [-Wunused-parameter]
void RadioStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorBaro_Publisher.cpp: In member function ‘virtual void SensorBaro_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorBaro_Publisher.cpp:83:73: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SensorBaro_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 76%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleAttitude_Publisher.cpp.o
[ 77%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleOdometry_Publisher.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorCombined_Publisher.cpp: In member function ‘virtual void SensorCombined_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorCombined_Publisher.cpp:83:77: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SensorCombined_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 78%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VtolVehicleStatus_Publisher.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SatelliteInfo_Publisher.cpp: In member function ‘virtual void SatelliteInfo_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SatelliteInfo_Publisher.cpp:83:76: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SatelliteInfo_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorSelection_Publisher.cpp: In member function ‘virtual void SensorSelection_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorSelection_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SensorSelection_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleAttitude_Publisher.cpp: In member function ‘virtual void VehicleAttitude_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleAttitude_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void VehicleAttitude_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleOdometry_Publisher.cpp: In member function ‘virtual void VehicleOdometry_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleOdometry_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void VehicleOdometry_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 78%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/WindEstimate_Publisher.cpp.o
[ 79%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionConstraints_Publisher.cpp.o
[ 80%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraCapture_Subscriber.cpp.o
[ 81%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CameraTrigger_Subscriber.cpp.o
[Processing: px4_ros_com]
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VtolVehicleStatus_Publisher.cpp: In member function ‘virtual void VtolVehicleStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VtolVehicleStatus_Publisher.cpp:83:80: warning: unused parameter ‘pub’ [-Wunused-parameter]
void VtolVehicleStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 82%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/CollisionReport_Subscriber.cpp.o
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/WindEstimate_Publisher.cpp: In member function ‘virtual void WindEstimate_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/WindEstimate_Publisher.cpp:83:75: warning: unused parameter ‘pub’ [-Wunused-parameter]
void WindEstimate_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/CollisionConstraints_Publisher.cpp: In member function ‘virtual void CollisionConstraints_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/CollisionConstraints_Publisher.cpp:83:83: warning: unused parameter ‘pub’ [-Wunused-parameter]
void CollisionConstraints_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
[ 83%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugArray_Subscriber.cpp.o
[ 84%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugKeyValue_Subscriber.cpp.o
[ 85%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugValue_Subscriber.cpp.o
[ 86%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/DebugVect_Subscriber.cpp.o
[ 87%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/ObstacleDistance_Subscriber.cpp.o
[ 88%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/OpticalFlow_Subscriber.cpp.o
[ 88%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpoint_Subscriber.cpp.o
[ 89%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/PositionSetpointTriplet_Subscriber.cpp.o
[ 90%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/TrajectoryWaypoint_Subscriber.cpp.o
[Processing: px4_ros_com]
[ 91%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleTrajectoryWaypoint_Subscriber.cpp.o
[ 92%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleMocapOdometry_Subscriber.cpp.o
[ 93%] Building CXX object CMakeFiles/micrortps_agent.dir/src/micrortps_agent/VehicleVisualOdometry_Subscriber.cpp.o
[ 94%] Linking CXX executable micrortps_agent
[ 95%] Built target micrortps_agent
Scanning dependencies of target sensor_combined_listener
Scanning dependencies of target vehicle_gps_position_listener
Scanning dependencies of target debug_vect_advertiser
[ 96%] Building CXX object CMakeFiles/vehicle_gps_position_listener.dir/src/listeners/vehicle_gps_position_listener.cpp.o
[ 96%] Building CXX object CMakeFiles/debug_vect_advertiser.dir/src/advertisers/debug_vect_advertiser.cpp.o
[ 97%] Building CXX object CMakeFiles/sensor_combined_listener.dir/src/listeners/sensor_combined_listener.cpp.o
[Processing: px4_ros_com]
[ 98%] Linking CXX executable vehicle_gps_position_listener
[ 99%] Linking CXX executable sensor_combined_listener
[ 99%] Built target vehicle_gps_position_listener
[ 99%] Built target sensor_combined_listener
[100%] Linking CXX executable debug_vect_advertiser
[100%] Built target debug_vect_advertiser
[ 95%] Built target micrortps_agent
[ 97%] Built target sensor_combined_listener
[ 99%] Built target vehicle_gps_position_listener
[100%] Built target debug_vect_advertiser
Install the project...
-- Install configuration: ""
-- Execute custom install script
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/EnableC++XX.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/EnableSanitizers.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/FindPX4Firmware.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/GenerateMicroRTPSAgent.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/include/include/px4_ros_com/.gitkeep
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/bin/micrortps_agent
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/bin/sensor_combined_listener
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/bin/vehicle_gps_position_listener
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/bin/debug_vect_advertiser
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/launch/sensor_combined_listener.launch.py
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/ament_index/resource_index/package_run_dependencies/px4_ros_com
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/ament_index/resource_index/parent_prefix_path/px4_ros_com
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/environment/ament_prefix_path.sh
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/environment/path.sh
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/local_setup.bash
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/local_setup.sh
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/local_setup.zsh
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/ament_index/resource_index/packages/px4_ros_com
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/ament_cmake_export_dependencies-extras.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/ament_cmake_export_include_directories-extras.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/px4_ros_comConfig.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/cmake/px4_ros_comConfig-version.cmake
-- Symlinking: /home/pi/px4_ros_com_ros2/install/px4_ros_com/share/px4_ros_com/package.xml
--- stderr: px4_ros_com
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp: In member function ‘ssize_t Transport_node::write(uint8_t, char*, size_t)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:230:32: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
static struct Header header = {
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:231:28: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.marker = {'>', '>', '>'},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:232:17: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.topic_ID = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:233:12: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.seq = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:234:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_h = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:235:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.payload_len_l = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_transport.cpp:236:14: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
.crc_h = 0u,
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:80:22: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[0] = {.code = B0, .val = 0},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:81:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[1] = {.code = B9600, .val = 9600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:82:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[2] = {.code = B19200, .val = 19200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:83:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[3] = {.code = B38400, .val = 38400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:84:26: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[4] = {.code = B57600, .val = 57600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:85:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[5] = {.code = B115200, .val = 115200},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:86:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[6] = {.code = B230400, .val = 230400},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:87:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[7] = {.code = B460800, .val = 460800},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:11: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:88:27: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
[8] = {.code = B921600, .val = 921600},
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:25: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:100:40: warning: ISO C++ does not allow C99 designated initializers [-Wpedantic]
baudtype baudrate = {.code=BAUDRATE,.val=BAUDRATE_VAL};
^
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp: In function ‘void t_send(void*)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp:175:19: warning: unused parameter ‘data’ [-Wunused-parameter]
void t_send(void *data)
^~~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp: In member function ‘virtual void AdcReport_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/AdcReport_Publisher.cpp:83:72: warning: unused parameter ‘pub’ [-Wunused-parameter]
void AdcReport_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp: In member function ‘virtual void BatteryStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/BatteryStatus_Publisher.cpp:83:76: warning: unused parameter ‘pub’ [-Wunused-parameter]
void BatteryStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp: In member function ‘virtual void Airspeed_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Airspeed_Publisher.cpp:83:71: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Airspeed_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp: In member function ‘virtual void EstimatorStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/EstimatorStatus_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void EstimatorStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp: In member function ‘virtual void Cpuload_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/Cpuload_Publisher.cpp:83:70: warning: unused parameter ‘pub’ [-Wunused-parameter]
void Cpuload_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp: In member function ‘virtual void DistanceSensor_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/DistanceSensor_Publisher.cpp:83:77: warning: unused parameter ‘pub’ [-Wunused-parameter]
void DistanceSensor_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/HomePosition_Publisher.cpp: In member function ‘virtual void HomePosition_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/HomePosition_Publisher.cpp:83:75: warning: unused parameter ‘pub’ [-Wunused-parameter]
void HomePosition_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/IridiumsbdStatus_Publisher.cpp: In member function ‘virtual void IridiumsbdStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/IridiumsbdStatus_Publisher.cpp:83:79: warning: unused parameter ‘pub’ [-Wunused-parameter]
void IridiumsbdStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/RadioStatus_Publisher.cpp: In member function ‘virtual void RadioStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/RadioStatus_Publisher.cpp:83:74: warning: unused parameter ‘pub’ [-Wunused-parameter]
void RadioStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorBaro_Publisher.cpp: In member function ‘virtual void SensorBaro_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorBaro_Publisher.cpp:83:73: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SensorBaro_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorCombined_Publisher.cpp: In member function ‘virtual void SensorCombined_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorCombined_Publisher.cpp:83:77: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SensorCombined_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SatelliteInfo_Publisher.cpp: In member function ‘virtual void SatelliteInfo_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SatelliteInfo_Publisher.cpp:83:76: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SatelliteInfo_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorSelection_Publisher.cpp: In member function ‘virtual void SensorSelection_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/SensorSelection_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void SensorSelection_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleAttitude_Publisher.cpp: In member function ‘virtual void VehicleAttitude_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleAttitude_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void VehicleAttitude_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleOdometry_Publisher.cpp: In member function ‘virtual void VehicleOdometry_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VehicleOdometry_Publisher.cpp:83:78: warning: unused parameter ‘pub’ [-Wunused-parameter]
void VehicleOdometry_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VtolVehicleStatus_Publisher.cpp: In member function ‘virtual void VtolVehicleStatus_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/VtolVehicleStatus_Publisher.cpp:83:80: warning: unused parameter ‘pub’ [-Wunused-parameter]
void VtolVehicleStatus_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/WindEstimate_Publisher.cpp: In member function ‘virtual void WindEstimate_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/WindEstimate_Publisher.cpp:83:75: warning: unused parameter ‘pub’ [-Wunused-parameter]
void WindEstimate_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/CollisionConstraints_Publisher.cpp: In member function ‘virtual void CollisionConstraints_Publisher::PubListener::onPublicationMatched(eprosima::fastrtps::Publisher*, eprosima::fastrtps::rtps::MatchingInfo&)’:
/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/CollisionConstraints_Publisher.cpp:83:83: warning: unused parameter ‘pub’ [-Wunused-parameter]
void CollisionConstraints_Publisher::PubListener::onPublicationMatched(Publisher* pub, MatchingInfo& info)
^~~
---
Finished <<< px4_ros_com [3min 19s]
Summary: 1 package finished [3min 19s]
1 package had stderr output: px4_ros_com
The warnings are not an issue. Closing this issue as the reported problem got solved.
OK, thanks a lot for @TSC21 :)
Hi @TSC21 , through test my ROS2 crystal, I found it cannot run well after successfully compiling out px4_ros_com
. So, I cleaned my RPI4 board and re-deployed a new ROS2 crystal with its dependencies.
However, there are some new errors during building px4_ros_com. I don't know which component / library is wrong ?
Btw: fastcdr v1.0.8 fastrtps v1.7.0 fastrtpsgen 1.0.0 in /home/pi/Fast-RTPS-Gen/scripts/ Java1.8.0 - JDK 1.8.0_231 in /usr/lib/jvm/jdk1.8.0_231 Gradle - 6.0
Log Files and Screenshots
pi@NanoPi-M4:~/px4_ros_com_ros2$ colcon build --symlink-install --packages-skip px4_msgs --event-handlers console_direct+
Starting >>> px4_ros_com
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Using C++17 compiler
-- Found ament_cmake: 0.6.1 (/home/pi/ros2_crystal/install/ament_cmake/share/ament_cmake/cmake)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found builtin_interfaces: 0.6.3 (/home/pi/ros2_crystal/install/builtin_interfaces/share/builtin_interfaces/cmake)
-- Found rosidl_adapter: 0.6.3 (/home/pi/ros2_crystal/install/rosidl_adapter/share/rosidl_adapter/cmake)
-- Found rosidl_default_generators: 0.6.0 (/home/pi/ros2_crystal/install/rosidl_default_generators/share/rosidl_default_generators/cmake)
-- Found PrismTech OpenSplice: /usr/share/opensplice/cmake
-- Found FastRTPS: /home/pi/ros2_crystal/install/fastrtps/include
-- Found rclcpp: 0.6.4 (/home/pi/ros2_crystal/install/rclcpp/share/rclcpp/cmake)
-- Found rmw_implementation_cmake: 0.6.1 (/home/pi/ros2_crystal/install/rmw_implementation_cmake/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 0.6.2 (/home/pi/ros2_crystal/install/rmw_fastrtps_cpp/share/rmw_fastrtps_cpp/cmake)
-- Found px4_msgs: 2.0.1 (/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/cmake)
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.8")
-- fastrtpsgen found in /home/pi/Fast-RTPS-Gen/scripts
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
-- fastrtpsgen version 1.0.0
-- Retrieving list of msgs to send...
-- List of msgs to send: CameraCapture, CameraTrigger, CollisionReport, DebugArray, DebugKeyValue, DebugValue, DebugVect, ObstacleDistance, OpticalFlow, PositionSetpoint, PositionSetpointTriplet, TrajectoryWaypoint, VehicleTrajectoryWaypoint, VehicleMocapOdometry, VehicleVisualOdometry
-- Retrieving list of msgs to receive...
-- List of msgs to receive: AdcReport, Airspeed, BatteryStatus, Cpuload, DistanceSensor, EstimatorStatus, HomePosition, IridiumsbdStatus, RadioStatus, SatelliteInfo, SensorBaro, SensorCombined, SensorSelection, VehicleAttitude, VehicleOdometry, VtolVehicleStatus, WindEstimate, CollisionConstraints
-- fastrtpsgen found in /home/pi/Fast-RTPS-Gen/scripts
-- px4_msgs message dir under /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg
-- IDL definitions under /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/px4_ros_com_ros2/build/px4_ros_com
[ 1%] Generating micro-RTPS agent code...
Loading templates...
Processing the file /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl...
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:9: error: Unexpected input '*'
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:12: error: 'size' was not defined previously
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:20: error: mismatched input 'target' expecting {';', ','}
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:20: error: 'target' was not defined previously
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:33: error: mismatched input 'camera' expecting {';', ','}
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:33: error: 'camera' was not defined previously
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:41: error: mismatched input '-' expecting {';', ','}
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:47: error: Unexpected input 'in'
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:42: error: 'axis' was not defined previously
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:56: error: mismatched input 'of' expecting {';', ','}
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:56: error: 'of' was not defined previously
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:62: error: mismatched input '(' expecting {';', ','}
/home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl:30:68: error: mismatched input ')' expecting {'::', ID}
ERROR<Exception>: null
Exception in thread "main" java.lang.NullPointerException
at com.eprosima.fastrtps.fastrtpsgen.execute(fastrtpsgen.java:336)
at com.eprosima.fastrtps.fastrtpsgen.main(fastrtpsgen.java:1200)
Traceback (most recent call last):
File "/home/pi/px4_ros_com_ros2/src/px4_ros_com/scripts/generate_microRTPS_bridge.py", line 491, in <module>
generate_agent(agent_out_dir)
File "/home/pi/px4_ros_com_ros2/src/px4_ros_com/scripts/generate_microRTPS_bridge.py", line 421, in generate_agent
"/fastrtpsgen -example x64Linux2.6gcc " + fastrtpsgen_include + idl_file, shell=True)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/home/pi/Fast-RTPS-Gen/scripts/fastrtpsgen -d /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen -example x64Linux2.6gcc -I /home/pi/px4_ros_com_ros2/install/px4_msgs/share /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl' returned non-zero exit status 1.
make[2]: *** [/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp] Error 1
make[2]: *** Deleting file '/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp'
CMakeFiles/micrortps_agent.dir/build.make:62: recipe for target '/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp' failed
make[1]: *** [CMakeFiles/micrortps_agent.dir/all] Error 2
make: *** [all] Error 2
CMakeFiles/Makefile2:387: recipe for target 'CMakeFiles/micrortps_agent.dir/all' failed
Makefile:140: recipe for target 'all' failed
--- stderr: px4_ros_com
Exception in thread "main" java.lang.NullPointerException
at com.eprosima.fastrtps.fastrtpsgen.execute(fastrtpsgen.java:336)
at com.eprosima.fastrtps.fastrtpsgen.main(fastrtpsgen.java:1200)
Traceback (most recent call last):
File "/home/pi/px4_ros_com_ros2/src/px4_ros_com/scripts/generate_microRTPS_bridge.py", line 491, in <module>
generate_agent(agent_out_dir)
File "/home/pi/px4_ros_com_ros2/src/px4_ros_com/scripts/generate_microRTPS_bridge.py", line 421, in generate_agent
"/fastrtpsgen -example x64Linux2.6gcc " + fastrtpsgen_include + idl_file, shell=True)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/home/pi/Fast-RTPS-Gen/scripts/fastrtpsgen -d /home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/fastrtpsgen -example x64Linux2.6gcc -I /home/pi/px4_ros_com_ros2/install/px4_msgs/share /home/pi/px4_ros_com_ros2/install/px4_msgs/share/px4_msgs/msg/IrlockReport.idl' returned non-zero exit status 1.
make[2]: *** [/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp] Error 1
make[2]: *** Deleting file '/home/pi/px4_ros_com_ros2/src/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp'
make[1]: *** [CMakeFiles/micrortps_agent.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< px4_ros_com [ Exited with code 2 ]
Summary: 0 packages finished [2min 56s]
1 package failed: px4_ros_com
1 package had stderr output: px4_ros_com
For Fast-RTPS 1.7.2 you should build with -DBUILD_JAVA=ON
and not use the Fast-RTPS-Gen repo. Just use the deployed fastrtpsgen with the 1.7.2 release branch.
@TSC21 , my Fast-RTPS was compiled during building ROS2 crystal. I did not compile it independently. So, I did not set the option-DBUILD_JAVA=ON
yet.
The instructions on the PX4 Devguide are quite clear regarding the required dependencies :)
Ok, I think my ROS2 might be re-built, because the fast-rtps will change version on my board :( Thank you for helping me :)
Describe the bug I have some compilation problems when building a PX4-Fastrtps-bridge by the
px4_ros_com
on a Raspberry Pi4 board. The python scriptgenerate_microRTPS_bridge.py
in px4_ros_com always cannot find thefastrtpsgen
in my RPI4 system. Also, thepx4_msgs package
has been compiled successfully.I have installed the libraries and dependency packages as follow: fastcdr - 1.0.10 fastrtps - 1.9.2 foonathan_memory - 0.6.2.a fastrtpsgen in /home/pi/Fast-RTPS-Gen/scripts/ Java1.8.0 - JDK 1.8.0_231 in /usr/lib/jvm/jdk1.8.0_231 Gradle - 4.4.1 ROS2 - Dashing (by Building from source) px4_msgs - master
To Reproduce
px4_ros_com_ros2
.Expected behavior Help me to get a way which can make
generate_microRTPS_bridge.py
find thefastrtpsgen
program.Log Files and Screenshots