Debug Tools for CARLA
Firstly! Please git clone this repo ${YOU_CARLA_PATH}/PythonAPI
# exmaple in my computer
cd CARLA_0.9.14/PythonAPI
git clone https://github.com/kin-zhang/quickly-carla
Demo for this repo usage:
carla-2022-12-28_19.36.53.mp4
When you tried this repo, please make sure that you can run the official example like:
cd ~/CARLA_0.9.14/PythonAPI
python3 examples/manual_control.py
Test computer and System (py38):
- Desktop setting: i9-12900KF, GPU 3090, CUDA 11.3
- System setting: Ubuntu 20.04, Python 3.8
- Test Date: 2022/12/28, CARLA Version: 0.9.14, Using the system env python
cd ~/CARLA_0.9.14/PythonAPI
git clone https://github.com/Kin-Zhang/quickly-carla
pip install customtkinter glog webbrowser
python3 quickly-carla/start_gui.py
① Correct your port, normally the default one is 2000 to CARLA servers
② Click Connect button and make sure the log print: Connect the CARLA server successfully
③ Change the rolename based on your setting on your ego vehicle, normally is hero
or ego_vehicle
④ Click Find button, and make sure it find your car
Now, you can try everything like video shown at beginning.
-
tkgui cannot show great font.
For some reasons corpnewt/ProperTree#86, ContinuumIO/anaconda-issues#776, TomSchimansky/CustomTkinter#206:
conda remove tk
But it will cause another problem, fixed by
sudo apt remove python3-pip sudo python3.8 -m easy_install pip
- CARLA community: https://github.com/carla-simulator/carla
- Python GUI: https://github.com/TomSchimansky/CustomTkinter
And welcome to contribute!!
✨✨Stargazers, positive feedback