Berkeley Driver: one stack, designed for every vehicle
Project
TL;DR
Berkeley Driver is the autonomy software we are building to run on every AV@B vehicle. It covers the whole path from raw sensor data to steering and braking, and all four divisions contribute to it.
Keeping one codebase means a fix made for a race car can also reach the golf cart, and a method from Research can be tried on hardware without a rewrite.
Status: which components run today, and on which platforms, will be listed here as they are demonstrated.
The layers
The stack runs top to bottom, from sensors to the vehicle.
| Sensors | Cameras, lidar, radar, IMU, GPS |
|---|---|
| Perception | Detection, segmentation, depth, bird's-eye view, occupancy |
| World model | Scene representation, prediction, multi-agent reasoning |
| Localization | Where the vehicle is on the map |
| Planning | Behavior planning, motion planning, learned policies |
| Control | MPC, vehicle dynamics, low-level control |
| Vehicle | Target platforms: robots, the golf cart, race cars |
How a car drives itself
The stack runs the same four steps many times a second.
Sense
Cameras, lidar, radar, IMU and GPS read the world around the car.
Perceive
Detection, depth and occupancy turn raw data into cars, lanes and people.
Plan
Prediction and planning choose a safe path and speed.
Act
Control turns the plan into steering, throttle and braking.
Tools
What the stack is built with.
ROS 2
NVIDIA
PyTorch
Python
C++
OpenCV
NumPy
Gazebo
Docker
Ubuntu
CMake
Jupyter
Git
GitHub
Why one codebase
AV@B is four divisions, and they share this one platform. Research develops new approaches in it. Racing pushes those approaches to their limits. Mobility deploys them on vehicles people ride in. Applied takes the same skills to outside teams.
Because the code is shared, improvements from any division can flow back into the same stack.
Working on it
Most members start by owning one piece of one layer. Prior autonomy experience is not required.