ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
25.12k stars 9.7k forks source link

[perception] apollo lidar obstacle detection messed up by a random shape object. #12085

Closed ntutangyun closed 4 years ago

ntutangyun commented 4 years ago

Issue

Hi team,

Recently I've been trying Apollo's lidar perception module with LGSVL simulator. I've encountered the following case:

Here's a screenshot when one vehicle is detected correctly. norma_1obs

Here's a screenshot when two vehicles are detected correctly. normal_2obs

Here's one vehicle plus one random-shape obstacle, detected normally. random_shape_normal

But when the second vehicle is spawned, without changing the rest, the lidar perception produces 5 obstacles in the result, which by right should be 3 obstacles.
Two additional "ghost" obstacles appeared, where one is directly below the Apollo car and the other one behind the random-shape obstacle.

random_shape_abnormal

Steps to reproduce

Configurations

Below is my dag file for lidar perception:

module_config {
  module_library : "/apollo/bazel-bin/modules/perception/onboard/component/libperception_component_lidar.so"

 components {
    class_name : "SegmentationComponent"
    config {
      name: "Velodyne128Segmentation"
      config_file_path: "/apollo/modules/perception/production/conf/perception/lidar/velodyne128_segmentation_conf_lgsvl.pb.txt"
      flag_file_path: "/apollo/modules/perception/production/conf/perception/perception_common.flag"
      readers {
          channel: "/apollo/sensor/lidar128/compensator/PointCloud2"
        }
    }
  }

  components {
    class_name : "RecognitionComponent"
    config {
      name: "RecognitionComponent"
      config_file_path: "/apollo/modules/perception/production/conf/perception/lidar/recognition_conf.pb.txt"
      readers {
          channel: "/perception/inner/SegmentationObjects"
        }
    }
  }

  components {
    class_name: "FusionComponent"
    config {
      name: "SensorFusion"
      config_file_path: "/apollo/modules/perception/production/conf/perception/fusion/fusion_component_conf.pb.txt"
      readers {
          channel: "/perception/inner/PrefusedObjects"
        }
    }
  }
}

Please let me know if any other resources are needed to verify this. Thanks.

jeroldchen commented 4 years ago

Please refer to #12073 .