openpilot 0.9.9

4 minute read

New driving model

As we prepare to ship driving models trained in our new ML Simulator, we are porting over small but necessary changes to the existing reprojective simulator.

We do not expect this release’s model to perform much differently than the previous release’s model, since this change is minor and does not alter the core components of the training setup.

Training at 5FPS

For compute efficiency, the ML Simulator produces frames at 5FPS rather than the 20FPS used at run-time.

The Filet-o-Fish model (#34798) is trained at 5FPS in the reprojective simulator to emulate this change and validate that the rest of the training stack (noise model, planner, etc.) does not regress.

Note that the model still runs at 20FPS at run-time, but its inputs are subsampled at 5FPS to match the training setup.

Open source reports

We found ourselves screenshotting these reports often to share them on Discord, so we decided to open-source them!

Here’s one example from analyse_cones showing the difference between the vision model outputs and the real trajectory driven by the human driver for a complex scenario involving cones.

There are lots of other tests; check out the full set of reports for the model in this release here, and look around for new models and new reports as we introduce more of them.

Online lateral delay estimator

lagd is a new daemon that learns your car’s lateral time delay online, which is the time it takes for the car to reach the desired lateral acceleration commanded by openpilot. This includes system processing latency, steering actuator delay, and steering response lag.

This lag varies across car models and even between individual cars of the same model, and both the driving model and the torque parameter learner rely on an accurate lag for precise compensation.

In this release, lagd runs in a passive shadow mode for validation, and if all goes well, the next release will enable the use of the learned value.

External USB GPU

Thanks to tinygrad’s USB GPU driver, you can now plug a full desktop GPU into the auxiliary USB-C port of your comma 3X (#35172).

This release doesn’t yet take advantage of the GPU, but in future releases, we’ll ship two classes of models: on-device and external GPU. There’s still room to grow for on-device models, but as we develop models whose performance scales with inference compute, we’re prepping the infrastructure to support external GPU-grade models.

AGNOS 12

This is a minor OS update to fix display tearing and get back to 60FPS (agnos-kernel-sdm845#86). It also adds support for custom eSIM profile loading on comma 3X, thanks to @greatgitsby (agnos-builder#472)!

Cars

Tesla support

All Tesla Model 3 2019-25 and Model Y 2020-24 are now supported thanks to lukasloetkolben (opendbc#1263)!

Because Tesla imposes high standards on the lateral and longitudinal APIs in their cars, control is very precise. openpilot interfaces with these same actuators, so the driving model is given unparalleled control in carrying out desired actions, whereas these APIs are slightly less refined on other cars.

With openpilot, you maintain both stock Automatic Emergency Braking and Lane Keep Assist (opendbc#2190). If your car is capable of Actually Smart Summon, that still works too (opendbc#1801).

For this port, we redesigned the lateral angle-control safety to support a consistent max lateral acceleration and jerk across all speeds (opendbc#2115). This translates to capable and smooth steering at all speeds. Our other angle-control cars will be moved over to this new angle limiting safety scheme soon, such as Toyota RAV4 2023+, Ford vehicles, and Nissan vehicles.

Bug fixes

  • Fix dash warnings on startup on some cars with comma three (#35287)
  • GM: fix intermittent dashcam alert on some older cars (opendbc#2033)
  • Hyundai: fix enable button press regression on some older cars (opendbc#2262)

Enhancements

Car Ports

  • Ford Escape 2023-24 and Ford Kuga 2024 support thanks to incognitojam! (opendbc#1922)
  • Hyundai Nexo 2021 support thanks to sunnyhaibin! (opendbc#933)
  • Tesla Model 3 and Y support thanks to lukasloetkolben! (opendbc#1263)
  • Lexus RC 2023 support thanks to nelsonjchen! (opendbc#2082)

Join the community

openpilot is built by comma together with the openpilot community. Get involved in the community to push the driving experience forward.

comma is also hiring if you want to work on openpilot full-time.

Updated: