Can not find ocp_nlp_constraints_model_get

Hi :wave:

  • What interface of acados are you using (C)?
    double check_lh[6];
    for (int i = 0; i < N; i++){
        ocp_nlp_constraints_model_get(nlp_config_, nlp_dims_, nlp_in_, i, "lh", &check_lh)
        AERROR << "check_lh" << " " << i << " " << "ccccccccccccccccccccccccccc";
        for(int j = 0; j<6;j++){
            AERROR << "lh_" << j << " " << check_lh[j];
        }
    }
error: ‘ocp_nlp_constraints_model_get’ was not declared in this scope; did you mean ‘ocp_nlp_constraints_model_set’?
  231 |         ocp_nlp_constraints_model_get(nlp_config_, nlp_dims_, nlp_in_, i, "lh", &check_lh)

can you help me?
thank you!!!

please help me
thank you very much!

Maybe you pulled acados but did not reinstall it.