Commit 16be86cd authored by Bernhard Rumpe's avatar Bernhard Rumpe
Browse files

BR-sy

parent 649eee7c
Pipeline #175157 failed with stage
in 3 minutes and 40 seconds
/* (c) https://github.com/MontiCore/monticore */
#ifndef MACMAKETEST_CplexMat_H
#define MACMAKETEST_CplexMat_H
......
/* (c) https://github.com/MontiCore/monticore */
#ifndef MACMAKETEST_ADMAT_H
#define MACMAKETEST_ADMAT_H
......
<#-- (c) https://github.com/MontiCore/monticore -->
#ifndef __${viewModel.callSolverName?upper_case}_H__
#define __${viewModel.callSolverName?upper_case}_H__
#include<armadillo>
......@@ -385,4 +386,4 @@ class ${viewModel.callSolverName}
}
};
#endif
\ No newline at end of file
#endif
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator;
import de.monticore.lang.embeddedmontiarc.LogConfig;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._symboltable.instanceStructure.EMAComponentInstanceSymbol;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._symboltable.instanceStructure.EMAComponentInstanceSymbol;
......@@ -56,4 +57,4 @@ public class GeneratorCplexSolverTest {
List<File> files = doGenerateModel("de.rwth.monticar.optimization.constraintTest");
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._symboltable.instanceStructure.EMAComponentInstanceSymbol;
......@@ -106,4 +107,4 @@ public class GeneratorEMAMOpt2CMakeTest extends BasicGenerationTest {
List<File> files = doGenerateModel("de.rwth.monticar.optimization.constraintTest");
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._symboltable.instanceStructure.EMAComponentInstanceSymbol;
......@@ -150,4 +151,4 @@ public class GeneratorEMAMOpt2CPPTest extends BasicGenerationTest {
List<File> files = doGenerateOptimizationModel("matrixTransposeMinimizationTest");
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator;
import de.monticore.lang.embeddedmontiarc.LogConfig;
......@@ -37,4 +38,4 @@ public class GeneratorEMAMOpt2CppCliTest extends BasicGenerationTest {
assertTrue(Files.exists(Paths.get(targetDir + positiveFileName)));
}
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._symboltable.instanceStructure.EMAComponentInstanceSymbol;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.generator.cpp.optimizationSolver.problem;
public class OptimizationProblemClassificationTest {
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.monticar.carmodel;
component CarModelInstanceTest {
......
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.monticar.carmodel;
component KinematicBicycleCarModel<Q dt = 0.1 s, Q l_f = 1 m, Q l_r = 1 m>
......@@ -34,4 +35,4 @@ component KinematicBicycleCarModel<Q dt = 0.1 s, Q l_f = 1 m, Q l_r = 1 m>
predictedYawAngle = currentYawAngle + dpsi;
predictedVelocity = currentVelocity + dv;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.monticar.carmodel;
component MatlabCarModel<Q dt = 0.1 s, Q m = 2000 kg, Q a = 1.5 m, Q b = 1.5 m, Q cx = 150000, Q cy = 40000, Q ca = 0.5>
......@@ -38,4 +39,4 @@ component MatlabCarModel<Q dt = 0.1 s, Q m = 2000 kg, Q a = 1.5 m, Q b = 1.5 m,
predictedVelocityY = currentVelocityY + dvy * dt;
predictedYawRate = currentYawRate + dYawRate * dt;
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
// acceleration and steering angle to actuators steering, engine, break
// @author Christoph Richter
......@@ -30,4 +31,4 @@ component ActuatorController
// warning because engine can not be set to a negative value the car can not drive
// backwards
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package de.rwth.monticar.mpc;
import de.rwth.monticar.mpc.bicycle.*;
......
/* (c) https://github.com/MontiCore/monticore */
// Kinematic Bicycle model
// @author Christoph Richter
......@@ -80,4 +81,4 @@ component BicycleMPC<Q dt = 0.1, Q l_f = 1, Q l_r = 1, Z hp = 1>
a = u(1,1);
steering = u(2,1);
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
// Kinematic Bicycle model
// @author Christoph Richter
......@@ -14,4 +15,4 @@ component MatlabMPC
{
// vehicle model describes update functions
}
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
// PathPlaner:
// - First trims path to current progress
// - Then creates low level reference state vector for mpc controller
......@@ -49,4 +50,4 @@ component PathPlaner<Q dt = 0.1>
// connect output
connect referencePathCreator.z_ref -> z_ref;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
// ReferencePath: Created a reference path for the prediction horizon of the mpc controller
// @author Christoph Richter
......@@ -86,4 +87,4 @@ component ReferencePathCreator<Q dt = 0.1>
end
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment