OPGM is a fork of openpilot, the open source driver assistance system by comma.ai. This fork enables support for GM vehicles that are not officially supported upstream, while staying as close as possible to stock openpilot behavior.
OPGM strives to be "stock openpilot for unsupported GM cars."
To achieve this, OPGM follows these development guidelines:
- Non-GM code is never modified by OPGM. Shared/common code is modified only when absolutely necessary.
- Upstream-supported GM vehicles are only patched to enable additional functionality (e.g., stop-and-go support, lower min engagement speed).
- Control schemes already supported by upstream openpilot must not be modified. Alternate control schemes, such as
pedal long
orCC long
, are exempt from this rule.
For general openpilot documentation, setup, and developer guidance, refer to the official openpilot repo.
- Support for GM Global A vehicles with LKAS but no ACC
pedal long
: Longitudinal control using a pedal interceptor- Enables full regenerative braking on Bolt EV/EUV (even those with ACC)
CC long
: Non-ACC cruise control adjustment, aka “redneck ACC”⚠️ Cannot reduce speed below stock cruise control limits (usually 24mph)
Support is focused on GM Global A vehicles with factory LKAS. For the latest list, see CARS.md
If your vehicle isn’t listed, but has LKAS and a front-facing camera, it might still be supported or supportable. See the “contributing” section below.
Hardware installation is the same as for any vehicle with the standard GM harness in upstream openpilot.
For software installation, type opgm/release
into the custom software field, or opgm/nightly
if you want to live on the bleeding edge.
Note: For EVs without ACC, a pedal interceptor is strongly recommended for a better experience.
All development occurs on the master
branch. Contributions are welcome: feel free to open a PR.
Bug reports and vehicle porting discussions happen in the OPGM channel on the openpilot community Discord.
- Curve hugging and lane line drift are inherited from upstream openpilot.
- Upstream-supported GM cars (e.g. ACC Volt/Bolt) may fail to fingerprint automatically in OPGM.
Licensed under the MIT License. See LICENSE for details.