Generate flat road programmatically (only decal is fine) #6858
Replies: 1 comment
-
May I ask if this issue has been resolved? I generated a road in OpenDrying format and successfully loaded it in Carla. However, when the vehicle is driving automatically on it, there is a problem and it will be destroyed by programs other than Python. The following error message appears. Here is the complete output of the program. Do you know the reason? import carla def main():
if name == 'main': Custom OpenDrive map loaded successfully. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to understand if CARLA offers a simple way to generate a flat road (~200m, with 2 lanes and some curves) programmatically to test behaviors of a regression model for a LKAS. I need to generate them programmatically because I want to explore the input space of the model and find where it starts to fail. I am currently using BeamNG that offers a feature for this (https://beamngpy.readthedocs.io/en/latest/beamngpy.html#beamngpy.Road), but I would like to switch to CARLA, as it is very well documented and more lightweigth.
I've tried CARLA OpenDrive Standalone Mode (https://carla.readthedocs.io/en/latest/adv_opendrive) but it doesn't generate road marks as of yet and this makes it impossible to test a camera-based LKAS.
Even generating only the mesh of the road without all the additional info for vehicle and pedestrian traffic would be okay.
Thank you for the help.
Beta Was this translation helpful? Give feedback.
All reactions