Skip to content

vendor acados via commaai/dependencies#37932

Open
adeebshihadeh wants to merge 3 commits intocommaai:masterfrom
adeebshihadeh:vendor-acados
Open

vendor acados via commaai/dependencies#37932
adeebshihadeh wants to merge 3 commits intocommaai:masterfrom
adeebshihadeh:vendor-acados

Conversation

@adeebshihadeh
Copy link
Copy Markdown
Contributor

@adeebshihadeh adeebshihadeh commented Apr 30, 2026

No description provided.

adeebshihadeh and others added 3 commits April 30, 2026 15:34
Replaces the in-repo third_party/acados/ build with the new
release-acados shim from commaai/dependencies. The shim ships
acados v0.2.2 (libs + headers + acados_template + t_renderer) plus a
slimmed casadi 3.6.7 (~28 MB vs the ~214 MB upstream wheel) so we no
longer need a direct casadi dependency either.

- import acados as acados_pkg in SConstruct + lat/long MPC SConscripts;
  use acados_pkg.{INCLUDE_DIR, LIB_DIR, TEMPLATE_DIR, TERA_PATH} instead
  of #third_party/acados paths.
- lat_mpc.py / long_mpc.py: from acados.acados_template import ...
  (was openpilot.third_party.acados.acados_template).
- pyproject: + acados shim, - casadi (now bundled with acados).
- third_party/acados/ is fully removed from the tree.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Process replay diff report

Replays driving segments through this PR and compares the behavior to master.
Please review any changes carefully to ensure they are expected.

✅ 0 changed, 66 passed, 0 errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant