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

Download error #176

Closed
MFaisalZaki opened this issue Jan 26, 2018 · 21 comments
Closed

Download error #176

MFaisalZaki opened this issue Jan 26, 2018 · 21 comments
Assignees

Comments

@MFaisalZaki
Copy link

Hello Sir,

I'm working on building CARLA for MAC OSX but I'm facing this problem regarding downloading some file named content from a google drive, If you may send me a direct download link to be able to download myself then I'll try to automate the whole process soon.

I have attached terminal output when I executed the Update.sh script.
screen shot 2018-01-26 at 8 23 07 pm

@MFaisalZaki
Copy link
Author

I think this occurs due to google drive permissions, So I have requested an access for this download content. If you may give me this permission, to be able to download the file myself, as for the python script download_from_gdrive.py the token received is always None, which aborts the download.

@nsubiron
Copy link
Collaborator

Hi @MFaisalZaki,

We had some issues with the GDrive storage during Friday and the links went down. That's probably the cause of this. It should be fixed now. Have you tried again? Let us know if you still have issues with this.

@nsubiron nsubiron changed the title MAC OS X Building Download error Jan 29, 2018
@MFaisalZaki
Copy link
Author

I'm have compiled Carla successfully and generated Xcode project files but now I receive this error regarding permission denied for "touch: casetestABC: Permission denied"
screen shot 2018-02-02 at 12 02 27 pm

@MFaisalZaki
Copy link
Author

Fixed the issue was I didn't have write permissions on the UE4 folder since I have installed it using Epic Launcher and didn't compile it.

@nsubiron
Copy link
Collaborator

nsubiron commented Feb 2, 2018

Great :) thanks for sharing, it seems like it can be a common issue.

@MFaisalZaki
Copy link
Author

Also I have this problem, when I clean Carla it deletes UE4Editor.app
screen shot 2018-02-02 at 4 10 15 pm

@MFaisalZaki
Copy link
Author

Done. I can run Carla on MAC OS but I can't find ./CarlaUE4.sh to run as a server.

Can you provide me with an example I don't want to download 2.0 GB to check a shell file.

@MFaisalZaki
Copy link
Author

I'm getting missing assets but the simulator is working, how this is possible
screen shot 2018-02-02 at 8 24 03 pm

@nsubiron
Copy link
Collaborator

nsubiron commented Feb 3, 2018

There is no "CarlaUE4.sh" script in the source version of CARLA. Once you open the project in the Unreal Editor, you can hit Play to run CARLA.

The missing assets that is complaining about are Unreal's Automotive Materials, follow the instructions in the documentation to Add Automotive Materials.

@MFaisalZaki
Copy link
Author

MFaisalZaki commented Feb 6, 2018

Here are the modifications for adding support for CARLA on mac os x. Sorry I didn't have time to automate it.
mac_modifications.zip

PS: Please check it and if you may integrate it and you can close this issue.

@nsubiron
Copy link
Collaborator

nsubiron commented Feb 6, 2018

Great! thanks for sharing. Do you think you could do a pull-request with the changes?

@MFaisalZaki
Copy link
Author

CARLA simulator is running slow in the editor, I have selected the quality to be low and the material also to be low and still the same issue. It runs at max 5 FPS !!!.

I thought at first it was due to the absence of -pthread flag, but after I added the flag no changes in the performance.

Please note that I'm running on Macbook pro with retina display with 8 cores i7 and 8 GB RAM with SSD disk.

I also received a notification saying since the Xcode installed is not 8.3.x then performance will be degraded, where my xcode version is 9.1

Please advice.

@nsubiron
Copy link
Collaborator

nsubiron commented Feb 7, 2018

CARLA is a very performance demanding software, at the very minimum you would
need a computer with a dedicated GPU capable of running Unreal Engine. See
Unreal Engine's recommended hardware.

CARLA requires a very powerful dedicated GPU to run smoothly. At the moment CARLA has significant performance issues, we are working hard to improve this, but it is something that takes a lot of time and effort.

See also the discussion about performance in #10.

@MFaisalZaki
Copy link
Author

Is it possible to have CARLA like OpenAI Gym environments, but the difference is that CARLA can provide both raw input images, processed input images or any set of states required by the user.

I'm working on motion planning algorithm using machine learning for my masters degree and I was thinking to modify CARLA to provide a set of states which will allow my algorithm to work as expected.

What do you think ?

Also if you can provide a way to remove the attached camera from the vehicle ? if doing so will help in speeding up the FPS ?!

@amritas02
Copy link

Can anyone guide me what to do next? I've built Unreal Engine with Xcode but don't know how to proceed with building Carla!

@MFaisalZaki
Copy link
Author

MFaisalZaki commented May 18, 2018 via email

@amritas02
Copy link

I did all the steps mentioned above. But when I try to open CarlaUE4.uproject with Unreal Engine, it gives me this error. FYI, I have built my Unreal Engine from the source manually.

screen shot 2018-05-21 at 12 26 30 pm

When I say yes to the above, it tries to build the missing files and then says build failed.

I have been over this so many times - it's not working.

@MFaisalZaki
Copy link
Author

MFaisalZaki commented May 21, 2018 via email

@Abanoub-G
Copy link

I did all the steps mentioned above. But when I try to open CarlaUE4.uproject with Unreal Engine, it gives me this error. FYI, I have built my Unreal Engine from the source manually.

screen shot 2018-05-21 at 12 26 30 pm

When I say yes to the above, it tries to build the missing files and then says build failed.

I have been over this so many times - it's not working.

Hi,
Did you manage to solve this problem?

@Abanoub-G
Copy link

Done. I can run Carla on MAC OS but I can't find ./CarlaUE4.sh to run as a server.

Can you provide me with an example I don't want to download 2.0 GB to check a shell file.

Hey can you please tell me what you exactly did? I have reached to the point where I type on terminal "make launch" and I get this in return:

clang 5.0 is required, but it's not installed.
make sure you build Unreal Engine with clang 5.0 too.
make: *** [setup] Error 1

I already have clang version 7.0.0 installed. I have also installed version 5.0.0 but I don't know how to make my Mac use the 5.0.0 version instead of the 7.0.0 version. Any idea how I can go about this.

Also I don't know how I can use the files you modified below...

Here are the modifications for adding support for CARLA on mac os x. Sorry I didn't have time to automate it.
mac_modifications.zip

PS: Please check it and if you may integrate it and you can close this issue.

If you can show me how your files can be used that would be awesome. All what I did so far was by following the guide on how to build Carla on windows.

Thanks

@amritas02
Copy link

I did all the steps mentioned above. But when I try to open CarlaUE4.uproject with Unreal Engine, it gives me this error. FYI, I have built my Unreal Engine from the source manually.
screen shot 2018-05-21 at 12 26 30 pm
When I say yes to the above, it tries to build the missing files and then says build failed.
I have been over this so many times - it's not working.

Hi,
Did you manage to solve this problem?

No I didn't. I just stopped using it

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

6 participants