carla-simulator / carla-autoware

Integration of AutoWare AV software with the CARLA simulator
MIT License
251 stars 85 forks source link

Carla simulator crashes while connecting #110

Open pirate-lofy opened 3 years ago

pirate-lofy commented 3 years ago

I start the simulator on my host machine by this command ./CarlaUE4.sh -windowed -ResX=800 -ResY=600 -carla-server after the simulator is up, I fire the launch file from the docker container by roslaunch carla_autoware_agent carla_autoware_agent.launch town:=Town01 the simulator crashes. this is the full log of Carla

4.24.3-0+++UE4+Release-4.24 518 0
Disabling core dumps.
LowLevelFatalError [File:Unknown] [Line: 3762] 
Failed to link program [Program V_3AA5F7CCAD2B351344BE53DDA22E8BAEBA78720A_P_ABADFE631118A2CF0719C49D3F936DABF0CE8865]. Current total programs: 281, precompile: 0
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119 
Malloc Size=128368 LargeMemoryPoolOffset=259504 
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.

and this is the full log of the roslaunch

... logging to /home/autoware/.ros/log/368092b6-2aa2-11eb-92f7-cc2f71e7786d/roslaunch-bignrz-Lenovo-ideapad-520-15IKB-822.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://bignrz-Lenovo-ideapad-520-15IKB:36051/

SUMMARY
========

