apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Error launch rtk_localization

Open AM055 opened this issue 5 years ago • 10 comments

System information

  • **OS Platform and Distribution :18.04
  • **Apollo installed from : source
  • **Apollo version *: master

Steps to reproduce the issue:

  • in order to launch rtk localization module I did: bazel build //modules/localization/rtk/... cyber_launch start /apollo/modules/localization/launch/localization.launch

  • the build completed successfully but for launch It stays at this level and nothing happens afterwards. Some have any idea ?

Supporting materials (screenshots, command lines, code/script snippets):

image

AM055 avatar Aug 04 '21 08:08 AM055

It looks like there is no error, you can try the next step!

daohu527 avatar Aug 05 '21 00:08 daohu527

Hi, i can't do the next step without pressing ctrl+c , this step is not completed

AM055 avatar Aug 05 '21 07:08 AM055

Yes, it's a while loop, you can use dreamview to start the mode which will run in the backend.

daohu527 avatar Aug 05 '21 07:08 daohu527

sorry I can do these steps inside Apollo Docker container OR It should be done inside Cyber Docker container

AM055 avatar Aug 05 '21 07:08 AM055

Yes, it's a while loop, you can use dreamview to start the mode which will run in the backend.

a while loop, so it will never stop. sorry how can i continue the other steps?

AM055 avatar Aug 05 '21 08:08 AM055

open a new shell windows and do the same steps as before

daohu527 avatar Aug 05 '21 09:08 daohu527

Hi, I did that and left it 1 hour, but nothing is changed. Do you have any idea why it still there? image

AM055 avatar Aug 05 '21 11:08 AM055

I mean open a new shell windows and do the same steps as before to enter the docker not run the command.

by the way, what do you want to happen? run a while and give you some result print out? In fact, the localization module will always work, because localization is always required during the automatic driving process.

Its output is topic, and it uses a publish and subscribe system. I think you should search for relevant information to understand it.

Hope this helps you!

daohu527 avatar Aug 06 '21 00:08 daohu527

Thank you very much, yes now I could understand you. I documented myself on the publish and subscribe system. But, for my case, i want to start by studying the localization module separately from the other modules. ie testing the localization module with different inputs without having to test the other modules (planning, ect ...). So I can't do this?

AM055 avatar Aug 06 '21 12:08 AM055

Of course you can, all you need is a printed result, so I think you still don’t know the input and output of the module.

The localization module accepts GPS, IMU, etc. information, and the output is the current position (UTM coordinates) both by topics. If you want to run it. Then you need the relevant input, and then look at the relevant output

You can view the information of these channels through cyber_monitor

daohu527 avatar Aug 07 '21 00:08 daohu527