Comma Controls Challenge

1 Month ago • All levels

Job Summary

Job Description

comma Controls Challenge v2 is a project focused on developing machine learning models for low-level car controls. The goal is to write a controller that can effectively drive a simulated car along a given trajectory. The challenge utilizes a synthetic dataset based on the comma-steering-control dataset, derived from real car and road states from openpilot users. Participants need to implement a controller and evaluate its performance based on lateral acceleration cost and jerk cost. Competitive scores can lead to inclusion on the leaderboard. The project involves using Python, with specific packages to be installed. The TinyPhysics model simulates car dynamics based on inputs like velocity, acceleration, and steering. Evaluation is conducted by comparing a custom controller against a baseline (e.g., PID controller).
Must have:
  • Implement a controller for car controls.
  • Minimize lateral acceleration cost.
  • Minimize jerk cost.
  • Use Python 3.11.
  • Submit report.html and code.

Job Details

comma Controls Challenge v2

Leaderboard · comma.ai/jobs · Discord · X

Machine learning models can drive cars, paint beautiful pictures and write passable rap. But they famously suck at doing low level controls. Your goal is to write a good controller. This repo contains a model that simulates the lateral movement of a car, given steering commands. The goal is to drive this "car" well for a given desired trajectory.

Getting Started

We'll be using a synthetic dataset based on the comma-steering-control dataset for this challenge. These are actual car and road states from openpilot users.

# install required packages
# recommended python==3.11
pip install -r requirements.txt

# test this works
python tinyphysics.py --model_path ./models/tinyphysics.onnx --data_path ./data/00000.csv --debug --controller pid

There are some other scripts to help you get aggregate metrics:

# batch Metrics of a controller on lots of routes
python tinyphysics.py --model_path ./models/tinyphysics.onnx --data_path ./data --num_segs 100 --controller pid

# generate a report comparing two controllers
python eval.py --model_path ./models/tinyphysics.onnx --data_path ./data --num_segs 100 --test_controller pid --baseline_controller zero

You can also use the notebook at experiment.ipynb for exploration.

TinyPhysics

This is a "simulated car" that has been trained to mimic a very simple physics model (bicycle model) based simulator, given realistic driving noise. It is an autoregressive model similar to ML Controls Sim in architecture. Its inputs are the car velocity (v_ego), forward acceleration (a_ego), lateral acceleration due to road roll (road_lataccel), current car lateral acceleration (current_lataccel), and a steer input (steer_action), then it predicts the resultant lateral acceleration of the car.

Controllers

Your controller should implement a new controller. This controller can be passed as an arg to run in-loop in the simulator to autoregressively predict the car's response.

Evaluation

Each rollout will result in 2 costs:

  • lataccel_cost: $\dfrac{\Sigma(\mathrm{actual_lat_accel} - \mathrm{target_lat_accel})^2}{steps} * 100$

  • jerk_cost: $\dfrac{\Sigma((\mathrm{actual_lat_accel}t - \mathrm{actual_lat_accel}{t-1}) / \Delta t)^2}{steps - 1} * 100$

It is important to minimize both costs. total_cost: $(\mathrm{lat_accel_cost} * 50) + \mathrm{jerk_cost}$

Submission

Run the following command, then submit report.html and your code to this form.

Competitive scores (total_cost<100) will be added to the leaderboard

python eval.py --model_path ./models/tinyphysics.onnx --data_path ./data --num_segs 5000 --test_controller <insert your controller name> --baseline_controller pid

Changelog

  • With this commit we made the simulator more robust to outlier actions and changed the cost landscape to incentivize more aggressive and interesting solutions.
  • With this commit we fixed a bug that caused the simulator model to be initialized wrong.

Work at comma

Like this sort of stuff? You might want to work at comma! comma.ai/jobs

Similar Jobs

Capgemini - Mainframe Developer

Capgemini

Mumbai, Maharashtra, India (On-Site)
2 Months ago
Assist software  - Node.js Engineer

Assist software

Suceava, Suceava County, Romania (Remote)
9 Months ago
Ansys - Spring 2026 Intern - Meshing (MS/PHD)

Ansys

Evanston, Illinois, United States (On-Site)
3 Months ago
Veeam Software - Middle/Senior C++ Developer (macOS&Linux)

Veeam Software

Czechia (Remote)
2 Months ago
bytedance - Research Scientist Graduate (Foundation Model - Vision and Language)

bytedance

Seattle, Washington, United States (On-Site)
4 Months ago

Get notifed when new similar jobs are uploaded

Similar Skill Jobs

Spaulding Ridge - Data Engineer Associate

Spaulding Ridge

Jaipur, Rajasthan, India (On-Site)
2 Months ago
Triple dot studios - Senior Unity Software Engineer

Triple dot studios

Barcelona, Catalonia, Spain (Hybrid)
1 Month ago
Ajmera Infotech - React Developer

Ajmera Infotech

Ahmedabad, Gujarat, India (On-Site)
3 Months ago
Cubic corporation - Senior Software Engineer Android

Cubic corporation

Hamburg, Hamburg, Germany (On-Site)
2 Months ago
Ajmera Infotech - Senior React Developer

Ajmera Infotech

Hyderabad, Telangana, India (On-Site)
1 Year ago
quience - Software Development Engineer Test

quience

Bengaluru, Karnataka, India (On-Site)
3 Months ago
Capgemini - Playwright Test Automation

Capgemini

Mumbai, Maharashtra, India (On-Site)
4 Months ago
AiDash - Software Development Engineer in Test II

AiDash

Bengaluru, Karnataka, India (Hybrid)
1 Month ago
Black Bery - QNX Build Specialist

Black Bery

Ottawa, Ontario, Canada (On-Site)
1 Month ago
plana technologies - Senior Java Engineer

plana technologies

Bogota, Colombia (Remote)
3 Months ago

Get notifed when new similar jobs are uploaded

Jobs in San Diego, California, United States

HCL Tech - Senior Tester

HCL Tech

North Carolina, United States (On-Site)
3 Months ago
whoop - SDET II (Mobile Automation)

whoop

Boston, Massachusetts, United States (On-Site)
3 Months ago
Filmless - Freelance Script Writer

Filmless

New York, United States (Remote)
1 Month ago
Sierra - Software Engineer, Platform

Sierra

San Francisco, California, United States (On-Site)
12 Months ago
Yodlee - Data Science Director

Yodlee

Raleigh, North Carolina, United States (Remote)
2 Months ago
MiQ - Associate Account Manager

MiQ

New York, New York, United States (Hybrid)
2 Months ago
Kavalirio - Finance Resource Generalist

Kavalirio

United States (On-Site)
2 Months ago
LLNL - Operations Research Engineer

LLNL

Livermore, California, United States (On-Site)
1 Month ago
pentair - Foundry Production Supervisor

pentair

Ashland, Ohio, United States (On-Site)
1 Month ago
Alten Technology - Commissioning Manager

Alten Technology

Richmond, Virginia, United States (On-Site)
1 Month ago

Get notifed when new similar jobs are uploaded

Similar Category Jobs

Looks like we're out of matches

Set up an alert and we'll send you similar jobs the moment they appear!