Hi, I manage to have a running example of the jo-jo with multi-stage. It works and give good results. Here is the piece of code for some of you. int main( ) { USING_NAMESPACE_ACADO // THE VARIABLES OF THE JOJO: // -------------------------- DifferentialState x1; // the position of the "hand" DifferentialState v1; // the velocity of the "hand" DifferentialState y1; // the position of the jojo DifferentialState w1; // the velocity of the jojo Control u1; // the control action of the "hand" DifferentialState...
Hi, I worked in the jo-jo example of ACADO that seems not to work. I found a solution to implement Multi-stage. Here is the piece of code that runs and gives the good results. As I red in the forum, I have defined new states for each phase. int main( ) { USING_NAMESPACE_ACADO // THE VARIABLES OF THE JOJO: // -------------------------- DifferentialState x1; // the position of the "hand" DifferentialState v1; // the velocity of the "hand" DifferentialState y1; // the position of the jojo DifferentialState...
Hey, I have the same problem plus two other errors : /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start': (.text+0x20): undefined reference tomain' CMakeFiles/Saut_Multiphase.dir/build.make:97: recipe for target 'Saut_Multiphase' failed CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/Saut_Multiphase.dir/all' failed Makefile:83: recipe for target 'all' failed collect2: error: ld returned 1 exit status For your problem, I define states for each stages. But...