AbsoluteForceSensorService_idl.py
Go to the documentation of this file.
1 # Python stubs generated by omniidl from /home/k-okada/catkin_ws/ws_old_hrpsys/build/hrpsys/build/hrpsys-base-source/idl/AbsoluteForceSensorService.idl
2 
3 import omniORB, _omnipy
4 from omniORB import CORBA, PortableServer
5 _0_CORBA = CORBA
6 
7 _omnipy.checkVersion(3,0, __file__)
8 
9 
10 #
11 # Start of module "OpenHRP"
12 #
13 __name__ = "OpenHRP"
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")
16 
17 
18 # interface AbsoluteForceSensorService
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]
24 
25  def __init__(self, *args, **kw):
26  raise RuntimeError("Cannot construct objects of this type.")
27 
28  _nil = CORBA.Object._nil
29 
30 
31  # typedef ... DblSequence3
32  class DblSequence3:
33  _NP_RepositoryId = "IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"
34  def __init__(self, *args, **kw):
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)
40 
41  # struct forcemomentOffsetParam
42  _0_OpenHRP.AbsoluteForceSensorService.forcemomentOffsetParam = omniORB.newEmptyClass()
43  class forcemomentOffsetParam (omniORB.StructBase):
44  _NP_RepositoryId = "IDL:OpenHRP/AbsoluteForceSensorService/forcemomentOffsetParam:1.0"
45 
46  _NP_ClassName = "OpenHRP.AbsoluteForceSensorService.forcemomentOffsetParam"
47 
48  def __init__(self, force_offset, moment_offset, link_offset_centroid, link_offset_mass):
49  self.force_offset = force_offset
50  self.moment_offset = moment_offset
51  self.link_offset_centroid = link_offset_centroid
52  self.link_offset_mass = link_offset_mass
53 
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)
57 
58 
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)
62 
63 # AbsoluteForceSensorService operations and attributes
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)
66 
67 # AbsoluteForceSensorService object reference
69  _NP_RepositoryId = AbsoluteForceSensorService._NP_RepositoryId
70 
71  def __init__(self):
72  CORBA.Object.__init__(self)
73 
74  def setForceMomentOffsetParam(self, *args):
75  return _omnipy.invoke(self, "setForceMomentOffsetParam", _0_OpenHRP.AbsoluteForceSensorService._d_setForceMomentOffsetParam, args)
76 
77  def getForceMomentOffsetParam(self, *args):
78  return _omnipy.invoke(self, "getForceMomentOffsetParam", _0_OpenHRP.AbsoluteForceSensorService._d_getForceMomentOffsetParam, args)
79 
80  __methods__ = ["setForceMomentOffsetParam", "getForceMomentOffsetParam"] + CORBA.Object.__methods__
81 
82 omniORB.registerObjref(AbsoluteForceSensorService._NP_RepositoryId, _objref_AbsoluteForceSensorService)
83 _0_OpenHRP._objref_AbsoluteForceSensorService = _objref_AbsoluteForceSensorService
84 del AbsoluteForceSensorService, _objref_AbsoluteForceSensorService
85 
86 # AbsoluteForceSensorService skeleton
87 __name__ = "OpenHRP__POA"
88 class AbsoluteForceSensorService (PortableServer.Servant):
89  _NP_RepositoryId = _0_OpenHRP.AbsoluteForceSensorService._NP_RepositoryId
90 
91 
92  _omni_op_d = {"setForceMomentOffsetParam": _0_OpenHRP.AbsoluteForceSensorService._d_setForceMomentOffsetParam, "getForceMomentOffsetParam": _0_OpenHRP.AbsoluteForceSensorService._d_getForceMomentOffsetParam}
93 
94 AbsoluteForceSensorService._omni_skeleton = AbsoluteForceSensorService
95 _0_OpenHRP__POA.AbsoluteForceSensorService = AbsoluteForceSensorService
96 omniORB.registerSkeleton(AbsoluteForceSensorService._NP_RepositoryId, AbsoluteForceSensorService)
97 del AbsoluteForceSensorService
98 __name__ = "OpenHRP"
99 
100 #
101 # End of module "OpenHRP"
102 #
103 __name__ = "AbsoluteForceSensorService_idl"
104 
105 _exported_modules = ( "OpenHRP", )
106 
107 # The end.
def __init__(self, force_offset, moment_offset, link_offset_centroid, link_offset_mass)


hironx_ros_bridge
Author(s): Kei Okada , Isaac I.Y. Saito
autogenerated on Mon Feb 28 2022 23:45:15