EmbeddedMontiArc issueshttps://git.rwth-aachen.de/groups/monticore/EmbeddedMontiArc/-/issues2019-09-26T18:24:37+02:00https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/21UML Model Generation2019-09-26T18:24:37+02:00ulfetUML Model GenerationAs noted by my peers Sabrina and Markus according to their interaction with Mr. Kusmenko, an all-around UML diagrams have to be generated to be provided for proof of work.
For this cause, I believe everyone has to generate respective UM...As noted by my peers Sabrina and Markus according to their interaction with Mr. Kusmenko, an all-around UML diagrams have to be generated to be provided for proof of work.
For this cause, I believe everyone has to generate respective UML diagrams for their parts, and we have to discuss and merge them then.First SprintSimon KißmannSabrina WolffMarkus HorlemannUta SkorzinskiAnxhela HyseniulfetgasialiSimon Kißmannhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/15Battery Interface - initial proposal2019-09-26T18:30:15+02:00ulfetBattery Interface - initial proposalAn interface for battery is needed; as it would be provided to BMW group so that their realization is consistent with our team's implementation.An interface for battery is needed; as it would be provided to BMW group so that their realization is consistent with our team's implementation.First SprintEvgeny KusmenkoAnxhela HyseniulfetEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/emam2mqtt/-/issues/24Feedback2019-09-28T11:12:25+02:00Alexander David HellwigFeedback- [x] Link to MQTT documentation
- [x] add note to start broker e.g.`sudo /etc/init.d/mosquitto start` to documentation
- [x] Document usage of .tag files, small example, available fields and their meaning
- [x] remove msgField from MQTT...- [x] Link to MQTT documentation
- [x] add note to start broker e.g.`sudo /etc/init.d/mosquitto start` to documentation
- [x] Document usage of .tag files, small example, available fields and their meaning
- [x] remove msgField from MQTTConnectionSymbol, Examples
- [x] Create small test with all supported data-types in EMAM2Middleware(with .tag file)
- [x] In generator: Use new class (A) to encapsulate File and content of file, instead of two Lists.
- [x] In generator: Use createFile for Callbacks or move createFile to the new class (A)
- [x] In generator: Line 37: don't override all middleware symbols with empty MqttConnectionSymbols
- [ ] Merge everything into master brancheshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/emam2someip/-/issues/23Tag parsing2019-09-29T23:47:40+02:00Alexander David HellwigTag parsingCreate a parser that can read .tag files and turn them into SomeIPConnectionSymbols
# Deliverables
## EmbeddedMontiArc Project
In [.../tagging/middleware/someip](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMo...Create a parser that can read .tag files and turn them into SomeIPConnectionSymbols
# Deliverables
## EmbeddedMontiArc Project
In [.../tagging/middleware/someip](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/tree/master/src/main/java/de/monticore/lang/embeddedmontiarc/tagging/middleware):
- [x] Add a SomeIPConnectionsSymbolCreator similar to [RosConnectionSymbolCreator](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/blob/master/src/main/java/de/monticore/lang/embeddedmontiarc/tagging/middleware/ros/RosConnectionSymbolCreator.java)
- Goal: Read a .tag file, convert it into SomeIPConnectionSymbols and add them the specified EMAPortSymbol or EMAPortInstanceSymbol. MontiCore/EmbeddedMontiArc automatically reads the file reading and preprocesses the data. Therefore you only need to implement a `TagSymbolCreator`
- [x] There should be no references to Ros in the new SymbolCreator. The main regex can be found in line 50.
- Online java regex checker: `http://www.regexplanet.com/advanced/java/index.html`
- [x] Add a SomeIPTagSchema similar to [RosToEmamTagSchema](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/blob/master/src/main/java/de/monticore/lang/embeddedmontiarc/tagging/middleware/ros/RosToEmamTagSchema.java)
- [x] Add a Testcase similar to [test/.../middleware/ros/TaggingTest](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/blob/master/src/test/java/de/monticore/lang/embeddedmontiarc/middleware/ros/TaggingTest.java).
- [x] you will need to add your Tag Schema to the tagging resolver here: https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc/blob/master/src/test/java/de/monticore/lang/embeddedmontiarc/AbstractTaggingResolverTest.java#L56
## EMAM2Middleware
- [x] pom.xml: Update the EmbeddedMontiArc dependency to the Version with your parser
- [x] DestributedTargetGeneratorCLI
- [x] resolve all SomeIPConnectionSymbols from the Symbol table. Example for ros: [here](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/blob/master/src/main/java/de/monticore/lang/monticar/generator/middleware/cli/DistributedTargetGeneratorCli.java#L167)
- [x] the actual resolving is implemented [here](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2RosCpp/blob/master/src/main/java/de/monticore/lang/monticar/generator/roscpp/helper/TagHelper.java#L20) in RosCpp, you can choose in which Project you want to implement it.
- [x] Previous test case
- [x] Adapt: Don't hand add the SomeIPConnectionSymbols, build a .tag file, use your TagHelper(or equivalent) to resolve the SomeIPConnectionSymbols
- Example for Ros: https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/blob/master/src/test/java/de/monticore/lang/monticar/generator/middleware/Ros2GenerationTest.java#L60 and line 64https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/emam2someip/-/issues/25Prepare for hand in2019-09-30T00:22:18+02:00Alexander David HellwigPrepare for hand inThings that should be done before hand in:
- merge all code into the master branch of the original projects
- provide a (lightweight) documentation in the readme files of the projects. It should give other Students an idea on:
- how t...Things that should be done before hand in:
- merge all code into the master branch of the original projects
- provide a (lightweight) documentation in the readme files of the projects. It should give other Students an idea on:
- how to install(linux or windows or docker) the project and its dependencies
- how to use your project
- where it is located in relation to other projects
- link 1 or 2 test cases that demonstrate the main features of the project(if available)
- you can always link to external documentation
- keep it briefhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/applications/carlacomponents/-/issues/19Feedback2019-09-30T09:42:00+02:00Alexander David HellwigFeedback- [x] Remove generator jar from project, docu(only if it is not needed, users should build with maven-streamtest if possible)
Models:
- [x] Remove `<enableExecutionLogging>true</enableExecutionLogging>`(or set to false), as it is a debu...- [x] Remove generator jar from project, docu(only if it is not needed, users should build with maven-streamtest if possible)
Models:
- [x] Remove `<enableExecutionLogging>true</enableExecutionLogging>`(or set to false), as it is a debugging tool
- [x] Use latest maven-streamtest version
Bumper Bot
- [x] remove test port
- [x] fix indentation
- [x] write a small stream test
Autopilot Wrapper
- [x] fill example stream test(input ports) with plausible data from the carla ros bridge
Models
- [x] remove test port
- [x] convert port CalculateWrappedValues.tmp_vehicle into local variable(e.g. `29: Ego_Vehicle tmp_vehicle = vehicle_status.control`) (only works with newest streamtest version)
Roscpp:
- [x] Structure SetStructPortInstr for better readability since it is relatively long. Create paragraphs by adding whitespace and/or short comments as headers. You should NOT add a comment to every line.
- [x] Fix/Check array/matrix indexing with the new syntax. EMA uses MatLab convention: 1 references the first element of the array/matrix (instead of C++ where 0 references the first element)
General
- [x] Merge everything into master brancheshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/applications/carlacomponents/-/issues/18Prepare for hand in2019-09-30T09:42:05+02:00Alexander David HellwigPrepare for hand inThings that should be done before hand in:
* [x] merge all code into the master branch of the original projects
- provide a (lightweight) documentation in the readme files of the projects. It should give other Students an idea on:
* [...Things that should be done before hand in:
* [x] merge all code into the master branch of the original projects
- provide a (lightweight) documentation in the readme files of the projects. It should give other Students an idea on:
* [x] how to install(linux or windows or docker) the project and its dependencies
* [x] how to use your project
* [x] where it is located in relation to other projects
* [x] link 1 or 2 test cases that demonstrate the main features of the project(if available)
- you can always link to external documentation
- keep it briefhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/emam2someip/-/issues/26Feedback2019-09-30T14:48:43+02:00Alexander David HellwigFeedback- [x] Link to someIp documentation
- [x] Document usage of example
- [x] Document usage of .tag files, small example, available fields and their meaning
- [x] Create small test with all supported data-types in EMAM2Middleware(with .tag f...- [x] Link to someIp documentation
- [x] Document usage of example
- [x] Document usage of .tag files, small example, available fields and their meaning
- [x] Create small test with all supported data-types in EMAM2Middleware(with .tag file)
- [x] In generator: Use new class (A) to encapsulate File and content of file, instead of two Lists.
- [x] In generator: create and use a utility function to write the files to disk(or use something like apacheCommonsIO [writeFile](https://commons.apache.org/proper/commons-io/javadocs/api-2.5/org/apache/commons/io/FileUtils.html#write(java.io.File,%20java.lang.CharSequence,%20java.nio.charset.Charset)))
- [x] Merge everything into master brancheshttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/29New Code2019-10-09T10:50:29+02:00Sabrina WolffNew CodeScreenshots for presentationScreenshots for presentationSecond SprintSabrina WolffMarkus HorlemannUta SkorzinskiSabrina Wolffhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/28Set Charging Station as new target2019-10-09T10:50:39+02:00Simon KißmannSet Charging Station as new targetImplement a method that saves the current target and sets the nearest charging station as the new target to navigate to. Once the vehicle is fully charged and can leave the station, the saved original target is set as the new target.Implement a method that saves the current target and sets the nearest charging station as the new target to navigate to. Once the vehicle is fully charged and can leave the station, the saved original target is set as the new target.Simon KißmannSimon Kißmannhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/27Flag for pausing the autopilot2019-10-09T10:50:53+02:00Simon KißmannFlag for pausing the autopilotSet Flag (boolean charging) that pauses the autopilot (and the car) while in the charging station. Either set by the autopilot or charging station. Unchecked when charging process is finished (battery charge = 100%?)Set Flag (boolean charging) that pauses the autopilot (and the car) while in the charging station. Either set by the autopilot or charging station. Unchecked when charging process is finished (battery charge = 100%?)Simon KißmannSimon Kißmannhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/20ChargingStation model (visualisation)2019-10-09T10:50:59+02:00Markus HorlemannChargingStation model (visualisation)ChargingStation model for the visualisationChargingStation model for the visualisationSabrina WolffMarkus HorlemannUta SkorzinskiSabrina Wolffhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/19Check Battery reach after a certain amount of time2019-10-09T10:51:07+02:00Ghost UserCheck Battery reach after a certain amount of timeOne Method which checks the Battery reach and the distance to the target and if the reach is lower then the distance to the target, then call a method which change the behavior.
Plus checks if battery state is lower than a certain perce...One Method which checks the Battery reach and the distance to the target and if the reach is lower then the distance to the target, then call a method which change the behavior.
Plus checks if battery state is lower than a certain percentage (20%?).
Checks once at the start of the trip (setting the first target) and updates together with actuator update?Simon KißmannSimon Kißmannhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/16Charging Station - Determination of coordinates2019-10-09T10:51:16+02:00gasialiCharging Station - Determination of coordinatesLocations for charging station has to be determined. So that it can be rendered via visualization.Locations for charging station has to be determined. So that it can be rendered via visualization.First Sprintgasialigasialihttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/26Error when Pushing: "... not allowed to push code to protected branches on th...2019-10-09T10:52:05+02:00ulfetError when Pushing: "... not allowed to push code to protected branches on this project"I created a subproject on Maven, and added my code, as we talked with Mr. Kusmenko.
However, when I try to push, I get the following errors:
`remote: GitLab: You are not allowed to push code to protected branches on this project.`
Norm...I created a subproject on Maven, and added my code, as we talked with Mr. Kusmenko.
However, when I try to push, I get the following errors:
`remote: GitLab: You are not allowed to push code to protected branches on this project.`
Normally, I would have created another branch and would push there, but as far as I remember, this is not what I told by Kusmenko.
For a temporary fix,
I am temporarily creating a branch for BatteryInterface group and I will push my code there.Evgeny KusmenkoulfetEvgeny Kusmenkohttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/23Visualization2019-10-09T10:52:22+02:00gasialiVisualization-Vehicle Charging Low
/-Charging Process
/-Charging Station-Vehicle Charging Low
/-Charging Process
/-Charging StationFirst SprintAnya PoudyalgasialiAnya Poudyalhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/13Refactor to Visitor Pattern2019-10-09T10:52:38+02:00Evgeny KusmenkoRefactor to Visitor Patterndouble dispatch to be refactored to visitor pattern, e.g. for collision detection in vehicle.PhysicsEngine classdouble dispatch to be refactored to visitor pattern, e.g. for collision detection in vehicle.PhysicsEngine classhttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/5Dynamic Sectoring before simulation2019-10-09T10:53:01+02:00Evgeny KusmenkoDynamic Sectoring before simulationIt should be possible to set the number of sectors WITHOUT having to reparse a mapIt should be possible to set the number of sectors WITHOUT having to reparse a mapHengwen Zhanghengwen.zhang@rwth-aachen.deHengwen Zhanghengwen.zhang@rwth-aachen.dehttps://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/3Navigation for multiple cars fails2019-10-09T12:55:41+02:00Evgeny KusmenkoNavigation for multiple cars failsPlease debug navigationPlease debug navigationWei XuWei Xu2018-08-15https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/-/issues/30Remote Procedure Call (RPC) not updating position at all2019-10-09T12:55:54+02:00ulfetRemote Procedure Call (RPC) not updating position at allUsing new commit in GitLab,\
while running the whole simulation,
RPC does not update the car(?)'s position at all.\
(This was also the case in the previous implementation where we were using SmartFoxServer).\
While I might be missing s...Using new commit in GitLab,\
while running the whole simulation,
RPC does not update the car(?)'s position at all.\
(This was also the case in the previous implementation where we were using SmartFoxServer).\
While I might be missing something along the lines,
I thought it is best to record this as an issue.
In the attachment one can found the logs from RMIServer(top-left), RPC (bottom-left), and restful (right column).
Also, here is the final install result of restful (it fails):\
`[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] RemoteAutopilotServiceTest.isAvailable:40
[ERROR] ZookeeperRegistryTest.getSimulator:69
[ERROR] Errors:
[ERROR] RemoteAutopilotServiceTest.reserveAndRelease:54 » ZkNoNode org.apache.zookeepe...
[ERROR] ZookeeperRegistryTest.getAutopilot:40 » NoService
[ERROR] ZookeeperRegistryTest.releaseAll:83 » ZkNoNode org.apache.zookeeper.KeeperExce...
[INFO]
[ERROR] Tests run: 42, Failures: 2, Errors: 3, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:25 min
[INFO] Finished at: 2019-07-01T13:14:41+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project restful: There are test failures.
[ERROR]
[ERROR] Please refer to /home/ulfet/Desktop/github_projects/MontiSim/server/restful/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
...
`
![ss](/uploads/f07b213eaa8b55b52d3e67241678bfeb/ss.png)