Questions tagged [carla]

CARLA is an Open-source simulator for autonomous driving research

Project page

git hub sources

99 questions
0
votes
0 answers

I'm having trouble installing and running a program on Google Collab

Update : all what I need know how to use cloudflared? I followed this: https://colab.research.google.com/github/MichaelBosello/carla-colab/blob/master/carla-simulator.ipynb In order to install carla simulation on google colab first: I don't know…
0
votes
1 answer

Making some traffic hazard in Carla simulator

In Carla simulator I can make some traffic using generate_traffic.py But I want to make some cars or pedestrians ignoring traffic lights. In this case what code should I change?
lin ki
  • 39
  • 4
0
votes
1 answer

Create depth map image as 24-bit (Carla)

I have a depth map encoded in 24 bits (labeled "Original"). With the code below: carla_img = cv.imread('carla_deep.png', flags=cv.IMREAD_COLOR) carla_img = carla_img[:, :, :3] carla_img = carla_img[:,:,::-1] gray_depth = ((carla_img[:,:,0] +…
Pawlit16
  • 123
  • 2
  • 14
0
votes
2 answers

how to change carla map road slope

I tried to change an existing CARLA simulator map road slope like San Francico downhill intersection. Can not find an editor for it. Would anyone suggest a right tool to do it? a tutorial link will be even better. Thanks a lot for your help.
paul
  • 45
  • 3
0
votes
1 answer

Running a GUI application inside a container on a headless (without display) cluster

It's been quite a while that I am struggling to solve an issue but no success. I would like to run Carla simulator 9.10.1 in their provided docker container on a headless (without display) cluster which is managed by Slurm. We use enroot containers…
ENT
  • 1
0
votes
0 answers

Colab GPU session disconnects within 10-15 mins

I'm trying to run this notebook which causes GPU session to disconnect within 10-15 minutes. I tried with different accounts, and I get the same results. If I try to reconnect, I get You cannot currently connect to a GPU due to usage limits in Colab…
watch-this
  • 1
  • 4
  • 20
0
votes
1 answer

CARLA - Create Custom semantic tags Does not work

i followed the instructions on Create semantic tags to create my custom tags. I created two new folders, ChevronSign and YellowLine Then i added the tags to ObjectLabel.h in LibCarla/source/carla/rpc Then i edited Tagger.cpp in…
William
  • 31
  • 1
0
votes
1 answer

Unable to run carla Spawn_npc python eamples?

Hi I have followed the newest Carla release following this: However when I run the spawn_npc example I have the error below: /opt/carla-simulator/PythonAPI/examples$ python3 spawn_npc.py Traceback (most recent call last): File "spawn_npc.py", line…
sneibus
  • 1
  • 1
0
votes
2 answers

Unreal Engine 4.24: Plugin 'AndroidPermission' failed to load because module 'AndroidPermission' could not found

I am preparing a project about self-driving vehicles and I will work on the Carla simulator. I am using Ubuntu 18.04 LTS and installed Unreal Engine version 4.24. I've done the steps in the Carla document one by one, but when running the UE4Editor,…
0
votes
1 answer

Random image flipping in CARLA/UE4

I am working with Carla 0.9.9 in Unreal 4.24 (Windows10/RTX2080) right now in order to get some basic autonomous driving functions going. So far it seems to be working fine, but I have a weird problem and I'm quite confident that it's not caused by…
0
votes
2 answers

Carla simulator dependent on Unreal engine? Any alternative open source real-time 3D creation platform are available?

I am trying to run carla Simulator on Azure ubuntu 18.04 machine, but as per the document we need to create an account in GitHub and Unreal engine, and we need to link those two accounts. Whether carla is dependent on unreal engine? Do we need to…
Aravinda
  • 11
  • 6
0
votes
1 answer

AttributeError: module 'carla' has no attribute 'Client'

I've been trying to play around with the Carla self-driving car environment but I run into "AttributeError: module 'carla' has no attribute 'Client'" when I try running the code from this tutorial:…
spe301
  • 1
  • 3
0
votes
0 answers

NameError: name 'self' is not defined when running code in Python 3.7 for Carla Vehicle Simulator

I've tried to run this code on Carla's command prompt window but it generates the error NameError: name self is not defined here: self.model.compile(optimizer='adam', loss=self.conditional_loss, metrics=[self.conditional_loss, …
Anime
  • 11
0
votes
1 answer

Designing an MPC controller in Python

I am trying to design an MPC controller in Python but I really don't know where to start. I watched videos on YouTube but I was confused even more. Basically, this is for a simulated autonomous vehicle. I've finished the PID controller for it but I…
Onur-Andros Ozbek
  • 2,998
  • 2
  • 29
  • 78
0
votes
2 answers

distutils and pygame for python 3.7 on a machine running python 3.8

I'm quite new to Ubuntu. On my machine, running Ubuntu 20.04 with Python 3.8, I'm trying to run a program which does not support Python 3.8, but it requires Python 3.7 (FYI, it is Carla Simulator). I need pygame, but when installing it through pip…
ALai
  • 739
  • 9
  • 18