Skip to content
Snippets Groups Projects
Commit ea1b45bf authored by Bernhard Rumpe's avatar Bernhard Rumpe
Browse files

BR-sy

parent fc73d53b
No related branches found
No related tags found
No related merge requests found
Pipeline #175569 failed
Showing
with 28 additions and 202 deletions
# (c) https://github.com/MontiCore/monticore
stages:
- windows
......
<!-- (c) https://github.com/MontiCore/monticore -->
# Co-Simulation Generator
[![pipeline status](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/co-simulation-gen/badges/master/pipeline.svg)](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/co-simulation-gen/commits/master)
......@@ -8,4 +9,4 @@ There are two possibilities to use the co-simulation generator:
* [Co-Simulator Command-Line Interface](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/montisim-cli): Manual usage &rarr; Quick but only for experiments.
* [Co-Simulator Maven Plugin](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/maven-cosimulation-gen-plugin): Automatic execution &rarr; For simulation setups which configuration can change over time.
For instructions how to use the CLI and the Maven plugin respectively consider the corresponding Gitlab documentation.
\ No newline at end of file
For instructions how to use the CLI and the Maven plugin respectively consider the corresponding Gitlab documentation.
<!--
******************************************************************************
MontiCAR Modeling Family, www.se-rwth.de
Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
All rights reserved.
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this project. If not, see <http://www.gnu.org/licenses/>.
-->
<!-- (c) https://github.com/MontiCore/monticore -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
******************************************************************************
MontiCAR Modeling Family, www.se-rwth.de
Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
All rights reserved.
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this project. If not, see <http://www.gnu.org/licenses/>.
-->
<!-- (c) https://github.com/MontiCore/monticore -->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
......
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
package montisim;
import java.util.List;
......
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
/**
*
*/
......
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
/**
*
*/
......@@ -139,4 +121,4 @@ public class FreemarkerUtil {
executionInput.put(TEMPLATE_TOPCOMPONENT_KEY, expandedTopComponent);
startInput.put(TEMPLATE_SIMULATORS_KEY, simulators);
}
}
\ No newline at end of file
}
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
package montisim;
......@@ -49,4 +31,4 @@ public class SimGenerator {
LOGGER.info("Generation process finsihed.");
}
}
\ No newline at end of file
}
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<Configuration status="INFO">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
......
<#-- (c) https://github.com/MontiCore/monticore -->
<#ftl strip_whitespace = true>
<#setting locale="en_US">
<#-- IMPORT ALL DEPENDENCIES -->
......
<#-- (c) https://github.com/MontiCore/monticore -->
import montisim.SimExecutor;
public class ExecutionStart {
......@@ -26,4 +27,4 @@ public class ExecutionStart {
simExecutor.execute();
</#if>
}
}
\ No newline at end of file
}
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
package montisim;
import static org.junit.Assert.assertEquals;
......
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
package montisim;
import static org.junit.Assert.assertEquals;
......
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
/**
*
*/
......
/**
*
* ******************************************************************************
* MontiCAR Modeling Family, www.se-rwth.de
* Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
* All rights reserved.
*
* This project is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this project. If not, see <http://www.gnu.org/licenses/>.
*/
/* (c) https://github.com/MontiCore/monticore */
/**
*
*/
......
/* (c) https://github.com/MontiCore/monticore */
package setup;
import setup.simulations.*;
......@@ -17,4 +18,4 @@ component Composition {
connect sim1.out1 -> sim3.in1;
connect sim2.out1 -> sim3.in2;
connect sim3.out1 -> res;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package setup;
import setup.simulations.*;
......@@ -18,4 +19,4 @@ component Composition {
connect sim2.out1 -> sim3.in2;
connect sim3.out1 -> res;
connect sim3.out1 -> res;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package setup;
import setup.simulations.*;
......@@ -21,4 +22,4 @@ component LoopComposition {
connect simLoop.out2 -> sim5.in1;
connect simLoop.out2 -> res;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package setup;
import setup.simulations.*;
......@@ -11,4 +12,4 @@ component MontiSimComposition {
connect in1 -> simulator.deltaTime;
connect simulator.vehicle1CollisionOut -> res;
}
\ No newline at end of file
}
/* (c) https://github.com/MontiCore/monticore */
package setup;
component Simulator {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment