16 (
"motor0", -360, 360, 0.1, 200),
17 (
"motor1", -360, 360, 0.1, 200),
18 (
"motor2", -360, 360, 0.1, 200),
19 (
"motor3", -360, 360, 0.1, 200),
20 (
"motor4", -360, 360, 0.1, 200),
21 (
"motor5", -360, 360, 0.1, 200))
23 mod_spec = [
"implementation_id",
"SliderComp",
24 "type_name",
"SliderComp",
25 "description",
"slider component",
27 "vendor",
"Noriaki Ando and Shinji Kurihara",
28 "category",
"Generic",
29 "activity_type",
"DataFlowComponent",
40 OpenRTM_aist.DataFlowComponentBase.__init__(self, manager)
45 self.
_sl_data = RTC.TimedFloatSeq(RTC.Time(0,0), [])
58 self._sl_data.data = sl.get()
72 manager.registerFactory(profile,
80 comp = manager.createComponent(
"SliderComp")
82 print "Componet created" 87 mgr = OpenRTM_aist.Manager.init(sys.argv)
91 mgr.setModuleInitProc(MyModuleInit)
104 if __name__ ==
"__main__":
def onExecute(self, ec_id)
def onActivated(self, ec_id)
The Properties class represents a persistent set of properties.
def __init__(self, manager)
def SliderCompInit(manager)
def addOutPort(self, name, outport)
def onShutdown(self, ec_id)
def MyModuleInit(manager)
DataFlowComponentBase class.