mkdir build
cd build
cmake ..
make
./mhpc_ctrl
You could set up the number of whole-body phases and number of rigid-body phases with MHPC_UserParameter, and configure HSDDP option such as convergence threshold, maximum number of iterations using HSDDP_OPTION.