EMAM2Cpp issueshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues2019-04-11T18:49:39+02:00https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/28Add automatic test execution for cmake build script2019-04-11T18:49:39+02:00Alexander David HellwigAdd automatic test execution for cmake build scriptBasic idea:
Add to CMakeLists.txt
add_custom_target(run_${component.name}_StreamTests ALL
COMMAND ${component.name}_StreamTests
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)Basic idea:
Add to CMakeLists.txt
add_custom_target(run_${component.name}_StreamTests ALL
COMMAND ${component.name}_StreamTests
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)Alexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/44add boundingRect command from OpenCV2020-01-13T14:13:59+01:00Ahmed Diabadd boundingRect command from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/39add cvtColor Command from OpenCV2020-01-05T21:28:57+01:00Ahmed Diabadd cvtColor Command from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/37add erode and dilate commands from OpenCV2020-01-05T21:31:31+01:00Ahmed Diabadd erode and dilate commands from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/42add findContours command from OpenCV2020-01-05T21:27:32+01:00Ahmed Diabadd findContours command from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/38add gaussianBlur command from OpenCV2020-01-05T21:30:45+01:00Ahmed Diabadd gaussianBlur command from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/40add inRange command from OpenCV2020-01-05T21:28:27+01:00Ahmed Diabadd inRange command from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/45add largestContour command2020-01-13T14:14:20+01:00Ahmed Diabadd largestContour commandEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/36add new addParameter to method class2020-01-05T21:29:54+01:00Ahmed Diabadd new addParameter to method classextends the Method class to a new addParameter function.extends the Method class to a new addParameter function.https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/43add rectangle command from OpenCV2020-01-13T14:13:33+01:00Ahmed Diabadd rectangle command from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/41add threshold command from OpenCV2020-03-20T09:13:51+01:00Ahmed Diabadd threshold command from OpenCVEvgeny KusmenkoAhmed DiabEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/23Automatic stream test execution in the generator2020-07-02T19:22:47+02:00Sascha Niklas SchneidersAutomatic stream test execution in the generatorThe generator should be able to execute stream tests for an emam model to ensure that it still works.
(Enables usage of tests that check the behaviour and not that the generated source code is the same)The generator should be able to execute stream tests for an emam model to ensure that it still works.
(Enables usage of tests that check the behaviour and not that the generated source code is the same)Sascha Niklas SchneidersSascha Niklas Schneidershttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/27Build FAILED because of Tests2018-12-27T13:49:59+01:00Carlos Alfredo Yeverino RodriguezBuild FAILED because of TestsI tried to "install" EMAM2Cpp but I got the following errors:
Results :
Tests in error:
TestsGenTest.testMySuperAwesomeComponent1:54 » ResolvedSeveralEntries 0xA4095 ...
GenerateCMakeTest.floatDivisionTest:127 » ResolvedSeveralEnt...I tried to "install" EMAM2Cpp but I got the following errors:
Results :
Tests in error:
TestsGenTest.testMySuperAwesomeComponent1:54 » ResolvedSeveralEntries 0xA4095 ...
GenerateCMakeTest.floatDivisionTest:127 » ResolvedSeveralEntries 0xA4095 Found...
GenerateCMakeTest.testCMakeStreamTestGenerationForBasicPortsMath:91 » ResolvedSeveralEntries
AutomaticStreamTestGenerationTest.testCLIExample:230->testGenCPPFilesAndExec:293 » IndexOutOfBounds
Tests run: 194, Failures: 0, Errors: 4, Skipped: 13
I installed first EmbeddedMontiArcMath and MontiMath before installing EMAM2Cpp.Alexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/19C++ float division2018-08-08T15:51:32+02:00Christoph RichterC++ float divisionFloating point division delivers wrong results in C++.
`Q x = 1 / 2`;
The value of `x` should be 0.5.
The generated C++ code looks like:
`double x = 1 / 2`;
In this case C++ performs an integer division, because `1` and `2` are ha...Floating point division delivers wrong results in C++.
`Q x = 1 / 2`;
The value of `x` should be 0.5.
The generated C++ code looks like:
`double x = 1 / 2`;
In this case C++ performs an integer division, because `1` and `2` are handled as Integer values. The (wrong result is `x == 0`).Christoph RichterChristoph Richterhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/17Column Vector is not initialized if declared with 2 dimensions2018-08-08T13:46:26+02:00Christoph RichterColumn Vector is not initialized if declared with 2 dimensionsFor EMAM statement `Q^{n,1} a;` the following C++ code is generated: `colvec a;` This vector can be used in EMAM but is not initialized in C++.For EMAM statement `Q^{n,1} a;` the following C++ code is generated: `colvec a;` This vector can be used in EMAM but is not initialized in C++.Christoph RichterChristoph Richterhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/9Compiler should generate from main.txt2020-07-02T19:26:33+02:00Ferdinand Alexander MehlanCompiler should generate from main.txthttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/utilities/EMAStudioBuilder/issues/1https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/utilities/EMAStudioBuilder/issues/1Sascha Niklas SchneidersSascha Niklas Schneidershttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/13Element-wise multiplication does not generate correct armadillo code!2018-07-18T17:56:53+02:00Christoph RichterElement-wise multiplication does not generate correct armadillo code!Math statements:
```
Q^{2,2} A = [1,1;1,1];
Q^{2,2} B = [1,2;3,4];
Q^{2,2} C = A .* B;
```
produce wrong armadillo C++ code:
`mat C = A .* B;`
Armadillo uses % for element wise multiplication.Math statements:
```
Q^{2,2} A = [1,1;1,1];
Q^{2,2} B = [1,2;3,4];
Q^{2,2} C = A .* B;
```
produce wrong armadillo C++ code:
`mat C = A .* B;`
Armadillo uses % for element wise multiplication.Christoph RichterChristoph Richterhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/30Execute with logging: Name collision2019-05-23T16:10:24+02:00Alexander David HellwigExecute with logging: Name collisionfunction arma::log(as in logarithm) has a name collision with log(as in write to log)function arma::log(as in logarithm) has a name collision with log(as in write to log)Alexander David HellwigAlexander David Hellwighttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/34extends the commands with ceil function2020-01-01T09:33:18+01:00Ahmed Diabextends the commands with ceil functionAhmed DiabAhmed Diabhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Cpp/-/issues/35extends the commands with min/max function2020-07-02T19:30:42+02:00Ahmed Diabextends the commands with min/max function