TUMcps / AROC

Toolbox for Automated Controller Synthesis
GNU General Public License v3.0
17 stars 3 forks source link

AROC failt to install due to many reasons #2

Open JiyuanTHU opened 1 year ago

JiyuanTHU commented 1 year ago

The CORA 2022 and ACADO are successfully installed withnot test failures. However, the AROC test can not pass with 13/18 cases failure. Would you please help my installing?

The running log is attached as follows,

runUnitTests Running testCombinedControl Time step: 1 Starting parallel pool (parpool) using the 'Processes' profile ... Connected to parallel pool with 8 workers. . Done testCombinedControl


Running testConformantSynthesis .

Error occurred in testConformantSynthesis/TestLinearConformanceChecking and it did not run to completion.

Error ID:
---------
'CORA:wrongInputInConstructor'
--------------
Error Details:
--------------
Error using linearSys>aux_checkInputArgs
Wrong input arguments for constructor of class: linearSys
  Column dimension of output matrix C must match row/column dimension of state matrix A.
  Type 'help linearSys' for more information.

Error in linearSys (line 92)
        aux_checkInputArgs(name,A,B,c,C,D,k,nargin);

Error in conformantSynthesisLinear>discreteTimeSystem (line 231)
    sys = linearSysDT(linearSys(A,[B,D],[],c),dt);

Error in conformantSynthesisLinear (line 150)
                    [A_,B_,D_,c_] = discreteTimeSystem(A,B,D,c,dt);

Error in conformantSynthesis (line 119)
        [W,V] = conformantSynthesisLinear(A,B,D,c,measurements,Opts);

Error in testConformantSynthesis (line 116)
[W,V] = conformantSynthesis('platoon',M,Opts);

================================================================================ . Done testConformantSynthesis

KochdumperNiklas commented 1 year ago

Apologies for the late reply. That's a little bit of a weird error you got when running "testConformantSynthesis". My best guess would be that there is a compatibility issue with the CORA toolbox. Did you install CORA 2022 using the .zip file on the website (https://cora.in.tum.de), or did you install it from the GitHub Repository (https://github.com/TUMcps/CORA)? My recommendation is to install CORA 2022 from the .zip file on the website, because on the repository updates and bugfixes for CORA are published from time to time which could potentially interfere with the AROC toolbox. Another potential cause for the error could be that the "Symbolic Math" MATLAB toolbox is not installed.