Skip to content

Commit 9532222

Browse files
authored
Merge pull request #218 from ipa320/YamlParametersGenerator
Implement yaml file generator for parameters and fix parameter values validator
2 parents 2ae68bc + 3460f37 commit 9532222

File tree

7 files changed

+304
-249
lines changed

7 files changed

+304
-249
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CMakeListsCompiler {
2222
// DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
2323
//)'''
2424

25-
def compile_CMakeLists_ROS2(System system) '''«init_pkg()»
25+
def compile_CMakeLists_ROS2(System system, boolean gen_yaml) '''«init_pkg()»
2626
cmake_minimum_required(VERSION 3.5)
2727
projectsystem.name.toLowerCase»)
2828

@@ -38,12 +38,12 @@ endif()
3838
find_package(ament_cmake REQUIRED)
3939

4040
### INSTALL ###
41-
install(DIRECTORY launch
41+
install(DIRECTORY launch «IF gen_yaml»config«ENDIF»
4242
DESTINATION share/${PROJECT_NAME}
4343
)
4444

4545
ament_package()
4646
'''
4747

4848

49-
}
49+
}

0 commit comments

Comments
 (0)