3 import omniORB, _omnipy
4 from omniORB
import CORBA, PortableServer
7 _omnipy.checkVersion(3,0, __file__)
14 _0_OpenHRP = omniORB.openModule(
"OpenHRP",
r"/home/k-okada/catkin_ws/ws_old_hrpsys/build/hrpsys/build/hrpsys-base-source/idl/AbsoluteForceSensorService.idl")
15 _0_OpenHRP__POA = omniORB.openModule(
"OpenHRP__POA",
r"/home/k-okada/catkin_ws/ws_old_hrpsys/build/hrpsys/build/hrpsys-base-source/idl/AbsoluteForceSensorService.idl")
19 _0_OpenHRP._d_AbsoluteForceSensorService = (omniORB.tcInternal.tv_objref,
"IDL:OpenHRP/AbsoluteForceSensorService:1.0",
"AbsoluteForceSensorService")
20 omniORB.typeMapping[
"IDL:OpenHRP/AbsoluteForceSensorService:1.0"] = _0_OpenHRP._d_AbsoluteForceSensorService
21 _0_OpenHRP.AbsoluteForceSensorService = omniORB.newEmptyClass()
23 _NP_RepositoryId = _0_OpenHRP._d_AbsoluteForceSensorService[1]
26 raise RuntimeError(
"Cannot construct objects of this type.")
28 _nil = CORBA.Object._nil
33 _NP_RepositoryId =
"IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0" 35 raise RuntimeError(
"Cannot construct objects of this type.")
36 _d_DblSequence3 = (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 3)
37 _ad_DblSequence3 = (omniORB.tcInternal.tv_alias, DblSequence3._NP_RepositoryId,
"DblSequence3", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 3))
38 _tc_DblSequence3 = omniORB.tcInternal.createTypeCode(_ad_DblSequence3)
39 omniORB.registerType(DblSequence3._NP_RepositoryId, _ad_DblSequence3, _tc_DblSequence3)
42 _0_OpenHRP.AbsoluteForceSensorService.forcemomentOffsetParam = omniORB.newEmptyClass()
44 _NP_RepositoryId =
"IDL:OpenHRP/AbsoluteForceSensorService/forcemomentOffsetParam:1.0" 46 _NP_ClassName =
"OpenHRP.AbsoluteForceSensorService.forcemomentOffsetParam" 48 def __init__(self, force_offset, moment_offset, link_offset_centroid, link_offset_mass):
54 _d_forcemomentOffsetParam = _0_OpenHRP.AbsoluteForceSensorService._d_forcemomentOffsetParam = (omniORB.tcInternal.tv_struct, forcemomentOffsetParam, forcemomentOffsetParam._NP_RepositoryId,
"forcemomentOffsetParam",
"force_offset", omniORB.typeMapping[
"IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"],
"moment_offset", omniORB.typeMapping[
"IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"],
"link_offset_centroid", omniORB.typeMapping[
"IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"],
"link_offset_mass", omniORB.tcInternal.tv_double)
55 _tc_forcemomentOffsetParam = omniORB.tcInternal.createTypeCode(_d_forcemomentOffsetParam)
56 omniORB.registerType(forcemomentOffsetParam._NP_RepositoryId, _d_forcemomentOffsetParam, _tc_forcemomentOffsetParam)
59 _0_OpenHRP.AbsoluteForceSensorService = AbsoluteForceSensorService
60 _0_OpenHRP._tc_AbsoluteForceSensorService = omniORB.tcInternal.createTypeCode(_0_OpenHRP._d_AbsoluteForceSensorService)
61 omniORB.registerType(AbsoluteForceSensorService._NP_RepositoryId, _0_OpenHRP._d_AbsoluteForceSensorService, _0_OpenHRP._tc_AbsoluteForceSensorService)
64 AbsoluteForceSensorService._d_setForceMomentOffsetParam = (((omniORB.tcInternal.tv_string,0), omniORB.typeMapping[
"IDL:OpenHRP/AbsoluteForceSensorService/forcemomentOffsetParam:1.0"]), (omniORB.tcInternal.tv_boolean, ),
None)
65 AbsoluteForceSensorService._d_getForceMomentOffsetParam = (((omniORB.tcInternal.tv_string,0), ), (omniORB.tcInternal.tv_boolean, omniORB.typeMapping[
"IDL:OpenHRP/AbsoluteForceSensorService/forcemomentOffsetParam:1.0"]),
None)
69 _NP_RepositoryId = AbsoluteForceSensorService._NP_RepositoryId
72 CORBA.Object.__init__(self)
75 return _omnipy.invoke(self,
"setForceMomentOffsetParam", _0_OpenHRP.AbsoluteForceSensorService._d_setForceMomentOffsetParam, args)
78 return _omnipy.invoke(self,
"getForceMomentOffsetParam", _0_OpenHRP.AbsoluteForceSensorService._d_getForceMomentOffsetParam, args)
80 __methods__ = [
"setForceMomentOffsetParam",
"getForceMomentOffsetParam"] + CORBA.Object.__methods__
82 omniORB.registerObjref(AbsoluteForceSensorService._NP_RepositoryId, _objref_AbsoluteForceSensorService)
83 _0_OpenHRP._objref_AbsoluteForceSensorService = _objref_AbsoluteForceSensorService
84 del AbsoluteForceSensorService, _objref_AbsoluteForceSensorService
87 __name__ =
"OpenHRP__POA" 89 _NP_RepositoryId = _0_OpenHRP.AbsoluteForceSensorService._NP_RepositoryId
92 _omni_op_d = {
"setForceMomentOffsetParam": _0_OpenHRP.AbsoluteForceSensorService._d_setForceMomentOffsetParam,
"getForceMomentOffsetParam": _0_OpenHRP.AbsoluteForceSensorService._d_getForceMomentOffsetParam}
94 AbsoluteForceSensorService._omni_skeleton = AbsoluteForceSensorService
95 _0_OpenHRP__POA.AbsoluteForceSensorService = AbsoluteForceSensorService
96 omniORB.registerSkeleton(AbsoluteForceSensorService._NP_RepositoryId, AbsoluteForceSensorService)
97 del AbsoluteForceSensorService
103 __name__ =
"AbsoluteForceSensorService_idl" 105 _exported_modules = (
"OpenHRP", )
def setForceMomentOffsetParam(self, args)
def getForceMomentOffsetParam(self, args)
def __init__(self, force_offset, moment_offset, link_offset_centroid, link_offset_mass)
def __init__(self, args, kw)
def __init__(self, args, kw)