Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localization error #199

Open
AOOOOOA opened this issue Jun 30, 2024 · 0 comments
Open

localization error #199

AOOOOOA opened this issue Jun 30, 2024 · 0 comments

Comments

@AOOOOOA
Copy link

AOOOOOA commented Jun 30, 2024

Describe the bug

In what area(s)?

/area runtime

Steps to Reproduce the Problem

Steps to reproduce the behavior:

  1. Run this command in the container to start Dreamview: ./scripts/bootstrap.sh
  2. Start the bridge and spawn the ego vehicle: python carla_cyber_bridge/bridge.py and python carla_spawn_objects/carla_spawn_objects.py
  3. Start a co-simulation: Open apollo client: http://localhost:8888
  4. run main.py in modules/carla_bridge/

Expected Behavior

Expected the vehicle can successfully run with every module normally executed.

Actual Behavior

The localization module in DreamView shown as "Error".

localiazation_error

I checked the log file and it reports: "Reflectance map folder is invalid".

First I followed the comment #178 (comment) but it failed with the error

E0630 19:55:41.157631 21386 rtk_localization.cc:388] [localization]Cannot find Matching IMU. IMU messages too old. Newest timestamp[1.71975e+09], GPS timestamp[1.71975e+09]

Then I followed the instruction in Apollo repo to change the mode in /modules/localization/conf/localization_config.pb.txt from MSF to RTK. I also changed the
key:Localization's dag_files in /apollo/modules/dreamview/conf/hmi_modes/mkz_standard_debug.pb.txt to dag_streaming_rtk_localization.dag.
But the dreamview also shows the Warn as:Localization: ERROR: Error: Current Localization Status Is Missing.

image

Why is it happened and how to fix it? I found users report the same problem in
#178

Environments (please complete the following information):

  • System info: [use uname --all on LInux]
  • Cuda version [use nvidia-smi]
  • Docker version [use docker -v]
  • Docker-compose version [use docker-compose -v]
  • Versions of other dependent software...

Additional context

What version of carla_apollo_bridge?

0.2.x
0.1.x
edge: output of git describe --dirty

Release Note

RELEASE NOTE:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant