4 print ";; Loading ImpedanceController < 315.1.9" 7 import omniORB, _omnipy
8 from omniORB
import CORBA, PortableServer
11 _omnipy.checkVersion(3,0, __file__)
18 _0_OpenHRP = omniORB.openModule(
"OpenHRP",
r"/home/k-okada/catkin_ws/ws_old_hrpsys/build_isolated/hrpsys/build/hrpsys-base-source/idl/ImpedanceControllerService.idl")
19 _0_OpenHRP__POA = omniORB.openModule(
"OpenHRP__POA",
r"/home/k-okada/catkin_ws/ws_old_hrpsys/build_isolated/hrpsys/build/hrpsys-base-source/idl/ImpedanceControllerService.idl")
23 _0_OpenHRP._d_ImpedanceControllerService = (omniORB.tcInternal.tv_objref,
"IDL:OpenHRP/ImpedanceControllerService:1.0",
"ImpedanceControllerService")
24 omniORB.typeMapping[
"IDL:OpenHRP/ImpedanceControllerService:1.0"] = _0_OpenHRP._d_ImpedanceControllerService
25 _0_OpenHRP.ImpedanceControllerService = omniORB.newEmptyClass()
27 _NP_RepositoryId = _0_OpenHRP._d_ImpedanceControllerService[1]
30 raise RuntimeError(
"Cannot construct objects of this type.")
32 _nil = CORBA.Object._nil
37 _NP_RepositoryId =
"IDL:OpenHRP/ImpedanceControllerService/DblSequence3:1.0" 39 raise RuntimeError(
"Cannot construct objects of this type.")
40 _d_DblSequence3 = (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 3)
41 _ad_DblSequence3 = (omniORB.tcInternal.tv_alias, DblSequence3._NP_RepositoryId,
"DblSequence3", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 3))
42 _tc_DblSequence3 = omniORB.tcInternal.createTypeCode(_ad_DblSequence3)
43 omniORB.registerType(DblSequence3._NP_RepositoryId, _ad_DblSequence3, _tc_DblSequence3)
46 _0_OpenHRP.ImpedanceControllerService.impedanceParam = omniORB.newEmptyClass()
48 _NP_RepositoryId =
"IDL:OpenHRP/ImpedanceControllerService/impedanceParam:1.0" 50 _NP_ClassName =
"OpenHRP.ImpedanceControllerService.impedanceParam" 52 def __init__(self, name, base_name, target_name, M_p, D_p, K_p, M_r, D_r, K_r, ref_force, force_gain, ref_moment, moment_gain, sr_gain, avoid_gain, reference_gain, manipulability_limit):
71 _d_impedanceParam = _0_OpenHRP.ImpedanceControllerService._d_impedanceParam = (omniORB.tcInternal.tv_struct, impedanceParam, impedanceParam._NP_RepositoryId,
"impedanceParam",
"name", (omniORB.tcInternal.tv_string,0),
"base_name", (omniORB.tcInternal.tv_string,0),
"target_name", (omniORB.tcInternal.tv_string,0),
"M_p", omniORB.tcInternal.tv_double,
"D_p", omniORB.tcInternal.tv_double,
"K_p", omniORB.tcInternal.tv_double,
"M_r", omniORB.tcInternal.tv_double,
"D_r", omniORB.tcInternal.tv_double,
"K_r", omniORB.tcInternal.tv_double,
"ref_force", omniORB.typeMapping[
"IDL:OpenHRP/ImpedanceControllerService/DblSequence3:1.0"],
"force_gain", omniORB.typeMapping[
"IDL:OpenHRP/ImpedanceControllerService/DblSequence3:1.0"],
"ref_moment", omniORB.typeMapping[
"IDL:OpenHRP/ImpedanceControllerService/DblSequence3:1.0"],
"moment_gain", omniORB.typeMapping[
"IDL:OpenHRP/ImpedanceControllerService/DblSequence3:1.0"],
"sr_gain", omniORB.tcInternal.tv_double,
"avoid_gain", omniORB.tcInternal.tv_double,
"reference_gain", omniORB.tcInternal.tv_double,
"manipulability_limit", omniORB.tcInternal.tv_double)
72 _tc_impedanceParam = omniORB.tcInternal.createTypeCode(_d_impedanceParam)
73 omniORB.registerType(impedanceParam._NP_RepositoryId, _d_impedanceParam, _tc_impedanceParam)
76 _0_OpenHRP.ImpedanceControllerService = ImpedanceControllerService
77 _0_OpenHRP._tc_ImpedanceControllerService = omniORB.tcInternal.createTypeCode(_0_OpenHRP._d_ImpedanceControllerService)
78 omniORB.registerType(ImpedanceControllerService._NP_RepositoryId, _0_OpenHRP._d_ImpedanceControllerService, _0_OpenHRP._tc_ImpedanceControllerService)
81 ImpedanceControllerService._d_setImpedanceControllerParam = ((omniORB.typeMapping[
"IDL:OpenHRP/ImpedanceControllerService/impedanceParam:1.0"], ), (omniORB.tcInternal.tv_boolean, ),
None)
82 ImpedanceControllerService._d_getImpedanceControllerParam = (((omniORB.tcInternal.tv_string,0), ), (omniORB.tcInternal.tv_boolean, omniORB.typeMapping[
"IDL:OpenHRP/ImpedanceControllerService/impedanceParam:1.0"]),
None)
83 ImpedanceControllerService._d_deleteImpedanceController = (((omniORB.tcInternal.tv_string,0), ), (omniORB.tcInternal.tv_boolean, ),
None)
84 ImpedanceControllerService._d_waitDeletingImpedanceController = (((omniORB.tcInternal.tv_string,0), ), (),
None)
85 ImpedanceControllerService._d_deleteImpedanceControllerAndWait = (((omniORB.tcInternal.tv_string,0), ), (omniORB.tcInternal.tv_boolean, ),
None)
89 _NP_RepositoryId = ImpedanceControllerService._NP_RepositoryId
92 CORBA.Object.__init__(self)
95 return _omnipy.invoke(self,
"setImpedanceControllerParam", _0_OpenHRP.ImpedanceControllerService._d_setImpedanceControllerParam, args)
98 return _omnipy.invoke(self,
"getImpedanceControllerParam", _0_OpenHRP.ImpedanceControllerService._d_getImpedanceControllerParam, args)
101 return _omnipy.invoke(self,
"deleteImpedanceController", _0_OpenHRP.ImpedanceControllerService._d_deleteImpedanceController, args)
104 return _omnipy.invoke(self,
"waitDeletingImpedanceController", _0_OpenHRP.ImpedanceControllerService._d_waitDeletingImpedanceController, args)
107 return _omnipy.invoke(self,
"deleteImpedanceControllerAndWait", _0_OpenHRP.ImpedanceControllerService._d_deleteImpedanceControllerAndWait, args)
109 __methods__ = [
"setImpedanceControllerParam",
"getImpedanceControllerParam",
"deleteImpedanceController",
"waitDeletingImpedanceController",
"deleteImpedanceControllerAndWait"] + CORBA.Object.__methods__
111 omniORB.registerObjref(ImpedanceControllerService._NP_RepositoryId, _objref_ImpedanceControllerService)
112 _0_OpenHRP._objref_ImpedanceControllerService = _objref_ImpedanceControllerService
113 del ImpedanceControllerService, _objref_ImpedanceControllerService
116 __name__ =
"OpenHRP__POA" 118 _NP_RepositoryId = _0_OpenHRP.ImpedanceControllerService._NP_RepositoryId
121 _omni_op_d = {
"setImpedanceControllerParam": _0_OpenHRP.ImpedanceControllerService._d_setImpedanceControllerParam,
"getImpedanceControllerParam": _0_OpenHRP.ImpedanceControllerService._d_getImpedanceControllerParam,
"deleteImpedanceController": _0_OpenHRP.ImpedanceControllerService._d_deleteImpedanceController,
"waitDeletingImpedanceController": _0_OpenHRP.ImpedanceControllerService._d_waitDeletingImpedanceController,
"deleteImpedanceControllerAndWait": _0_OpenHRP.ImpedanceControllerService._d_deleteImpedanceControllerAndWait}
123 ImpedanceControllerService._omni_skeleton = ImpedanceControllerService
124 _0_OpenHRP__POA.ImpedanceControllerService = ImpedanceControllerService
125 omniORB.registerSkeleton(ImpedanceControllerService._NP_RepositoryId, ImpedanceControllerService)
126 del ImpedanceControllerService
132 __name__ =
"ImpedanceControllerService_idl" 134 _exported_modules = (
"OpenHRP", )
def setImpedanceControllerParam(self, args)
def __init__(self, name, base_name, target_name, M_p, D_p, K_p, M_r, D_r, K_r, ref_force, force_gain, ref_moment, moment_gain, sr_gain, avoid_gain, reference_gain, manipulability_limit)
def __init__(self, args, kw)
def waitDeletingImpedanceController(self, args)
def deleteImpedanceControllerAndWait(self, args)
def getImpedanceControllerParam(self, args)
def __init__(self, args, kw)
def deleteImpedanceController(self, args)