PARAMETERS
 * /astar_avoid/angle_goal_range: 6.0
 * /astar_avoid/avoid_start_velocity: 3.0
 * /astar_avoid/avoid_waypoints_velocity: 10.0
 * /astar_avoid/closest_search_size: 30
 * /astar_avoid/curve_weight: 1.2
 * /astar_avoid/distance_heuristic_weight: 1.0
 * /astar_avoid/enable_avoidance: False
 * /astar_avoid/lateral_goal_range: 0.5
 * /astar_avoid/longitudinal_goal_range: 2.0
 * /astar_avoid/minimum_turning_radius: 6.0
 * /astar_avoid/obstacle_threshold: 100
 * /astar_avoid/potential_weight: 10.0
 * /astar_avoid/replan_interval: 2.0
 * /astar_avoid/reverse_weight: 2.0
 * /astar_avoid/robot_base2back: 1.0
 * /astar_avoid/robot_length: 4.5
 * /astar_avoid/robot_width: 1.75
 * /astar_avoid/safety_waypoints_size: 100
 * /astar_avoid/search_waypoints_delta: 2
 * /astar_avoid/search_waypoints_size: 50
 * /astar_avoid/theta_size: 48
 * /astar_avoid/time_limit: 1000.0
 * /astar_avoid/update_rate: 10
 * /astar_avoid/use_back: False
 * /astar_avoid/use_potential_heuristic: True
 * /astar_avoid/use_wavefront_heuristic: False
 * /carla/ackermann_control/accel_Kd: 0.05
 * /carla/ackermann_control/accel_Ki: 0.0
 * /carla/ackermann_control/accel_Kp: 0.05
 * /carla/ackermann_control/min_accel: 1.0
 * /carla/ackermann_control/speed_Kd: 0.5
 * /carla/ackermann_control/speed_Ki: 0.0
 * /carla/ackermann_control/speed_Kp: 0.05
 * /carla/ego_vehicle/role_name: ['hero', 'ego_veh...
 * /carla/fixed_delta_seconds: 0.05
 * /carla/host: localhost
 * /carla/port: 2000
 * /carla/synchronous_mode: False
 * /carla/synchronous_mode_wait_for_vehicle_control_command: True
 * /carla/timeout: 10
 * /carla/town: Town01
 * /carla_ackermann_control_ego_vehicle/role_name: ego_vehicle
 * /carla_ego_vehicle_ego_vehicle/role_name: ego_vehicle
 * /carla_ego_vehicle_ego_vehicle/sensor_definition_file: /home/autoware/ca...
 * /carla_ego_vehicle_ego_vehicle/spawn_ego_vehicle: True
 * /carla_ego_vehicle_ego_vehicle/spawn_point: 
 * /carla_ego_vehicle_ego_vehicle/vehicle_filter: vehicle.toyota.prius
 * /costmap_generator/expand_polygon_size: 1.0
 * /costmap_generator/grid_length_x: 50
 * /costmap_generator/grid_length_y: 30
 * /costmap_generator/grid_max_value: 1.0
 * /costmap_generator/grid_min_value: 0.0
 * /costmap_generator/grid_position_x: 20
 * /costmap_generator/grid_position_y: 0
 * /costmap_generator/grid_resolution: 0.2
 * /costmap_generator/lidar_frame: velodyne
 * /costmap_generator/map_frame: map
 * /costmap_generator/maximum_lidar_height_thres: 0.3
 * /costmap_generator/minimum_lidar_height_thres: -2.2
 * /costmap_generator/size_of_expansion_kernel: 9
 * /costmap_generator/use_objects_box: True
 * /costmap_generator/use_objects_convex_hull: False
 * /costmap_generator/use_points: True
 * /costmap_generator/use_wayarea: True
 * /decision_maker/auto_engage: True
 * /decision_maker/auto_mission_change: False
 * /decision_maker/auto_mission_reload: False
 * /decision_maker/change_threshold_angle: 15
 * /decision_maker/change_threshold_dist: 1.0
 * /decision_maker/disuse_vector_map: True
 * /decision_maker/goal_threshold_dist: 3.0
 * /decision_maker/goal_threshold_vel: 0.1
 * /decision_maker/insert_stop_line_wp: True
 * /decision_maker/param_num_of_steer_behind: 30
 * /decision_maker/sim_mode: False
 * /decision_maker/state_behavior_file_name: /home/autoware/Au...
 * /decision_maker/state_mission_file_name: /home/autoware/Au...
 * /decision_maker/state_motion_file_name: /home/autoware/Au...
 * /decision_maker/state_vehicle_file_name: /home/autoware/Au...
 * /decision_maker/stop_sign_id: stop_sign
 * /decision_maker/stopline_reset_count: 20
 * /decision_maker/stopped_vel: 0.1
 * /decision_maker/use_fms: False
 * /decision_maker/use_ll2: False
 * /detection/fusion_tools/range_fusion_visualization_01/objects_src_topic: /objects
 * /detection/lidar_detector/cluster_detect_visualization_01/objects_src_topic: /objects_filtered
 * /detection/lidar_detector/object_roi_filter_clustering/exception_list: [person, bicycle]
 * /detection/lidar_detector/object_roi_filter_clustering/objects_src_topic: /objects
 * /detection/lidar_detector/object_roi_filter_clustering/sync_topics: False
 * /detection/lidar_detector/object_roi_filter_clustering/wayarea_gridmap_layer: wayarea
 * /dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175/accel_Kd: 0.05
 * /dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175/accel_Ki: 0.0
 * /dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175/accel_Kp: 0.03
 * /dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175/speed_Kd: 0.4
 * /dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175/speed_Ki: 0.0
 * /dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175/speed_Kp: 0.15
 * /image_tracker_rects/image_out: /image_tracker_rects
 * /image_tracker_rects/image_src: /image_raw
 * /image_tracker_rects/object_src: /detection/image_...
 * /imm_ukf_pda_01/detection_probability: 0.9
 * /imm_ukf_pda_01/gate_probability: 0.99
 * /imm_ukf_pda_01/gating_threshold: 9.22
 * /imm_ukf_pda_01/lane_direction_chi_threshold: 2.71
 * /imm_ukf_pda_01/life_time_threshold: 8
 * /imm_ukf_pda_01/merge_distance_threshold: 0.5
 * /imm_ukf_pda_01/nearest_lane_distance_threshold: 1.0
 * /imm_ukf_pda_01/prevent_explosion_threshold: 1000
 * /imm_ukf_pda_01/static_num_history_threshold: 3
 * /imm_ukf_pda_01/static_velocity_threshold: 0.5
 * /imm_ukf_pda_01/tracking_frame: /world
 * /imm_ukf_pda_01/use_sukf: False
 * /imm_ukf_pda_01/use_vectormap: False
 * /imm_ukf_pda_01/vectormap_frame: /map
 * /lidar_euclidean_cluster_detect/clip_max_height: 2.5
 * /lidar_euclidean_cluster_detect/clip_min_height: -2.5
 * /lidar_euclidean_cluster_detect/cluster_merge_threshold: 1.5
 * /lidar_euclidean_cluster_detect/cluster_size_max: 100000
 * /lidar_euclidean_cluster_detect/cluster_size_min: 20
 * /lidar_euclidean_cluster_detect/clustering_distance: 0.75
 * /lidar_euclidean_cluster_detect/clustering_distances: [0.5,1.1,1.6,2.1,...
 * /lidar_euclidean_cluster_detect/clustering_ranges: [15,30,45,60]
 * /lidar_euclidean_cluster_detect/downsample_cloud: False
 * /lidar_euclidean_cluster_detect/keep_lane_left_distance: 5
 * /lidar_euclidean_cluster_detect/keep_lane_right_distance: 5
 * /lidar_euclidean_cluster_detect/keep_lanes: False
 * /lidar_euclidean_cluster_detect/leaf_size: 0.1
 * /lidar_euclidean_cluster_detect/output_frame: velodyne
 * /lidar_euclidean_cluster_detect/points_node: /points_no_ground
 * /lidar_euclidean_cluster_detect/pose_estimation: True
 * /lidar_euclidean_cluster_detect/remove_ground: False
 * /lidar_euclidean_cluster_detect/remove_points_upto: 0.0
 * /lidar_euclidean_cluster_detect/use_diffnormals: False
 * /lidar_euclidean_cluster_detect/use_gpu: True
 * /lidar_euclidean_cluster_detect/use_multiple_thres: False
 * /lidar_naive_l_shape_detect/num_points_thres: 10
 * /lidar_naive_l_shape_detect/random_ponts: 160
 * /lidar_naive_l_shape_detect/sensor_height: 2.4
 * /lidar_naive_l_shape_detect/slope_dist_thres: 2.0
 * /localizer: velodyne
 * /naive_motion_predict/filter_out_close_object_threshold: 1.5
 * /naive_motion_predict/interval_sec: 0.1
 * /naive_motion_predict/num_prediction: 10
 * /naive_motion_predict/sensor_height: 2.0
 * /ndt_matching/get_height: True
 * /ndt_matching/gnss_reinit_fitness: 500.0
 * /ndt_matching/imu_topic: /imu_raw
 * /ndt_matching/imu_upside_down: False
 * /ndt_matching/method_type: 0
 * /ndt_matching/offset: linear
 * /ndt_matching/output_log_data: False
 * /ndt_matching/queue_size: 1
 * /ndt_matching/use_gnss: True
 * /ndt_matching/use_imu: True
 * /ndt_matching/use_local_transform: False
 * /ndt_matching/use_odom: True
 * /op_global_planner/enableDynamicMapUpdate: False
 * /op_global_planner/enableLaneChange: False
 * /op_global_planner/enableReplan: True
 * /op_global_planner/enableRvizInput: True
 * /op_global_planner/enableSmoothing: True
 * /op_global_planner/mapFileName: 
 * /op_global_planner/mapSource: 0
 * /op_global_planner/pathDensity: 0.75
 * /op_global_planner/velocitySource: 1
 * /points_map_loader/area: noupdate
 * /points_map_loader/arealist_path: 
 * /points_map_loader/pcd_paths: ['/home/autoware/...
 * /pure_pursuit/add_virtual_end_waypoints: False
 * /pure_pursuit/const_lookahead_distance: 4.0
 * /pure_pursuit/const_velocity: 5.0
 * /pure_pursuit/is_linear_interpolation: True
 * /pure_pursuit/lookahead_ratio: 2.0
 * /pure_pursuit/minimum_lookahead_distance: 6.0
 * /pure_pursuit/publishes_for_steering_robot: False
 * /pure_pursuit/velocity_source: 0
 * /range_vision_fusion_01/camera_info_src: /camera_info
 * /range_vision_fusion_01/detected_objects_range: /detection/lidar_...
 * /range_vision_fusion_01/detected_objects_vision: /detection/image_...
 * /range_vision_fusion_01/min_car_dimensions: [3,2,2]
 * /range_vision_fusion_01/min_person_dimensions: [1,2,1]
 * /range_vision_fusion_01/overlap_threshold: 0.6
 * /range_vision_fusion_01/sync_topics: False
 * /ray_ground_filter/base_frame: base_link
 * /ray_ground_filter/clipping_height: 3.5
 * /ray_ground_filter/concentric_divider_distance: 0.0
 * /ray_ground_filter/general_max_slope: 3.0
 * /ray_ground_filter/ground_point_topic: /points_ground
 * /ray_ground_filter/input_point_topic: /points_raw
 * /ray_ground_filter/local_max_slope: 5.0
 * /ray_ground_filter/min_height_threshold: 0.05
 * /ray_ground_filter/min_point_distance: 0.5
 * /ray_ground_filter/no_ground_point_topic: /points_no_ground
 * /ray_ground_filter/radial_divider_angle: 0.1
 * /ray_ground_filter/reclass_distance_threshold: 0.2
 * /robot_description: <?xml version="1....
 * /rosbag_fname: 
 * /rosdistro: melodic
 * /rosversion: 1.14.6
 * /tf_pitch: 0.0
 * /tf_roll: 0.0
 * /tf_x: 0
 * /tf_y: 0.0
 * /tf_yaw: 0.0
 * /tf_z: 2.4
 * /twist_filter/lateral_accel_limit: 5.0
 * /twist_filter/lateral_jerk_limit: 5.0
 * /twist_filter/lowpass_gain_angular_z: 0.0
 * /twist_filter/lowpass_gain_linear_x: 0.0
 * /twist_filter/lowpass_gain_steering_angle: 0.0
 * /twist_gate/loop_rate: 30.0
 * /twist_gate/use_decision_maker: False
 * /use_gui: False
 * /use_sim_time: True
 * /vehicle_info/wheel_base: 2.7
 * /vehiclecmd_to_ackermanndrive/wheelbase: 2.7
 * /velocity_set/decelerate_vel_min: 1.3
 * /velocity_set/deceleration_obstacle: 1.5
 * /velocity_set/deceleration_range: 0
 * /velocity_set/deceleration_stopline: 0.6
 * /velocity_set/detection_height_bottom: -1.7
 * /velocity_set/detection_height_top: 2.5
 * /velocity_set/detection_range: 1.3
 * /velocity_set/enable_multiple_crosswalk_detection: True
 * /velocity_set/points_threshold: 10
 * /velocity_set/points_topic: points_no_ground
 * /velocity_set/remove_points_upto: 0.5
 * /velocity_set/stop_distance_obstacle: 15.0
 * /velocity_set/stop_distance_stopline: 5.0
 * /velocity_set/temporal_waypoints_size: 100
 * /velocity_set/use_crosswalk_detection: False
 * /velocity_set/velocity_change_limit: 15
 * /velocity_set/velocity_offset: 4
 * /vision_beyond_track_01/camera_height: 1.2
 * /vision_beyond_track_01/camera_info_src: /camera_info
 * /vision_beyond_track_01/objects_topic_src: /detection/image_...
 * /vision_darknet_detect/gpu_device_id: 0
 * /vision_darknet_detect/image_raw_node: //image_raw
 * /vision_darknet_detect/names_file: /home/autoware//a...
 * /vision_darknet_detect/network_definition_file: /home/autoware/Au...
 * /vision_darknet_detect/nms_threshold: 0.3
 * /vision_darknet_detect/pretrained_model_file: /home/autoware//a...
 * /vision_darknet_detect/score_threshold: 0.5
 * /voxel_grid_filter/measurement_range: 200
 * /voxel_grid_filter/output_log: False
 * /voxel_grid_filter/points_topic: points_raw
 * /wayarea2grid/grid_frame: map
 * /wayarea2grid/grid_length_x: 150
 * /wayarea2grid/grid_length_y: 150
 * /wayarea2grid/grid_position_x: 0
 * /wayarea2grid/grid_position_y: 0
 * /wayarea2grid/grid_position_z: -2
 * /wayarea2grid/grid_resolution: 0.3
 * /wayarea2grid/sensor_frame: velodyne
 * /waypoint_replanner/use_decision_maker: True
 * /waypoint_velocity_visualizer/base_waypoints_rgba: [1.0, 1.0, 1.0, 0.5]
 * /waypoint_velocity_visualizer/command_twist_rgba: [1.0, 0.0, 0.0, 0.5]
 * /waypoint_velocity_visualizer/control_buffer_size: 100
 * /waypoint_velocity_visualizer/current_twist_rgba: [0.0, 0.0, 1.0, 0.5]
 * /waypoint_velocity_visualizer/final_waypoints_rgba: [0.0, 1.0, 0.0, 0.5]
 * /waypoint_velocity_visualizer/plot_height_ratio: 1.0
 * /waypoint_velocity_visualizer/plot_height_shift: 0.2
 * /waypoint_velocity_visualizer/plot_metric_interval: 1.0
 * /waypoint_velocity_visualizer/use_bar_plot: False
 * /waypoint_velocity_visualizer/use_line_plot: True
 * /waypoint_velocity_visualizer/use_text_plot: True
 * /yolo3_rects/image_out: /image_rects
 * /yolo3_rects/image_src: /image_raw
 * /yolo3_rects/object_src: /detection/image_...

NODES
  /
    astar_avoid (waypoint_planner/astar_avoid)
    can_odometry (autoware_connector/can_odometry)
    can_status_translator (autoware_connector/can_status_translator)
    carla_ackermann_control_ego_vehicle (carla_ackermann_control/carla_ackermann_control_node.py)
    carla_ego_vehicle_ego_vehicle (carla_ego_vehicle/carla_ego_vehicle.py)
    carla_ros_bridge (carla_ros_bridge/bridge.py)
    carla_to_autoware_vehicle_status (carla_autoware_bridge/carla_to_autoware_vehicle_status)
    config_waypoint_follower_rostopic (rostopic/rostopic)
    config_waypoint_replanner_topic (rostopic/rostopic)
    costmap_generator (costmap_generator/costmap_generator)
    decision_maker (decision_maker/decision_maker_node)
    dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175 (dynamic_reconfigure/dynparam)
    ego_vehiclecamerafront_to_camera (tf/static_transform_publisher)
    ego_vehiclegnss_to_gps (tf/static_transform_publisher)
    ego_vehiclelidar_to_velodyne (tf/static_transform_publisher)
    goal_relay_ego_vehicle (topic_tools/relay)
    imag_relay (topic_tools/relay)
    image_tracker_rects (detected_objects_visualizer/visualize_rects)
    imm_ukf_pda_01 (imm_ukf_pda_track/imm_ukf_pda)
    info_relay (topic_tools/relay)
    initialpose_relay_ego_vehicle (topic_tools/relay)
    joint_state_publisher (joint_state_publisher/joint_state_publisher)
    lane_rule (lane_planner/lane_rule)
    lane_select (lane_planner/lane_select)
    lane_stop (lane_planner/lane_stop)
    lidar_euclidean_cluster_detect (lidar_euclidean_cluster_detect/lidar_euclidean_cluster_detect)
    lidar_naive_l_shape_detect (lidar_naive_l_shape_detect/lidar_naive_l_shape_detect)
    map_to_mobility (tf/static_transform_publisher)
    naive_motion_predict (naive_motion_predict/naive_motion_predict)
    ndt_matching (lidar_localizer/ndt_matching)
    odometry_to_posestamped (carla_autoware_bridge/odometry_to_posestamped)
    op_global_planner (op_global_planner/op_global_planner)
    points_map_loader (map_file/points_map_loader)
    points_relay (topic_tools/relay)
    pose_relay (topic_tools/relay)
    pure_pursuit (pure_pursuit/pure_pursuit)
    range_vision_fusion_01 (range_vision_fusion/range_vision_fusion)
    ray_ground_filter (points_preprocessor/ray_ground_filter)
    robot_state_publisher (robot_state_publisher/state_publisher)
    rviz (rviz/rviz)
    twist_filter (twist_filter/twist_filter)
    twist_gate (twist_gate/twist_gate)
    ukf_track_relay_01 (topic_tools/relay)
    vector_map_loader (map_file/vector_map_loader)
    vehiclecmd_to_ackermanndrive (carla_autoware_bridge/vehiclecmd_to_ackermanndrive)
    vel_relay (topic_tools/relay)
    velocity_set (waypoint_planner/velocity_set)
    vision_beyond_track_01 (vision_beyond_track/vision_beyond_track)
    vision_darknet_detect (vision_darknet_detect/vision_darknet_detect)
    voxel_grid_filter (points_downsampler/voxel_grid_filter)
    wayarea2grid (object_map/wayarea2grid)
    waypoint_marker_publisher (waypoint_maker/waypoint_marker_publisher)
    waypoint_replanner (waypoint_maker/waypoint_replanner)
    waypoint_velocity_visualizer (waypoint_maker/waypoint_velocity_visualizer)
    world_to_map (tf/static_transform_publisher)
    yolo3_rects (detected_objects_visualizer/visualize_rects)
  /detection/fusion_tools/
    range_fusion_visualization_01 (detected_objects_visualizer/visualize_detected_objects)
  /detection/l_shaped/
    naive_shape_visualization_01 (detected_objects_visualizer/visualize_detected_objects)
  /detection/lidar_detector/
    cluster_detect_visualization_01 (detected_objects_visualizer/visualize_detected_objects)
    object_roi_filter_clustering (roi_object_filter/roi_object_filter)
  /detection/lidar_tracker/
    ukf_track_visualization_01 (detected_objects_visualizer/visualize_detected_objects)
  /prediction/motion_predictor/
    naive_prediction_visualization_01 (detected_objects_visualizer/visualize_detected_objects)

ROS_MASTER_URI=http://localhost:11311

process[carla_ros_bridge-1]: started with pid [837]
process[goal_relay_ego_vehicle-2]: started with pid [838]
process[initialpose_relay_ego_vehicle-3]: started with pid [841]
process[carla_ego_vehicle_ego_vehicle-4]: started with pid [847]
process[carla_ackermann_control_ego_vehicle-5]: started with pid [853]
/usr/local/lib/python2.7/dist-packages/simple_pid/PID.py:22: UserWarning: time.monotonic() not available in python < 3.3, using time.time() as fallback
  warnings.warn('time.monotonic() not available in python < 3.3, using time.time() as fallback')
[INFO] [1605816706.478239, 0.000000]: Trying to connect to localhost:2000
[WARN] [1605816706.490677, 0.000000]: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API. Client API version: 0.9.10.1. Simulator API version: 784d9b9f
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API 
WARNING: Client API version     = 0.9.10.1 
WARNING: Simulator API version  = 784d9b9f 
process[dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175-6]: started with pid [856]
process[world_to_map-7]: started with pid [874]
[INFO] [1605816707.991011, 0.000000]: Loading town 'Town01' (previous: 'Town03').
[INFO] [1605816708.017669, 0.000000]: Reconfigure Request:  speed (0.05, 0.0, 0.5),accel (0.05, 0.0, 0.05),
[INFO] [1605816708.383527, 0.000000]: Reconfigure Request:  speed (0.15, 0.0, 0.4),accel (0.03, 0.0, 0.05),
process[map_to_mobility-8]: started with pid [878]
[dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175-6] process has finished cleanly
log file: /home/autoware/.ros/log/368092b6-2aa2-11eb-92f7-cc2f71e7786d/dynparam_bignrz_Lenovo_ideapad_520_15IKB_822_1709611057771487175-6*.log
[INFO] [1605816708.848634, 0.000000]: listening to server localhost:2000
[INFO] [1605816708.849817, 0.000000]: using vehicle filter: vehicle.toyota.prius
[INFO] [1605816708.851037, 0.000000]: Waiting for CARLA world (topic: /carla/world_info)...
process[ego_vehiclegnss_to_gps-9]: started with pid [907]
process[ego_vehiclelidar_to_velodyne-10]: started with pid [919]
process[ego_vehiclecamerafront_to_camera-11]: started with pid [925]
process[points_relay-12]: started with pid [932]
process[imag_relay-13]: started with pid [937]
process[info_relay-14]: started with pid [943]
[INFO] [1605816712.413236, 0.000000]: synchronous_mode: False
[INFO] [1605816712.414577, 0.000000]: fixed_delta_seconds: 0.05
process[odometry_to_posestamped-15]: started with pid [949]
process[vehiclecmd_to_ackermanndrive-16]: started with pid [955]
process[carla_to_autoware_vehicle_status-17]: started with pid [963]
process[joint_state_publisher-18]: started with pid [969]
process[robot_state_publisher-19]: started with pid [984]
[ WARN] [1605816715.201172985]: The 'state_publisher' executable is deprecated. Please use 'robot_state_publisher' instead
process[points_map_loader-20]: started with pid [995]
shutdown request: new node registered with same name
[vehiclecmd_to_ackermanndrive-16] process has finished cleanly
log file: /home/autoware/.ros/log/368092b6-2aa2-11eb-92f7-cc2f71e7786d/vehiclecmd_to_ackermanndrive-16*.log
process[vector_map_loader-21]: started with pid [1005]
process[wayarea2grid-22]: started with pid [1013]
process[ray_ground_filter-23]: started with pid [1019]
process[can_odometry-24]: started with pid [1026]
process[voxel_grid_filter-25]: started with pid [1035]
[ERROR] [1605816718.874604, 0.000000]: Timeout while waiting for world info!
process[ndt_matching-26]: started with pid [1043]
process[lidar_euclidean_cluster_detect-27]: started with pid [1049]
[carla_ego_vehicle_ego_vehicle-4] process has died [pid 847, exit code 1, cmd /home/autoware/carla_ws/src/ros-bridge/carla_ego_vehicle/src/carla_ego_vehicle/carla_ego_vehicle.py __name:=carla_ego_vehicle_ego_vehicle __log:=/home/autoware/.ros/log/368092b6-2aa2-11eb-92f7-cc2f71e7786d/carla_ego_vehicle_ego_vehicle-4.log].
log file: /home/autoware/.ros/log/368092b6-2aa2-11eb-92f7-cc2f71e7786d/carla_ego_vehicle_ego_vehicle-4*.log
process[detection/lidar_detector/object_roi_filter_clustering-28]: started with pid [1060]
[ INFO] [1605816719.985509373]: [roi_object_filter] objects_src_topic: /detection/lidar_detector/objects
[ INFO] [1605816719.986526428]: [roi_object_filter] wayarea_gridmap_topic: /grid_map_wayarea
[ INFO] [1605816719.987341764]: [roi_object_filter] sync_topics: 0
[ INFO] [1605816719.988166746]: [roi_object_filter] wayarea_gridmap_layer: wayarea
[ INFO] [1605816719.988589362]: [roi_object_filter] wayarea_no_road_value: 255s
[ INFO] [1605816719.989384114]: [roi_object_filter] exception_list: [person, bicycle]
[ INFO] [1605816720.007628424]: [roi_object_filter] Publishing filtered objects in /detection/lidar_detector/objects_filtered
[ INFO] [1605816720.007709486]: [roi_object_filter] Ready. Waiting for data...
process[detection/lidar_detector/cluster_detect_visualization_01-29]: started with pid [1068]
[ INFO] [1605816720.436846154]: [visualize_detected_objects] objects_src_topic: /detection/lidar_detector/objects_filtered
[ INFO] [1605816720.437765023]: [visualize_detected_objects] object_speed_threshold: 0.10
[ INFO] [1605816720.438075660]: [visualize_detected_objects] arrow_speed_threshold: 0.25
[ INFO] [1605816720.438422122]: [visualize_detected_objects] marker_display_duration: 0.20
[ INFO] [1605816720.438762127]: [visualize_detected_objects] label_color: {R:255.0, G:255.0, B:255.0, A:1.0}
[ INFO] [1605816720.439050459]: [visualize_detected_objects] arrow_color: {R:0.0, G:255.0, B:0.0, A:0.8}
[ INFO] [1605816720.439354891]: [visualize_detected_objects] hull_color: {R:51.0, G:204.0, B:51.0, A:0.8}
[ INFO] [1605816720.439634377]: [visualize_detected_objects] box_color: {R:51.0, G:128.0, B:204.0, A:0.8}
[ INFO] [1605816720.439941486]: [visualize_detected_objects] model_color: {R:190.0, G:190.0, B:190.0, A:0.5}
[ INFO] [1605816720.440229635]: [visualize_detected_objects] centroid_color: {R:77.0, G:121.0, B:255.0, A:0.8}
[ INFO] [1605816720.442510364]: [visualize_detected_objects] object_src_topic: /detection/lidar_detector/objects_filtered
[ INFO] [1605816720.445040350]: [visualize_detected_objects] markers_out_topic: /detection/lidar_detector/objects_markers
process[lidar_naive_l_shape_detect-30]: started with pid [1075]
process[detection/l_shaped/naive_shape_visualization_01-31]: started with pid [1081]
[ INFO] [1605816721.477490153]: [visualize_detected_objects] objects_src_topic: /detection/l_shaped/objects
[ INFO] [1605816721.479171039]: [visualize_detected_objects] object_speed_threshold: 0.10
[ INFO] [1605816721.479637007]: [visualize_detected_objects] arrow_speed_threshold: 0.25
[ INFO] [1605816721.480076367]: [visualize_detected_objects] marker_display_duration: 0.20
[ INFO] [1605816721.480524839]: [visualize_detected_objects] label_color: {R:255.0, G:255.0, B:255.0, A:1.0}
[ INFO] [1605816721.480914771]: [visualize_detected_objects] arrow_color: {R:0.0, G:255.0, B:0.0, A:0.8}
[ INFO] [1605816721.481587213]: [visualize_detected_objects] hull_color: {R:51.0, G:204.0, B:51.0, A:0.8}
[ INFO] [1605816721.482340658]: [visualize_detected_objects] box_color: {R:51.0, G:128.0, B:204.0, A:0.8}
[ INFO] [1605816721.483012833]: [visualize_detected_objects] model_color: {R:190.0, G:190.0, B:190.0, A:0.5}
[ INFO] [1605816721.483534410]: [visualize_detected_objects] centroid_color: {R:77.0, G:121.0, B:255.0, A:0.8}
[ INFO] [1605816721.486744139]: [visualize_detected_objects] object_src_topic: /detection/l_shaped/objects
[ INFO] [1605816721.488561771]: [visualize_detected_objects] markers_out_topic: /detection/l_shaped/objects_markers
process[imm_ukf_pda_01-32]: started with pid [1087]
[ERROR] [1605816722.415947, 0.000000]: Error: time-out of 10000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000
process[detection/lidar_tracker/ukf_track_visualization_01-33]: started with pid [1093]
[ INFO] [1605816722.710205380]: [visualize_detected_objects] objects_src_topic: /detection/lidar_tracker/objects
[ INFO] [1605816722.711285417]: [visualize_detected_objects] object_speed_threshold: 0.10
[ INFO] [1605816722.711699633]: [visualize_detected_objects] arrow_speed_threshold: 0.25
[ INFO] [1605816722.712176802]: [visualize_detected_objects] marker_display_duration: 0.20
[ INFO] [1605816722.712547553]: [visualize_detected_objects] label_color: {R:255.0, G:255.0, B:255.0, A:1.0}
[ INFO] [1605816722.712910734]: [visualize_detected_objects] arrow_color: {R:0.0, G:255.0, B:0.0, A:0.8}
[ INFO] [1605816722.713262170]: [visualize_detected_objects] hull_color: {R:51.0, G:204.0, B:51.0, A:0.8}
[ INFO] [1605816722.713601004]: [visualize_detected_objects] box_color: {R:51.0, G:128.0, B:204.0, A:0.8}
[ INFO] [1605816722.714023585]: [visualize_detected_objects] model_color: {R:190.0, G:190.0, B:190.0, A:0.5}
[ INFO] [1605816722.714420008]: [visualize_detected_objects] centroid_color: {R:77.0, G:121.0, B:255.0, A:0.8}
[ INFO] [1605816722.716427199]: [visualize_detected_objects] object_src_topic: /detection/lidar_tracker/objects
[ INFO] [1605816722.717280787]: [visualize_detected_objects] markers_out_topic: /detection/lidar_tracker/objects_markers
================================================================================REQUIRED process [carla_ros_bridge-1] has died!
process has finished cleanly
log file: /home/autoware/.ros/log/368092b6-2aa2-11eb-92f7-cc2f71e7786d/carla_ros_bridge-1*.log
Initiating shutdown!
================================================================================
process[ukf_track_relay_01-34]: started with pid [1105]
RLException: cannot add process [vision_darknet_detect-35] after process monitor has been shut down
The traceback for the exception was written to the log file
[ukf_track_relay_01-34] killing on exit
[detection/lidar_tracker/ukf_track_visualization_01-33] killing on exit
[imm_ukf_pda_01-32] killing on exit
[detection/l_shaped/naive_shape_visualization_01-31] killing on exit
[lidar_naive_l_shape_detect-30] killing on exit
[detection/lidar_detector/cluster_detect_visualization_01-29] killing on exit
[detection/lidar_detector/object_roi_filter_clustering-28] killing on exit
[lidar_euclidean_cluster_detect-27] killing on exit
[ndt_matching-26] killing on exit
[voxel_grid_filter-25] killing on exit
autoware@bignrz-Lenovo-ideapad-520-15IKB:/home/autoware$ terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument
joel-mb commented 3 years ago

Hi @pirate-lofy, One issue I've seen in your log is that the ego_vehicle node is not receiving the world_info topic on time. Can you try setting the map first and then running autoware.

  1. Start the server:
    ./CarlaUE4.sh -windowed -ResX=800 -ResY=600 -carla-server
  2. Change to Town01 (the config.py in under the PythonAPI/util folder).
    python config.py -m Town01
  3. Run the carla-autoware agent.
pirate-lofy commented 3 years ago

Hi, @joel-mb , thanks for replying. I tried to change the map many times using the config.py file but the simulator crashes after running the config.py file witth following error

4.24.3-0+++UE4+Release-4.24 518 0
Disabling core dumps.
LowLevelFatalError [File:Unknown] [Line: 3762] 
Failed to link program [Program V_3AA5F7CCAD2B351344BE53DDA22E8BAEBA78720A_P_ABADFE631118A2CF0719C49D3F936DABF0CE8865]. Current total programs: 268, precompile: 0
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119 
Malloc Size=128368 LargeMemoryPoolOffset=259504 
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

and then I tried to change the map using the terminal parameter /Game/Carla/Maps/Town01 but it doesn't change the map

joel-mb commented 3 years ago

@pirate-lofy which CARLA package are you using? Are you using 0.9.10.1?

pirate-lofy commented 3 years ago

Yes, I am using 0.9.10.1 pre-build release

xichennn commented 2 years ago

same problem here, have you solved it?

SepShr commented 2 years ago

Hi, I am facing similar problem while trying to run Carla with Pylot. Following, is the full log of my Carla run:

4.24.3-0+++UE4+Release-4.24 518 0
Disabling core dumps.
sh: 1: xdg-user-dir: not found
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
LowLevelFatalError [File:Unknown] [Line: 3762]
Failed to link program [Program V_3AA5F7CCAD2B351344BE53DDA22E8BAEBA78720A_P_ABADFE631118A2CF0719C49D3F936DABF0CE8865]. Current total programs: 268, precompile: 0
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=132912 LargeMemoryPoolOffset=264048
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

The failure happened when I ran Pylot and I also confirmed that Pylot was successfully running, until it shutdown since it was not able to connect to Carla. Interestingly, Carla did not consume any GPU memory which is really odd!

I appreciate any help, if possible. Thanks.