[openrtm-commit:01179] r489 - branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/template

openrtm @ openrtm.org openrtm @ openrtm.org
2014年 1月 23日 (木) 18:46:47 JST


Author: win-ei
Date: 2014-01-23 18:46:47 +0900 (Thu, 23 Jan 2014)
New Revision: 489

Modified:
   branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/template/SafetyMntMngTbl.c.vsl
Log:
Added the processing which outputs SafetyMntMngTbl.c file.

Modified: branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/template/SafetyMntMngTbl.c.vsl
===================================================================
--- branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/template/SafetyMntMngTbl.c.vsl	2014-01-23 09:30:09 UTC (rev 488)
+++ branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/template/SafetyMntMngTbl.c.vsl	2014-01-23 09:46:47 UTC (rev 489)
@@ -16,53 +16,11 @@
 /* Please set up here the object which supervises a life cycle state. */
 const SafetyMntSetting_t gsSafetyMntSettingTbl[RTC_MNT_NUM] = 
 {
+#foreach($comp in $comps)
     {
-        OBJECTKEY_DEMOACCELERATION  /* RTCID for surveillance */
-    },
-    {
-        OBJECTKEY_DEMOLED           /* RTCID for surveillance */
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    },
-    {
-        OBJECTKEY_EMPTY
-    }
-};
+        OBJECTKEY_${comp.toUpperCase()}  /* RTCID for surveillance */
+    }#if($velocityHasNext),
+#end
+#end
 
+};



More information about the openrtm-commit mailing list