Skip to content

Commit

Permalink
Update minor issues on the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-nhg committed Jun 9, 2024
1 parent b84d7b2 commit 10e1f25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docu/CodeGeneration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ For the System model, the generation of code is automatic, which means if your m
* CMakeLists.txt: a template of the package.xml which includes the required tags to install the newly created files.
* launch/NameOfTheSystem.launch.py script: This is the core of the generator. This is a **ready-to-execute** file that based on the .rossystem description:
* Add includes to all the defined nodes as components
* Define and set the value of the parameters. For packages containing more than 5 parameters an extra .yaml file will be created and launched from this launch file.
* Define and set the value of the parameters. For packages containing more than 5 parameters the .yaml file under the "config" folder will be loaded and launched.
* Remap topics to force connections. This is only working for nodes that are part of the system as components, not for subsystems. See [known issues](RosTooling_issues.md#code-generators)
* Include other launch files from subsystems.
* resource/NameOfTheSystem.puml: [An example of a PlantUML implementation of the described system](SystemModelsVisualization.md#open-the-plantuml-auto-generated-description)
* config/NameOfTheSystem.yaml: this file contains the configuration of the parameters. It will only be used in case of the set of 5 parameters or more.

With the current implementation of RosTooling adding new code generators to the .rossystem representation is very easy, please report on our survey on the open-ended questions your wishes like for example, the generation of install scripts and/or Docker container configuration or ROS1-ROS2 bridges.
With the current implementation of RosTooling adding new code generators to the .rossystem representation is very easy, please report on our survey on the open-ended questions your wishes like for example, the generation of install scripts and/or Docker container configuration or ROS1-ROS2 bridges.
4 changes: 2 additions & 2 deletions docu/LearnRosSystemModels.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ my_awesome_system:
The compiler will give an error of mismatched type.
![](images/Attention.png) The validator has some parts not fully implemented, check the [Known issues](RosTooling_issues.md) site in case you have problems by following this tutorial.

Another feature included as part of the code generator is the generator of parameter files. This will be automatically done by the set of more than 5 parameters, for example for this example:
Another feature included as part of the code generator is the generator of parameter files. This will be automatically done and the launch file will by default load it by the set of more than 5 parameters, for example for this case:

```
my_awesome_system:
Expand Down Expand Up @@ -187,4 +187,4 @@ my_awesome_system:

In this case, a new file will be created under "src-gen/PackageName/config/" and it will contain the configuration of the node2. The launch file will be adapted to launch the configuration from a file.

With this very basic example, we hope you have understood how the models can be used and what kind of attributes they allow to represent.
With this very basic example, we hope you have understood how the models can be used and what kind of attributes they allow to represent.

0 comments on commit 10e1f25

Please sign in to comment.