Closed bnovoselnik closed 6 years ago
should be fixed with the commit https://github.com/giaf/hpipm/commit/7dfadfe8df8c7fd7ace7ad2ee43f604aa3da5d93
Great, I'll pull it once I get back from Croatia (i.e. next Monday, right now I don't have my laptop with me).
There are three enums with the same fields in hpipm_x_ocp_qp_ipm.h, hpipm_x_dense_qp_ipm.h and hpipm_x_tree_ocp_qp_ipm.h:
This will create problems whenever both of these headers are included somewhere else (e.g. in ACADOS OCP QP C interface) - compiler will complain about redeclaration of enumerators.
Therefore, these enum fields should be given different names (e.g. OCP_SPEED_ABS, DENSE_SPEED_ABS, TREE_OCP_SPEED, etc.) or just use one enum for everything if the modes are the same in all modules.