diff --git a/chimera/chimera.yml b/chimera/chimera.yml index 7c1f190..49d29a2 100644 --- a/chimera/chimera.yml +++ b/chimera/chimera.yml @@ -20,6 +20,7 @@ template: header: | #include #include + #include #include // #include @@ -35,15 +36,15 @@ template: '/* postinclude */' footer: '/* footer */' - # TODO: Put this at the bottom of the module: - # dart::python::JointTemplateRegistry::register_default_types(); - # dart::python::JointAndNodeTemplateRegistry::register_default_types(); main: header: | #include - #include + + #include // should be included before any other non-STL headers #include + #include #include + #include #include // #include @@ -129,6 +130,9 @@ template: ::boost::python::scope().attr("utils").attr("skel") = ::boost::python::object(::boost::python::handle<>(::boost::python::borrowed(::PyImport_AddModule("dartpy.utils.skel")))); void skel_parser(); skel_parser(); + + dart::python::JointTemplateRegistry::register_default_types(); + dart::python::JointAndNodeTemplateRegistry::register_default_types(); footer: | // main footer