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

Vehicle behave abnormally in CARLA Town03/04/05 #185

Open
hwdryan opened this issue Mar 11, 2024 · 6 comments
Open

Vehicle behave abnormally in CARLA Town03/04/05 #185

hwdryan opened this issue Mar 11, 2024 · 6 comments

Comments

@hwdryan
Copy link

hwdryan commented Mar 11, 2024

Describing the problem

Carla-apollo-bridge works fine in CARLA Town01/02. However, when in Town03/04/05, the vehicle will always freak out, the planning, steering and throttle jumps around in dreamview, and the vehicle tries to change to the lanemark. I tried two-way 2 lanes or two-way 4/8 lanes, curved road, and completely straight road. Add showed the same problem.

Video recording

problem.mp4
@PhilWallace
Copy link
Contributor

It seems that there is a lack of map data and thus planning does not working well.

Make sure the map folder (e.g., carla_town03) contains all needed files:

Screenshot from 2024-03-13 00-47-55

Additionally, you can go to Tasks -> PNC Monitor, to check the dynamic data of control module and planning module. These data can be helpful for debugging.

@hwdryan
Copy link
Author

hwdryan commented Mar 15, 2024

Hi @PhilWallace , Thank you for replying! I tried re-generate all map data, but the planning still behave abnormally. Could you share your map data here for me to test?

Also do you know how to change the target speed in apollo-carla? I tried increasing "default_cruise_speed" in module/planning/conf/planning.conf, but it didn't work. Thanks!

@PhilWallace
Copy link
Contributor

Hi @PhilWallace , Thank you for replying! I tried re-generate all map data, but the planning still behave abnormally. Could you share your map data here for me to test?

Also do you know how to change the target speed in apollo-carla? I tried increasing "default_cruise_speed" in module/planning/conf/planning.conf, but it didn't work. Thanks!

My map files are copied from another project, you can download them and have a try: https://github.com/MaisJamal/Carla_apollo_maps

About the speed problem, it could be due to the controller problem. You can go to "Tasks -> PNC Monitor", turn on PNC monitor, and check whether the actual speed can catch up with the planned speed (there is a window, dynamically showing these data). If not, you may need to adjust the controller.

I have a version of optimized controller, which you could refer to if you are interested: https://github.com/PhilWallace/apollo-8.0.0_control_opt

@PhilWallace
Copy link
Contributor

Hi @PhilWallace , Thank you for replying! I tried re-generate all map data, but the planning still behave abnormally. Could you share your map data here for me to test?

Also do you know how to change the target speed in apollo-carla? I tried increasing "default_cruise_speed" in module/planning/conf/planning.conf, but it didn't work. Thanks!

Additionally, you can find my demo here: https://www.youtube.com/watch?v=oOJiw21AAGk

You can check your 'speed' window accordingly to see how your controller works.

@hwdryan
Copy link
Author

hwdryan commented Mar 19, 2024

Hi @PhilWallace , Thank you again for your suggestions. I tried both your map source and your control config file. As much as I hope to, sadly neither of them solved my problem with abnormal planning or low speed problem. Are you sure your implementation of apollo 8.0 and the carla-apollo bridge from this repo works for you in towns other than 01 and 02?

@PhilWallace
Copy link
Contributor

Hi @PhilWallace , Thank you again for your suggestions. I tried both your map source and your control config file. As much as I hope to, sadly neither of them solved my problem with abnormal planning or low speed problem. Are you sure your implementation of apollo 8.0 and the carla-apollo bridge from this repo works for you in towns other than 01 and 02?

Yes, I tried my implementation in Carla Town 03 and the planning module works fine. As I suggested above, you can check the PNC Monitor to determine what is the specific problem. You can also check the log file of planning and control module. These log files can be very helpful for debugging.

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

2 participants