The project i.e. Virtual Vehicle which is a virtual self-driving car uses the Carla simulator to test and develop algorithms and systems for autonomous driving.
CARLA (Car Learning to Act) is an open-source simulator designed for research and development in autonomous driving. It provides a realistic virtual environment for testing and training autonomous driving algorithms. Developed by the Computer Vision Center (CVC) and the Universitat Autònoma de Barcelona (UAB), CARLA aims to bridge the gap between simulation and real-world autonomous driving.
In the first step (Attaching and Enabling the Camera Sensor), Carla has the environment (server) and then agents (clients).
With Carla, we get a car, an environment to drive that car in, and then we have a
bunch of sensors that we can place upon the car to emulate real-life self-driving
car sensors. Things like LIDAR, cameras, accelerometers, and so on.
Here's the Video Demo Attached:
Create Client and World then attach camera to the vehicle
Second Step (Creating and Cleaning of List of Actors):
To begin, there are several types of objects in Carla. First, you of course have the
"world." This is your environment. Then, you have the actors within this world.
Actors are things like your car, the sensors on your car, pedestrians, and so on.
Finally, we have blueprints. The blueprints are the attributes of our actors. The
most important thing we'll take care of immediately is the list of actors, and
cleaning them up when we're done.
Here's the Video Demo Attached:
Localization
Third Step (Lane Detection) :
Next step is ‘Lane detection’ in Carla, lane detection can be done by a camera
sensor attached to the vehicle and capturing images of the road ahead. These
images can then be processed using computer vision algorithms to detect the lane
markings. Once the lane boundaries are detected, they can be used to provide
information to the vehicle's control system, such as lane departure warnings or
trajectory planning.
Here's the Video Demo Attached:
Lane Detection
Fourth Step (Object Detection) :
‘Object detection’ in Carla involves using computer vision algorithms to identify
and locate objects in images or point cloud data captured by sensors attached to a
vehicle in the simulation environment.
To perform object detection in Carla, a sensor such as a camera is attached to a
vehicle and captures data about the surrounding environment. This data is then
processed using an object detection algorithm, which identifies and locates objects
in the data, such as pedestrians, vehicles, and traffic signs.
Here's the Video Demo Attached:
Object Detection