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

How do I set up carla real-time rendering #2

Open
keyanxiaobai2 opened this issue Jan 24, 2024 · 1 comment
Open

How do I set up carla real-time rendering #2

keyanxiaobai2 opened this issue Jan 24, 2024 · 1 comment

Comments

@keyanxiaobai2
Copy link

No description provided.

@mahmoudtaouti
Copy link
Owner

To run Carla server use:

./CarlaUE4.sh -benchmark -fps=20 -quality-level=Low For Linux.
OR CarlaUE4.exe -windowed -benchmark -fps=20 -quality-level=Low For Windows.

There are different options for configuring the rendering mode in CARLA, depending on your needs and preferences. Here are some of them:

Quality levels: You can choose between two levels of graphics quality, Epic and Low. Epic is the default and has the most details, while Low disables post-processing and shadows and reduces the drawing distance. You can change the quality level by using the -quality-level flag when running CARLA1.
No-rendering mode: This mode disables rendering completely, allowing the simulation to run faster and more stably. This is useful for scenarios where graphics are not important, such as traffic simulation or road behavior analysis. You can enable or disable no-rendering mode by changing the world settings or using a Python script1.
Off-screen mode: This mode renders the graphics to a buffer instead of displaying them on the screen. This is helpful for situations where you want to save the images for later use, such as data collection or training agents. You can enable or disable off-screen mode by using the -RenderOffScreen flag when running CARLA1.

Don't forget to install the CARLA Python client library .

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