Comments (5)
Hi,
"CarlaUE4.sh" is only present in the release version, inside the package CARLA_X.X.X.tar.gz.
If you build CARLA from source, you must open CARLA project with Unreal Editor. This can be done with
$ cd Unreal/CarlaUE4
$ ~/UnrealEngine_4.XX/Engine/Binaries/Linux/UE4Editor "$PWD/CarlaUE4.uproject"
Adjust to match your Unreal Engine folder if necessary.
from carla.
Hi @ishaan95.
First of all, if you just want to run carla on Windows I recommend you to go to release page and download the last Windows compiled version from there. Then you can run the .exe with the same parameters as CarlaUE4.sh (notice .sh files are for Linux), for example:
CarlaUE4.exe -carla-settings=Example.CarlaSettings.ini -windowed -resx=800 -resy=600
If you still want, not only use it, but modify the simulator with Unreal, please just copy carla\Docs\Example.CarlaSettings.ini
to carla\Unreal\CarlaUE4\Config\CarlaSettings.ini
and Unreal Engine will load the correct configuration from CarlaSettings.ini
when you hit play on the editor.
from carla.
@nsubiron I've grabbed carla-0.8.2.tar.gz, and it doesn't contain CarlaUE4.sh either. On the other hand when I just open the project with ~/UnrealEngine_4.17/Engine/Binaries/Linux/UE4Editor "$PWD/CarlaUE4.uproject", it opens fine, but the Pyhton client(/client_example.py --autopilot) returns me just
ERROR: (localhost:2000) failed to connect: [Errno 111] Connection refused.
I've found the world port Carla Engine Settings, it is indeed 2000, but is not editable. Could you advise plz? How can I edit it or what else could happen to connection?
Besides it would still good to have the shell script -- is it possible?
I believe I follow the guidelines in http://carla.readthedocs.io/en/latest/
TIA
from carla.
@krydm The CARLA_0.8.2.tar.gz (compiled version) does have a "CarlaUE4.sh". If you grabbed the source code then it doesn't, in that case you need to compile dependencies and source code, open the Unreal project, enable networking in "Unreal/CarlaUE4/Config/CarlaSettings.ini", and press Play in the editor. But using the source code is only necessary if you want to modify and recompile CARLA, if you just want to run it you are just fine using the compiled version.
from carla.
Hi,
I am trying to run carla on windows and I have built it using the automatic installation mentioned -
here
I couldn't find the CarlaUE4.sh file in any folder. I followed the instructions in this thread and am not understanding the last instruction given by @nsubiron. I did compile the dependencies and source code but could not find CarlaSettings.ini at the location mentioned.
Could you give more details as how to enable networking in the Carlasettings config file through the unreal editor, where the config file is located (Should we create our own config file like Example settings.ini?) and (just to clarify) what the sequence of commands to run carla in client server mode.
Also, in client_example.py it is mentioned we can use make_carla_client context manager, where does that fit in all this?
from carla.
Related Issues (20)
- Electric Poles
- Pallet
- Portable WC
- Park Fountain
- Bus Stop
- Garbage container
- Tree pots
- Signs
- Issues With Making PythonAPI Inside Docker Container on Windows
- "Import Carla" leading to module not found for Python3.12.24 HOT 2
- Update Dynamic Objects positions in RGL Scene using UE Scene
- Include RGLUE plugin into CARLAUE5
- Import Town10 into RGL
- Benchmark raytracing in Town10
- How to give path to carla server if build from source HOT 4
- After the build completes the carla branch of the UE, the UE4EDITOR.EXE cannot be opened, and an error is reported, how should this be solved?
- Avoid carla package to be installed by default and give the user the proper info if he wants to install it
- Implement the sensors post process values changes when weather changes so we can match 1 on 1 spectators and rgb sensors
- Rework of Semantic Segmentation sensor
- Create cmake target to be able to compile C++ client
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carla.