Jonathan Frey
baab5d7a7b
Cython acados and minor ( #23835 )
...
* acados_ocp_solver_pyx.pyx: implement get_stats for timings and ints
* long_mpc: use acados timers
* acados_ocp_solver_pyx.pyx: fix dynamics_get
* acados_ocp_solver_pyx.pyx: get statistics
* use acados_ocp_solver_pyx.pyx from commaai/cython2 branch
* acados_ocp_solver_pyx.pyx: implement store_iterate
* acados_ocp_solver_pyx.pyx: implement get_residuals
* acados_ocp_solver_pyx.pyx: fix set() for empty fields
* acados_ocp_solver_pyx.pyx: load_iterate
* cython acados: add print_statistics
* test_following_distance: fix typo
* test_longitudinal: unique names for test maneuvers
* longitudinal MPC: comments for evaluation
* longitudinal MPC: add comments to eval acados residuals
* long_mpc: use qp_solver_cond_N = 1
* long MPC: comments, simplify set_cur_state
* update acados version in build script
* longitudinal mpc: weigh a_change in 1 place only
* update ref
* Update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
old-commit-hash: d09dffb7cd
2022-02-25 14:16:44 -08:00
ClockeNessMnstr
ee48659eee
cleanup import chaining of T_IDXS ( #23806 )
...
old-commit-hash: f0b3593682
2022-02-20 17:03:01 -08:00
Jonathan Frey
6f4c93238f
work on acados lateral MPC ( #23558 )
...
* lat_mpc: make v_ego, rotation_radius parameters instead of states
* lat_mpc: remove rotation_radius argument, since it is part of the parameters
* lat_mpc: use qp_solver_cond_N = 1
slightly faster and in line with case study in Fig. 2/ 3 in Frison2016 - https://cdn.syscop.de/publications/Frison2016.pdf
An Efficient Implementation of Partial Condensing for Nonlinear Model Predictive Control
* adapt test_lateral_mpc to formulation with parameters
* lat_mpc: set parameters in reset() and copy values
* acados_ocp_solver_pyx: make options_set useable
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 0681474840
2022-01-18 09:49:48 -08:00
Willem Melching
dce057d29f
Log MPC solver time ( #23566 )
...
* add solve time to plan output
* add to process replay ignore list
* print in CI
old-commit-hash: f76328b426
2022-01-18 14:51:03 +01:00
George Hotz
6bac4f1c4a
build for mac ( #23048 )
...
old-commit-hash: 16dd7ce1fe
2021-12-18 22:00:09 -08:00
Joost Wooning
9042f18afd
cython wrapper for acados ( #22784 )
...
* cython wrapper for acados
* fix building
* sconscript cleanup
* no cython numpy
* cleanup
* upgrade build script
* try without slices
* new acados commit
* c3 update acados libs
* c2 libs
* make faster
* undo profiling
* fix build
* somewhat faster
* tryout cost_set_slice
* Revert "tryout cost_set_slice"
This reverts commit d358d93a133270e4edab9e7c07ffb6f577c52bd6.
* cleanup
* undo t_renderer change
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 89d0a52d16
2021-11-12 17:09:08 +01:00
HaraldSchafer
caa01d2f95
ACADOS: partial condensing ( #22830 )
...
* partial condense
* new refs
* new ref
* newerest refs
old-commit-hash: 35d6ed1014
2021-11-09 19:29:55 -08:00
HaraldSchafer
2d4b64ed04
Acados long fast ( #22233 )
...
* acados long
* new ref
* SPPEEEEEDDD
* less iterations
* this shouldn't be so high
* reset only essentials
* minimal reset for long mpc
* more cpu usage plannerd
* Use lead mpc even when going to crash
* reset to current state
* Use open loop speed for lead mpc
* 1 iteration is too little for cruise mpc
* add whitespace
* update refs
old-commit-hash: 66c275b711
2021-09-15 19:00:12 -07:00
HaraldSchafer
8877772a95
Less QP iterations for lateral acados ( #22231 )
...
* Less QP iterations for lateral acados
* update ref
old-commit-hash: 96a8f8a831
2021-09-14 13:55:30 -07:00
HaraldSchafer
c422cce205
Port lateral planning to ACADOS ( #22080 )
...
* lateral acados
* looks good!
* add another solve, needed for init somehow
* use copy
* init correctly
* cleanup sconstruct
* Update files_common
* update cpu usage
* reset when invalid
* fix cpu usage
* cost_set doesnt leak
* new ref
* non leaky reset
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7081ab4fb7
2021-09-13 19:06:54 -07:00