EMAM2Middleware issueshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues2018-10-25T12:09:27+02:00https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/1Linux: Linked Armadillo does not work2018-10-25T12:09:27+02:00Alexander David HellwigLinux: Linked Armadillo does not workReplace with copied build installReplace with copied build installAlexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/2CMake generated from Cpp generator does not find Armadillo in installed in Ar...2018-10-25T12:09:13+02:00Alexander David HellwigCMake generated from Cpp generator does not find Armadillo in installed in Armadillo_HOMEAlexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/3Symbol Table -> Adjacency Matrix2018-11-07T17:22:12+01:00Alexander David HellwigSymbol Table -> Adjacency MatrixAllAllhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/4Add smile lib and create spectral clustering testcase2018-11-07T17:19:12+01:00Alexander David HellwigAdd smile lib and create spectral clustering testcasehttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/5Create function cluster -> Middleware tags(here ROS, keep generic) + testcases2018-11-07T17:18:37+01:00Alexander David HellwigCreate function cluster -> Middleware tags(here ROS, keep generic) + testcaseshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/6Middleware Tags -> .tag file generator (RosConnectionTags) + testcases2018-11-07T17:16:42+01:00Alexander David HellwigMiddleware Tags -> .tag file generator (RosConnectionTags) + testcaseshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/7Add common interface for all clustering approches and add wrappers2018-11-14T14:57:38+01:00Alexander David HellwigAdd common interface for all clustering approches and add wrapperse.g. input double[][] and output int[] for labels, where label[i] is the cluster of the i-th componente.g. input double[][] and output int[] for labels, where label[i] is the cluster of the i-th componenthttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/8Create heuristic for middleware communication costs2019-01-17T12:24:39+01:00Alexander David HellwigCreate heuristic for middleware communication costse.g. Q = 2, Z = 1, Q^{3,3} = 9e.g. Q = 2, Z = 1, Q^{3,3} = 9Philipp GörickPhilipp Görickhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/9Add CLI option to DistributedGeneratorCLI for clustering and middleware tag g...2019-02-16T13:59:16+01:00Alexander David HellwigAdd CLI option to DistributedGeneratorCLI for clustering and middleware tag generationhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/10Compare results of different clustering algorithms2019-02-04T14:18:47+01:00Alexander David HellwigCompare results of different clustering algorithmsUse Heuristic and sum all costs as resultUse Heuristic and sum all costs as resulthttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/11Add 1 new Clustering Algorithm2019-01-06T13:15:12+01:00Alexander David HellwigAdd 1 new Clustering AlgorithmDinh-An HoMichael Günther BeyerDinh-An Hohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/12New EMA Version2019-01-21T13:33:28+01:00Alexander David HellwigNew EMA VersionAlso check other projectsAlso check other projectsAlexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/13Visualisierung2019-02-16T13:58:48+01:00Alexander David HellwigVisualisierungVisualisierung der ClusterVisualisierung der Clusterhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/14Simple name while resolving Port2019-01-10T14:43:34+01:00Alexander David HellwigSimple name while resolving PortPhilipp GörickPhilipp Görickhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/15Vergleich der Clustering Algos mit zufälligem Clustering(Monte Carlo)2019-03-12T20:34:42+01:00Alexander David HellwigVergleich der Clustering Algos mit zufälligem Clustering(Monte Carlo)Dinh-An HoDinh-An Ho2019-03-14https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/16Compare Clustering of flatt Model with previous (Sub)component division2019-01-08T17:17:09+01:00Alexander David HellwigCompare Clustering of flatt Model with previous (Sub)component divisionhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/17Flatten: only for a given number of subcomponent levels2019-01-17T12:26:51+01:00Alexander David HellwigFlatten: only for a given number of subcomponent levelsIdea: add new method with additional parameter: int level
Add to check for atomic component: level == 0Idea: add new method with additional parameter: int level
Add to check for atomic component: level == 0Philipp GörickPhilipp Görickhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/18Test flatten algorithm with a comparable Component2019-02-16T14:08:23+01:00Philipp GörickTest flatten algorithm with a comparable ComponentDo not just test the algorithm for the right amount of connectors and subcomponents.Do not just test the algorithm for the right amount of connectors and subcomponents.Philipp GörickPhilipp Görickhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/19Interactive overview of clustering results/chooser2019-02-03T11:00:54+01:00Alexander David HellwigInteractive overview of clustering results/chooser```
+-------------------------------+---------+
| | algo1 |
| <visualization of cluster> | >algo2 |
| | ... |
| | |
+------------...```
+-------------------------------+---------+
| | algo1 |
| <visualization of cluster> | >algo2 |
| | ... |
| | |
+-------------------------------+---------+
| |continue |
|<extra info for choosen algo> |cancel |
| | |
+-----------------------------------------+
```https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/20Automatic Clustering parameter search2019-02-16T13:47:12+01:00Alexander David HellwigAutomatic Clustering parameter searchE.g. try different values for sigma while using SpectralClusteringE.g. try different values for sigma while using SpectralClusteringhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/21ROS2: Message -> C++ generation2019-05-05T11:16:17+02:00Alexander David HellwigROS2: Message -> C++ generation.h files generated from .msg files can lead to compilation errors..h files generated from .msg files can lead to compilation errors.Alexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/22Armadillo.h contains mingw specific imports2019-03-01T20:52:34+01:00Alexander David HellwigArmadillo.h contains mingw specific importsAlexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/23Independent subsystems in a Component do not work with standard clustering al...2019-03-04T20:43:19+01:00Alexander David HellwigIndependent subsystems in a Component do not work with standard clustering algorithmsConsider the component:
```ema
component A{
[...]
connect in1 -> sub1.subIn;
connect in2 -> sub2.subIn;
connect sub1.subOut -> out1;
connect sub2.subOut -> out2;
//No connections between sub1 and sub2
}
```
The resul...Consider the component:
```ema
component A{
[...]
connect in1 -> sub1.subIn;
connect in2 -> sub2.subIn;
connect sub1.subOut -> out1;
connect sub2.subOut -> out2;
//No connections between sub1 and sub2
}
```
The resulting graph has 2 unconnected vertices. Therefore the clustering algorithms can not create clusters.
This problem prevails even if the unconnected subsystems get bigger.https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/24Different values of heuristic for same (max) number of clusters2019-03-11T14:58:36+01:00Alexander David HellwigDifferent values of heuristic for same (max) number of clustersAlexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/26Eval: Why do we use the cluster numbers we use(min, max, same as auto?)2019-03-28T18:05:51+01:00Alexander David HellwigEval: Why do we use the cluster numbers we use(min, max, same as auto?)2019-03-14https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/27Use ROS values for Cost Heuristic2019-03-11T15:12:55+01:00Alexander David HellwigUse ROS values for Cost Heuristichttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/28Spectral: Test on Diagonal Block matrix2019-03-12T12:31:29+01:00Alexander David HellwigSpectral: Test on Diagonal Block matrix```
0 1 ...
1 0 ...
... 0 1
... 1 0
``````
0 1 ...
1 0 ...
... 0 1
... 1 0
```Alexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/29Use Silhouette index2019-03-28T18:06:02+01:00Alexander David HellwigUse Silhouette indexwith all number of clusters?with all number of clusters?Alexander David HellwigAlexander David Hellwig2019-03-14https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/30MonteCarlo plot starts at 0 instead of 12019-04-01T15:06:51+02:00Alexander David HellwigMonteCarlo plot starts at 0 instead of 1https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/31Split clustering code into own project2019-04-10T09:42:00+02:00Alexander David HellwigSplit clustering code into own projectAlexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/32Autotraining EMADL2CPP2019-05-15T11:33:43+02:00Nicola GattoAutotraining EMADL2CPPThe new version of EMADL2CPP supports the option to start the training of a CNN component automatically. For each CNN component, the training outputs two files: the symbol.json and the parameter file of the neural network. In order to us...The new version of EMADL2CPP supports the option to start the training of a CNN component automatically. For each CNN component, the training outputs two files: the symbol.json and the parameter file of the neural network. In order to use the autotraining function of EMADL2CPP in EMAM2Middleware generator, a cli option is needed to activate it. Furthermore, the compiled executable expects the two output files to be at the relative path "model/name.of.cnnarch.component/". This means, the generated compile.sh should ensure that these files are moved to the correct place.Evgeny KusmenkoEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/33Failing EMADL Tests2019-09-04T21:13:34+02:00Alexander David HellwigFailing EMADL TestsThe tests
- de.monticore.lang.monticar.generator.middleware.CliTest#testEMADLAndRosGenerator
- de.monticore.lang.monticar.generator.middleware.CliTest#testSingleEMADLGenerator
- de.monticore.lang.monticar.generator.middleware.CliTest#tes...The tests
- de.monticore.lang.monticar.generator.middleware.CliTest#testEMADLAndRosGenerator
- de.monticore.lang.monticar.generator.middleware.CliTest#testSingleEMADLGenerator
- de.monticore.lang.monticar.generator.middleware.CliTest#testEMADLConfigFile
- de.monticore.lang.monticar.generator.middleware.GenerationTest#testEMADLMiddlewareGeneration
are all failing.https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/issues/34Extend ROS topics to accept integer arrays for state representation2022-11-11T19:39:14+01:00Anis Abdollahi-SissanExtend ROS topics to accept integer arrays for state representationWhen using the EMAM2Middleware to generate a reinforcement learning agent, which is connected via ros-gym to python, defining the state as an integer array in python leads to an error, because the middleware initializes the state topic i...When using the EMAM2Middleware to generate a reinforcement learning agent, which is connected via ros-gym to python, defining the state as an integer array in python leads to an error, because the middleware initializes the state topic in ROS as Float32MultiArray, regardless of the definition in the python files.
[This](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/applications/reinforcement_learning/topologyoptimizer/-/blob/main/additional_files/Middleware/Environment.ftl) file implements Int32MultiArray as the default topic type for the state.
To resolve this issue, it would be necessary to automatically switch between the Float- and Integer-representation for the ROS state topic.
This can be implemented in the template file for the environment of the agent.Lukas BramThilo MetzlaffLukas Bram