[openrtm-commit:01812] r566 - in trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template: common cpp
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 3月 5日 (土) 18:43:02 JST
Author: ga
Date: 2016-03-05 18:43:02 +0900 (Sat, 05 Mar 2016)
New Revision: 566
Modified:
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/common/Component.conf.vsl
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/cpp/CXX_RTC.cpp.vsl
Log:
Modified Configuration Parameter #3072
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/common/Component.conf.vsl
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/common/Component.conf.vsl 2016-03-05 09:42:44 UTC (rev 565)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/common/Component.conf.vsl 2016-03-05 09:43:02 UTC (rev 566)
@@ -24,6 +24,12 @@
${sharp}
${sharp} configuration.active_config: mode0
+#if( ${rtcParam.configParams.size()} > 0 )
+#foreach($configParam in ${rtcParam.configParams})
+${sharp} conf.default.__${configParam.name}: ${configParam.type}
+#end
+#end
+
${sharp} Additional configuration-set example named "mode0"
${sharp}
${sharp} conf.mode0.int_param0: 0
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/cpp/CXX_RTC.cpp.vsl
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/cpp/CXX_RTC.cpp.vsl 2016-03-05 09:42:44 UTC (rev 565)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/template/cpp/CXX_RTC.cpp.vsl 2016-03-05 09:43:02 UTC (rev 566)
@@ -29,8 +29,13 @@
#foreach($configParam in ${rtcParam.configParams})
"conf.default.${configParam.name}", "${configParam.defaultVal}",
#end
+
+#foreach($configParam in ${rtcParam.configParams})
+ "conf.default.__${configParam.name}", "${configParam.type}#if( ${configParam.step.length()} > 0 ).${configParam.step}#end",
#end
+#end
#if( ${rtcParam.configParams.size()} > 0 )
+
// Widget
#foreach($configParam in ${rtcParam.configParams})
#if( ${configParam.widget.length()} > 0 )
More information about the openrtm-commit
mailing list