Skip to content

Commit b9ffb03

Browse files
committed
Update documentation to support the new models version
1 parent aba36bf commit b9ffb03

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

docu/NewCommunicationObjects.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ Additionally the definition of constants with its value is also supported and fo
8080
The following extract shows the ROS model description correspondent to the [nav_msgs](http://wiki.ros.org/nav_msgs) package:
8181

8282
```
83-
PackageSet { package {
84-
Package nav_msgs{ spec {
83+
PackageSet {
84+
Package nav_msgs{ Specs {
8585
TopicSpec GetMapAction{ message { GetMapActionGoal action_goal GetMapActionResult action_result GetMapActionFeedback action_feedback }},
8686
TopicSpec GetMapActionFeedback{ message { Header header "actionlib_msgs.GoalStatus" status GetMapFeedback feedback }},
8787
TopicSpec GetMapActionGoal{ message { Header header "actionlib_msgs.GoalID" goal_id GetMapGoal goal }},
@@ -103,8 +103,8 @@ PackageSet { package {
103103
:bangbang::bangbang: This model doesn't allow the creation of 2 specification with the same name, although they have different types. That means a ROS model like the following one is not allow:
104104

105105
```
106-
PackageSet { package {
107-
Package my_msgs { spec {
106+
PackageSet {
107+
Package my_msgs { Specs {
108108
TopicSpec hello { message { String data }},
109109
ServiceSpec hello { request { } response { String data }},
110110
}}

docu/Parameters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ This format is also valid for a ROSsystem file, case of ROS where a new paramete
2626
For example (for a .ros file):
2727

2828
```
29-
PackageSet { package {
30-
CatkinPackage test_parameters{ artifact {
29+
PackageSet {
30+
CatkinPackage test_parameters{
3131
Artifact test_parameters {
32-
node Node { name test
33-
parameter {
32+
Node { name test
33+
Parameters {
3434
Parameter { name string_test type String },
3535
Parameter { name bool_tets type Boolean },
3636
Parameter { name array_tets type Array {type String}},
@@ -44,7 +44,7 @@ PackageSet { package {
4444
third_element String ,
4545
last_element Struc { hello Integer, what String}}
4646
}}}
47-
}}}}}
47+
}}}
4848
```
4949
These parameters can be re-set at Rossystem level (that means for ROS developers, the case of the set of a new parameter value within a node include on a ROS launch file). For the tooling the format is the following:
5050

0 commit comments

Comments
 (0)