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)
- Can we import custom maps using OpenDRIVE maps in CARLA using OSC 2.0? HOT 1
- Wrong boundingbox size of Motorcycles, which is (0,0,0). HOT 7
- Can not kill Carla by Python script when i set autopilot mode HOT 16
- New Vehicle BP configuration
- Litter
- Add new props into PropFactory HOT 2
- Fix Clothes materials HOT 2
- Road Decals
- I would like to ask: Why does the custom car I added slide to the side when it is stationary? HOT 9
- Garden Rocks
- Cannot Change Color of Imported Vehicle HOT 2
- Cannot Change Motorcycle/Bicycle Driver HOT 5
- Fix generate_traffic.py as is not spawning walkers
- Boost.Python.ArgumentError: Python argument types in VehicleControl.__init__(VehicleControl) did not match C++ signature: __init__(struct _object * __ptr64, float throttle=0.0, float steer=0.0, float brake=0.0, bool hand_brake=False, bool reverse=False, bool manual_gear_shift=False, int gear=0) __init__(struct _object * __ptr64) HOT 9
- Can't find Visual Studio compiler (cl.exe). HOT 1
- Walker bones relative rotations HOT 3
- Alternative download link for Assets HOT 1
- LINK: fatal error LNK1181: carla_simulator\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\lib\sqlite3.lib' cannot open input file. HOT 3
- The traffic light remains red for longer than the time observed with get_red_time()
- set_autopilot API can't stop the vehicle
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.