Skip to content

Commit b44da29

Browse files
committed
Hot fix: Readme compiler is broken, the global parameters are defined as ros.Parameters and not RosParameters, they are the node-local parameters
1 parent 0b8edca commit b44da29

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • plugins/de.fraunhofer.ipa.rossystem.xtext/src/de/fraunhofer/ipa/rossystem/generator

plugins/de.fraunhofer.ipa.rossystem.xtext/src/de/fraunhofer/ipa/rossystem/generator/READMECompiler.xtend

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import system.impl.RosServiceClientReferenceImpl
1010
import system.impl.RosServiceServerReferenceImpl
1111
import system.impl.RosSubscriberReferenceImpl
1212
import com.google.inject.Inject
13-
import system.RosParameter
13+
import ros.Parameter
1414

1515
class READMECompiler {
1616

@@ -88,7 +88,7 @@ source install/setup.bash
8888
To execute the launch file, the following command can be called:
8989

9090
```
91-
ros2 launch «system.name» «system.name».launch.py «FOR param:system.parameter»«(param as RosParameter).name»:=«get_param_value((param as RosParameter).value,(param as RosParameter).name)» «ENDFOR»
91+
ros2 launch «system.name» «system.name».launch.py «FOR param:system.parameter»«(param as ros.Parameter).name»:=«get_param_value((param as ros.Parameter).value,(param as ros.Parameter).name)» «ENDFOR»
9292
```
9393

9494
The generated launch files requires the xterm package, it can be installed by:
@@ -101,7 +101,7 @@ sudo apt install xterm
101101
To launch this system there is already an existing package that contains the launch file. It can be started by:
102102

103103
```
104-
ros2 launch «system.fromFile.split("/",2).get(0)» «system.fromFile.substring(system.fromFile.lastIndexOf('/') + 1)» «FOR param:system.parameter»«(param as RosParameter).name»:=«get_param_value((param as RosParameter).value,(param as RosParameter).name)» «ENDFOR»
104+
ros2 launch «system.fromFile.split("/",2).get(0)» «system.fromFile.substring(system.fromFile.lastIndexOf('/') + 1)» «FOR param:system.parameter»«(param as ros.Parameter).name»:=«get_param_value((param as ros.Parameter).value,(param as ros.Parameter).name)» «ENDFOR»
105105
```
106106
«ENDIF»
107107

0 commit comments

Comments
 (0)