How to get all the state values at once

Hi :wave:
dear acados team members, I am using python and have a question about acados_solver.get()

for example, with acados_solver.get(0, “x”) we can get the first state value corresponding to the first input, is it possible to get all the state values at once, when the dimension is N?I want to know if and when my expected state point has been reached within a single calculation.

ocp = AcadosOcp()
ocp.dims.N = N

Thanks a lot!
Jenny Chen

In Python, this is done with the for loop.
The Python interface could be easily extended to encapsulate this for loop and return a matrix.

Thanks, it works well!