Inquire if acados supports user-defined outputs

Hello everyone, I’d like to ask whether acados supports custom expression outputs.
Currently, I know that acados provides built-in fields to obtain values such as the solution time or cost, but I’m wondering — if I want to retrieve the value of a user-defined expression, is there any method to do that?

Hi,
You can augment your formulation with a state or a constraint and retrieve the corresponding values.
There is no special support for this added otherwise.
Best,
Jonathan