Apollo: How to run perception module

Created on 1 Sep 2019  路  8Comments  路  Source: ApolloAuto/apollo

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 14.04): Ubuntu 14.04
  • Apollo installed from (source or binary): source
  • Apollo version (1.0, 1.5, 2.0, 2.5, 3.0): branch r5.0.0

Steps to reproduce the issue:

  • Please use bullet points and include as much details as possible: On the perception documentation, I saw that the input of perception module are sensor datas and it will output obstacle, lane information. I currently have a record file with all the sensor data and I wonder if there is a way that I can put in the sensor data and get the result of those processed information. If so, where to input my data and where I can find the output? Thank you!
Perception Question

Most helpful comment

Hi @zhanghming, if you want to run apollo 5.0 with LGSVL simulator, you should use lgsvl/apollo5.0 docker image and our fork of apollo since we added files to enable the connection between apollo and LGSVL. lgsvl/apollo5.0is based on appolloauto/apollo.

Please let me know if you need any other help to run LGSVL.

All 8 comments

@chenghanzh Hi, you need to have localization and transform modules work to run perception. You need to check your sensor data to make sure you have the required data for those two modules.

@luqiang21
My record file looks like this. I downloaded it from apollo open data platform.
Screen Shot 2019-08-31 at 8 24 30 PM

Do you know which command I should use and where I can find the output data (maybe visualize them)?

I tried to run files in /apollo/modules/perception/production/dag but it says segmentation fault. I think it might be input/output issues and I wander where I can find these files.

@chenghanzh To run each module, after you run bootstrap.sh, you can either run them using buttons in the dreamview, or run them using the corresponding dag files. The visualization of perception will be shown in dreamview. I suggest you try an AD simulator like LGSVL to go through all setups of apollo and check how each module works. Then you can try your data.

@luqiang21 I'll try it. Thank you so much!

@chenghanzh thank you for your interest in the Apollo Perception module. Currently closing this issue as it appears to be resolved. If you do have additional questions, feel free to reopen it.

@Chenghanzh did you solve the problem , i want the same work with prediction module any suggestion will be appreciated
Regards

@luqiang21 Hello, you mentioned that we can use LGSVL to test the Apollo, I wonder is there any detailed steps to run LGSVL? I find the official documents are so confusing that I cann't understand a lot.

For example, I'm not sure whether should I pull the lgsvl/apollo5.0 docker image and run all things in that image? What the relationship between the lgsvl/apollo5.0 image and the appolloauto/apollo image?

Hi @zhanghming, if you want to run apollo 5.0 with LGSVL simulator, you should use lgsvl/apollo5.0 docker image and our fork of apollo since we added files to enable the connection between apollo and LGSVL. lgsvl/apollo5.0is based on appolloauto/apollo.

Please let me know if you need any other help to run LGSVL.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

YaoQii picture YaoQii  路  3Comments

c-xyli picture c-xyli  路  3Comments

BenBaek picture BenBaek  路  3Comments

Wsine picture Wsine  路  3Comments

westeast picture westeast  路  3Comments