File tree 3 files changed +5
-12
lines changed
3 files changed +5
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -43,12 +43,7 @@ def main():
43
43
datatext = template .render ({ "includeFiles" :includeFiles , "pubMsgTypes" :pubMsgTypes , "subMsgTypes" :subMsgTypes })
44
44
with open (os .path .join (app + "/templates.hpp" ), "wb" ) as f :
45
45
f .write (datatext .encode ('utf-8' ))
46
-
47
- env = Environment (loader = FileSystemLoader ('../mros2/mros2_header_generator' ))
48
- template = env .get_template ('header_includer.tpl' )
49
- datatext = template .render ({ "app" : app })
50
- with open (os .path .join ("../header_includer/header_includer.hpp" ), "wb" ) as f :
51
- f .write (datatext .encode ('utf-8' ))
52
-
46
+
47
+
53
48
if __name__ == "__main__" :
54
- main ()
49
+ main ()
Original file line number Diff line number Diff line change @@ -274,8 +274,7 @@ void setTrue(void* args)
274
274
*static_cast <volatile bool *>(args) = true ;
275
275
}
276
276
277
-
278
277
/*
279
- * specialize template functions
278
+ * specialize template functions described in platform's workspace
280
279
*/
281
- #include " ../../header_includer/header_includer .hpp"
280
+ #include " templates .hpp"
You can’t perform that action at this time.
0 commit comments