MaisJamal / carla_apollo_bridge

This project provides a bridge for communication between the autonomous driving platform Apollo and Carla simulator. Receiving data from Carla, Apollo controls the autonomous vehicle.
Apache License 2.0
53 stars 13 forks source link

Reproduce the problems encountered by your project #10

Closed CCBest2022 closed 1 year ago

CCBest2022 commented 1 year ago

Hello, I have been very interested in this project recently.

  1. Currently, I can only successfully run manual_control.py.
  2. Sometimes I can run run_bridge.py successfully, but many times errors will occur. Other python programs will have some errors, how to solve these?
  3. Below are some of my running pictures dd3287bc08227924089afde1c6ccecb6 c6e1e757bf3b78e7ec4c6ef38f695595 8ca7e131949921b0dab11b71f6262bb9
MaisJamal commented 1 year ago

Please note that you should follow a specific order when running the bridge:

  1. run Apollo Dreamview
  2. run the script from Carla
  3. then, run the bridge

The error in the second pictures accrues when you run the bridge before adding the ego vehicle to UnrealEngine's world. This happens because in the bridge I assume that the world is set and ready for transferring data. While the error in the third picture is related to the incorrect IP address. I have pushed a commit of an edited script generate_traffic.py, to generate the traffic and get the host IP address from the bridge config.

CCBest2022 commented 1 year ago

Thank you very much, according to your guidance, I initially solved the problem on the bridge project.