ZATiTech / open_planner

Integrated open source planner and related tools for autonomous navigation of autonomous vehicle and mobile robots
Apache License 2.0
27 stars 6 forks source link

can't able to build autoware.universe carla bridge #21

Open manikandanhu2016 opened 3 months ago

manikandanhu2016 commented 3 months ago

i have followed instruction from your autowae universe carla bridge tutorial 1 and 2....along with that i have followed instruction from [https://github.com/ZATiTech/open_planner/tree/humble/op_carla_bridge] but still i cant able to build it kindly help it i have attached prrof for file loaction and terminal log file kindly help me to build it successfully thank you Terminal log: cemaev@cemaev:~/carla_autoware_universe/autoware.universe.openplanner$ colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release [0.757s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces: 'autoware_planning_msgs' is in: /opt/ros/humble 'autoware_map_msgs' is in: /opt/ros/humble 'autoware_utils' is in: /opt/ros/humble If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time. If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.

If you understand the risks and want to override a package anyways, add the following to the command line: --allow-overriding autoware_map_msgs autoware_planning_msgs autoware_utils This may be promoted to an error in a future release of colcon-override-check. Starting >>> autoware_lint_common Starting >>> autoware_common_msgs Starting >>> autoware_perception_msgs Starting >>> autoware_planning_msgs Starting >>> tier4_debug_msgs Starting >>> autoware_adapi_v1_msgs Starting >>> autoware_map_msgs Starting >>> autoware_control_msgs Starting >>> tier4_map_msgs Starting >>> tier4_v2x_msgs Starting >>> tier4_rtc_msgs Starting >>> grid_map_cmake_helpers Starting >>> tier4_external_api_msgs Starting >>> autoware_system_msgs Starting >>> tensorrt_common Starting >>> autoware_auto_geometry_msgs Starting >>> autoware_auto_mapping_msgs Starting >>> mussp Starting >>> velodyne_msgs Starting >>> tier4_simulation_msgs Starting >>> autoware_adapi_version_msgs Starting >>> autoware_sensing_msgs Starting >>> ndt_omp Starting >>> pointcloud_to_laserscan Finished <<< autoware_lint_common [1.65s] Finished <<< grid_map_cmake_helpers [1.64s] Starting >>> autoware_cmake Starting >>> grid_map_core Finished <<< tensorrt_common [1.68s] Starting >>> grid_map_msgs Finished <<< mussp [1.69s] Starting >>> autoware_auto_control_msgs Finished <<< autoware_common_msgs [1.74s] Starting >>> tier4_system_msgs Finished <<< pointcloud_to_laserscan [1.79s] Finished <<< autoware_adapi_version_msgs [1.86s] Starting >>> tier4_control_msgs Starting >>> tier4_localization_msgs Finished <<< autoware_control_msgs [2.00s] --- stderr: ndt_omp WARNING io features related to pcap will be disabled

Finished <<< ndt_omp [1.99s] Starting >>> tamagawa_imu_driver Starting >>> velodyne_description Finished <<< autoware_auto_mapping_msgs [2.05s] Finished <<< autoware_auto_geometry_msgs [2.06s] Starting >>> autoware_auto_planning_msgs Starting >>> autoware_auto_system_msgs Finished <<< tier4_simulation_msgs [2.10s] Starting >>> autoware_auto_perception_msgs Finished <<< tier4_map_msgs [2.15s] Finished <<< tier4_v2x_msgs [2.16s] Starting >>> autoware_localization_msgs Starting >>> autoware_v2x_msgs Finished <<< velodyne_msgs [2.17s] Starting >>> velodyne_driver Finished <<< tier4_rtc_msgs [2.27s] Starting >>> autoware_rtc_interface Finished <<< autoware_sensing_msgs [2.28s] Starting >>> camera_description Finished <<< tier4_debug_msgs [2.36s] Starting >>> imu_description Finished <<< autoware_system_msgs [2.38s] Finished <<< autoware_cmake [0.74s] Starting >>> osqp_interface Starting >>> qp_interface Finished <<< autoware_planning_msgs [2.43s] Starting >>> tier4_planning_msgs Finished <<< autoware_map_msgs [2.50s] Starting >>> autoware_vehicle_msgs Finished <<< grid_map_core [0.85s] Starting >>> grid_map_cv Finished <<< velodyne_description [0.57s] Starting >>> signal_processing Finished <<< autoware_perception_msgs [2.65s] Starting >>> tier4_perception_msgs Finished <<< tamagawa_imu_driver [1.00s] Starting >>> autoware_auto_common Finished <<< camera_description [0.91s] Starting >>> autoware_testing Finished <<< imu_description [0.91s] Finished <<< autoware_rtc_interface [1.00s] Finished <<< osqp_interface [0.91s] Starting >>> autoware_point_types Starting >>> autoware_geography_utils Starting >>> autoware_pcl_extensions Finished <<< qp_interface [0.95s] Starting >>> cuda_utils Finished <<< autoware_auto_control_msgs [1.81s] Starting >>> autoware_ad_api_specs Finished <<< grid_map_cv [1.04s] Starting >>> localization_util Finished <<< signal_processing [1.03s] Starting >>> autoware_kalman_filter Finished <<< autoware_auto_common [0.68s] Starting >>> fake_test_node Finished <<< tier4_localization_msgs [1.98s] Finished <<< autoware_testing [0.65s] Finished <<< cuda_utils [0.54s] Starting >>> perception_utils Starting >>> autoware_evaluator_utils Starting >>> map_height_fitter Finished <<< autoware_pcl_extensions [0.61s] Finished <<< grid_map_msgs [2.25s] Starting >>> grid_map_ros Starting >>> autoware_image_transport_decompressor Finished <<< tier4_control_msgs [2.13s] Starting >>> tier4_vehicle_msgs Finished <<< autoware_ad_api_specs [0.50s] Starting >>> velodyne_monitor Finished <<< autoware_auto_system_msgs [2.04s] Starting >>> grid_map_costmap_2d Finished <<< autoware_v2x_msgs [2.06s] Starting >>> learning_based_vehicle_model Finished <<< autoware_localization_msgs [2.10s] Starting >>> topic_state_monitor Finished <<< autoware_kalman_filter [0.69s] Starting >>> autoware_tensorrt_classifier Finished <<< autoware_adapi_v1_msgs [4.63s] Starting >>> autoware_map_tf_generator Finished <<< perception_utils [0.80s] Starting >>> autoware_object_range_splitter Finished <<< fake_test_node [1.03s] Starting >>> autoware_traffic_light_arbiter Finished <<< localization_util [1.26s] Starting >>> autoware_utils Finished <<< autoware_auto_planning_msgs [2.77s] Starting >>> autoware_auto_vehicle_msgs Finished <<< tier4_external_api_msgs [4.90s] Finished <<< autoware_evaluator_utils [1.00s] Starting >>> tier4_api_utils Starting >>> autoware_external_api_msgs Finished <<< autoware_image_transport_decompressor [0.99s] Starting >>> glog_component Finished <<< tier4_system_msgs [3.23s] Starting >>> component_interface_utils Finished <<< learning_based_vehicle_model [0.79s] Starting >>> diagnostic_graph_utils Finished <<< autoware_vehicle_msgs [2.55s] Starting >>> grid_map_octomap Finished <<< autoware_auto_perception_msgs [3.40s] Starting >>> open_planner Finished <<< topic_state_monitor [1.45s] Starting >>> yabloc_monitor --- stderr: autoware_tensorrt_classifier CMake Warning (dev) at /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/install/tensorrt_common/share/tensorrt_common/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package): Policy CMP0074 is not set: find_package uses _ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CMake variable TENSORRT_ROOT is set to:

/usr

For compatibility, CMake is ignoring the variable. Call Stack (most recent call first): /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/install/tensorrt_common/share/tensorrt_common/cmake/tensorrt_commonConfig.cmake:41 (include) /opt/ros/humble/share/ament_cmake_auto/cmake/ament_auto_find_build_dependencies.cmake:67 (find_package) /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/install/autoware_cmake/share/autoware_cmake/cmake/autoware_package.cmake:49 (ament_auto_find_build_dependencies) CMakeLists.txt:7 (autoware_package) This warning is for project developers. Use -Wno-dev to suppress it. Finished <<< autoware_tensorrt_classifier [1.47s] Starting >>> component_state_monitor Finished <<< autoware_point_types [2.83s] Starting >>> autoware_pose2twist Finished <<< grid_map_costmap_2d [2.22s] Starting >>> diagnostic_graph_aggregator Finished <<< tier4_api_utils [1.66s] Starting >>> tier4_vehicle_launch Finished <<< component_interface_utils [1.67s] Starting >>> automatic_pose_initializer Finished <<< diagnostic_graph_utils [1.78s] Starting >>> livox_description Finished <<< tier4_perception_msgs [10.0s] Starting >>> traffic_light_utils Finished <<< tier4_planning_msgs [11.6s] Starting >>> autoware_universe_utils --- stderr: glog_component /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/autoware.universe/common/glog_component/src/glog_component.cpp: In constructor ‘GlogComponent::GlogComponent(const rclcpp::NodeOptions&)’: /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/autoware.universe/common/glog_component/src/glog_component.cpp:20:16: error: ‘IsGoogleLoggingInitialized’ is not a member of ‘google’ 20 | if (!google::IsGoogleLoggingInitialized()) { | ^~~~~~ gmake[2]: [CMakeFiles/glog_component.dir/build.make:76: CMakeFiles/glog_component.dir/src/glog_component.cpp.o] Error 1 gmake[1]: [CMakeFiles/Makefile2:139: CMakeFiles/glog_component.dir/all] Error 2 gmake[1]: Waiting for unfinished jobs.... gmake: [Makefile:146: all] Error 2

Failed <<< glog_component [10.2s, exited with code 2] Aborted <<< grid_map_ros [12.6s] Aborted <<< livox_description [9.72s] Aborted <<< autoware_external_api_msgs [11.7s] Aborted <<< open_planner [12.6s] Aborted <<< tier4_vehicle_msgs [18.8s] Aborted <<< autoware_geography_utils [19.5s] Aborted <<< traffic_light_utils [10.1s] Aborted <<< velodyne_driver [21.8s] Aborted <<< tier4_vehicle_launch [17.4s] Aborted <<< autoware_utils [19.2s] Aborted <<< autoware_object_range_splitter [20.7s] Aborted <<< grid_map_octomap [21.1s] Aborted <<< yabloc_monitor [20.6s] Aborted <<< component_state_monitor [22.5s] Aborted <<< automatic_pose_initializer [22.4s] Aborted <<< velodyne_monitor [25.8s] Aborted <<< autoware_auto_vehicle_msgs [25.1s] Aborted <<< autoware_pose2twist [25.5s] Aborted <<< map_height_fitter [30.2s] Aborted <<< autoware_traffic_light_arbiter [30.2s] Aborted <<< diagnostic_graph_aggregator [31.2s] Aborted <<< autoware_map_tf_generator [38.0s] Aborted <<< autoware_universe_utils [31.5s]

Summary: 67 packages finished [46.4s] 1 package failed: glog_component 23 packages aborted: automatic_pose_initializer autoware_auto_vehicle_msgs autoware_external_api_msgs autoware_geography_utils autoware_map_tf_generator autoware_object_range_splitter autoware_pose2twist autoware_traffic_light_arbiter autoware_universe_utils autoware_utils component_state_monitor diagnostic_graph_aggregator grid_map_octomap grid_map_ros livox_description map_height_fitter open_planner tier4_vehicle_launch tier4_vehicle_msgs traffic_light_utils velodyne_driver velodyne_monitor yabloc_monitor 5 packages had stderr output: autoware_map_tf_generator autoware_tensorrt_classifier glog_component grid_map_ros ndt_omp 246 packages not processed

Screenshot from 2024-08-23 22-25-53 Screenshot from 2024-08-23 22-26-12 Screenshot from 2024-08-23 22-26-46

manikandanhu2016 commented 3 months ago

above package error i have solved i have new package error kindly help me here i have attached my terminal log error while building terminal error: Starting >>> autoware_ground_segmentation --- stderr: grid_map_ros
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40, from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, from /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/include/grid_map_ros/GridMapMsgHelpers.hpp:13, from /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp:33: /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp: In static member function ‘static bool grid_map::GridMapRosConverter::fromOccupancyGrid(const OccupancyGrid&, const string&, grid_map::GridMap&)’: /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp:278:38: error: ‘std::string rosidl_generator_traits::to_yaml(const Quaternion&)’ is deprecated: use geometry_msgs::msg::to_yaml() instead [-Werror=deprecated-declarations] 278 | rosidl_generator_traits::to_yaml(occupancyGrid.info.origin.orientation).c_str()); | ~~~~~~^~~~~~~~~ In file included from /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/quaternion.hpp:9, from /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp:12: /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/quaternion__traits.hpp:129:20: note: declared here 129 | inline std::string to_yaml(const geometry_msgs::msg::Quaternion & msg) | ^~~ In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40, from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, from /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/include/grid_map_ros/GridMapMsgHelpers.hpp:13, from /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp:33: /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp: In static member function ‘static bool grid_map::GridMapRosConverter::fromCostmap(const Costmap&, const string&, grid_map::GridMap&)’: /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp:379:39: error: ‘std::string rosidl_generator_traits::to_yaml(const Quaternion&)’ is deprecated: use geometry_msgs::msg::to_yaml() instead [-Werror=deprecated-declarations] 379 | rosidl_generator_traits::to_yaml(costmap.metadata.origin.orientation).c_str()); | ~~~~~~^~~~~~~~~~~ In file included from /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/quaternion.hpp:9, from /home/cemaev/carla_autoware_universe/autoware.universe.openplanner/src/universe/external/grid_map/grid_map_ros/src/GridMapRosConverter.cpp:12: /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/quaternion__traits.hpp:129:20: note: declared here 129 | inline std::string to_yaml(const geometry_msgs::msg::Quaternion & msg) | ^~~ cc1plus: all warnings being treated as errors gmake[2]: [CMakeFiles/grid_map_ros.dir/build.make:76: CMakeFiles/grid_map_ros.dir/src/GridMapRosConverter.cpp.o] Error 1 gmake[1]: [CMakeFiles/Makefile2:157: CMakeFiles/grid_map_ros.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2

Failed <<< grid_map_ros [9.94s, exited with code 2]