11 consoleout_spec = [
"implementation_id",
"ConsoleOut",
12 "type_name",
"ConsoleOut",
13 "description",
"Console output component",
15 "vendor",
"Shinji Kurihara",
16 "category",
"example",
17 "activity_type",
"DataFlowComponent",
20 "lang_type",
"script",
26 OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
30 self.
_data = RTC.TimedLong(RTC.Time(0,0),0)
39 print "Received: ", data.data
40 print "TimeStamp: ", data.tm.sec,
"[s] ", data.tm.nsec,
"[ns]" 47 manager.registerFactory(profile,
52 comp = manager.createComponent(
"ConsoleOut")
57 mgr = OpenRTM_aist.Manager.init(sys.argv)
61 mgr.setModuleInitProc(MyModuleInit)
73 if __name__ ==
"__main__":
def MyModuleInit(manager)
The Properties class represents a persistent set of properties.
def onExecute(self, ec_id)
def __init__(self, manager)
def addInPort(self, name, inport)
DataFlowComponentBase class.