9 new_instancemethod = new.instancemethod
11 _swig_property = property
15 if (name ==
"thisown"):
return self.this.own(value)
17 if type(value).__name__ ==
'PySwigObject':
18 self.__dict__[name] = value
20 method = class_type.__swig_setmethods__.get(name,
None)
21 if method:
return method(self,value)
22 if (
not static)
or hasattr(self,name):
23 self.__dict__[name] = value
25 raise AttributeError(
"You cannot add attributes to %s" % self)
31 if (name ==
"thisown"):
return self.this.own()
32 method = class_type.__swig_getmethods__.get(name,
None)
33 if method:
return method(self)
34 raise AttributeError,name
37 try: strthis =
"proxy of " + self.this.__repr__()
39 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
43 _object = types.ObjectType
45 except AttributeError:
51 ERR_NONE = _KNI.ERR_NONE
52 ERR_SUCCESS = _KNI.ERR_SUCCESS
54 __swig_setmethods__ = {}
55 __setattr__ =
lambda self, name, value:
_swig_setattr(self, TPos, name, value)
56 __swig_getmethods__ = {}
59 __swig_setmethods__[
"X"] = _KNI.TPos_X_set
60 __swig_getmethods__[
"X"] = _KNI.TPos_X_get
62 __swig_setmethods__[
"Y"] = _KNI.TPos_Y_set
63 __swig_getmethods__[
"Y"] = _KNI.TPos_Y_get
65 __swig_setmethods__[
"Z"] = _KNI.TPos_Z_set
66 __swig_getmethods__[
"Z"] = _KNI.TPos_Z_get
68 __swig_setmethods__[
"phi"] = _KNI.TPos_phi_set
69 __swig_getmethods__[
"phi"] = _KNI.TPos_phi_get
71 __swig_setmethods__[
"theta"] = _KNI.TPos_theta_set
72 __swig_getmethods__[
"theta"] = _KNI.TPos_theta_get
73 if _newclass:theta =
_swig_property(_KNI.TPos_theta_get, _KNI.TPos_theta_set)
74 __swig_setmethods__[
"psi"] = _KNI.TPos_psi_set
75 __swig_getmethods__[
"psi"] = _KNI.TPos_psi_get
78 this = _KNI.new_TPos(*args)
79 try: self.this.append(this)
81 __swig_destroy__ = _KNI.delete_TPos
82 __del__ =
lambda self :
None;
83 TPos_swigregister = _KNI.TPos_swigregister
91 __swig_setmethods__ = {}
92 __setattr__ =
lambda self, name, value:
_swig_setattr(self, TMovement, name, value)
93 __swig_getmethods__ = {}
96 __swig_setmethods__[
"pos"] = _KNI.TMovement_pos_set
97 __swig_getmethods__[
"pos"] = _KNI.TMovement_pos_get
98 if _newclass:pos =
_swig_property(_KNI.TMovement_pos_get, _KNI.TMovement_pos_set)
99 __swig_setmethods__[
"transition"] = _KNI.TMovement_transition_set
100 __swig_getmethods__[
"transition"] = _KNI.TMovement_transition_get
101 if _newclass:transition =
_swig_property(_KNI.TMovement_transition_get, _KNI.TMovement_transition_set)
102 __swig_setmethods__[
"velocity"] = _KNI.TMovement_velocity_set
103 __swig_getmethods__[
"velocity"] = _KNI.TMovement_velocity_get
104 if _newclass:velocity =
_swig_property(_KNI.TMovement_velocity_get, _KNI.TMovement_velocity_set)
105 __swig_setmethods__[
"acceleration"] = _KNI.TMovement_acceleration_set
106 __swig_getmethods__[
"acceleration"] = _KNI.TMovement_acceleration_get
107 if _newclass:acceleration =
_swig_property(_KNI.TMovement_acceleration_get, _KNI.TMovement_acceleration_set)
109 this = _KNI.new_TMovement(*args)
110 try: self.this.append(this)
112 __swig_destroy__ = _KNI.delete_TMovement
113 __del__ =
lambda self :
None;
114 TMovement_swigregister = _KNI.TMovement_swigregister
118 __swig_setmethods__ = {}
119 __setattr__ =
lambda self, name, value:
_swig_setattr(self, TCurrentMot, name, value)
120 __swig_getmethods__ = {}
122 __repr__ = _swig_repr
123 __swig_setmethods__[
"idx"] = _KNI.TCurrentMot_idx_set
124 __swig_getmethods__[
"idx"] = _KNI.TCurrentMot_idx_get
125 if _newclass:idx =
_swig_property(_KNI.TCurrentMot_idx_get, _KNI.TCurrentMot_idx_set)
126 __swig_setmethods__[
"running"] = _KNI.TCurrentMot_running_set
127 __swig_getmethods__[
"running"] = _KNI.TCurrentMot_running_get
128 if _newclass:running =
_swig_property(_KNI.TCurrentMot_running_get, _KNI.TCurrentMot_running_set)
129 __swig_setmethods__[
"dir"] = _KNI.TCurrentMot_dir_set
130 __swig_getmethods__[
"dir"] = _KNI.TCurrentMot_dir_get
131 if _newclass:dir =
_swig_property(_KNI.TCurrentMot_dir_get, _KNI.TCurrentMot_dir_set)
133 this = _KNI.new_TCurrentMot(*args)
134 try: self.this.append(this)
136 __swig_destroy__ = _KNI.delete_TCurrentMot
137 __del__ =
lambda self :
None;
138 TCurrentMot_swigregister = _KNI.TCurrentMot_swigregister
141 allMotorsOff = _KNI.allMotorsOff
142 allMotorsOn = _KNI.allMotorsOn
143 calibrate = _KNI.calibrate
144 clearMoveBuffers = _KNI.clearMoveBuffers
145 closeGripper = _KNI.closeGripper
146 deleteMovementFromStack = _KNI.deleteMovementFromStack
147 deleteMovementStack = _KNI.deleteMovementStack
148 executeConnectedMovement = _KNI.executeConnectedMovement
149 executeMovement = _KNI.executeMovement
150 getAxisFirmwareVersion = _KNI.getAxisFirmwareVersion
151 getNumberOfMotors = _KNI.getNumberOfMotors
152 getPosition = _KNI.getPosition
153 getVersion = _KNI.getVersion
154 initKatana = _KNI.initKatana
155 IO_setOutput = _KNI.IO_setOutput
156 ModBusTCP_writeWord = _KNI.ModBusTCP_writeWord
157 motorOff = _KNI.motorOff
158 motorOn = _KNI.motorOn
159 moveMot = _KNI.moveMot
160 moveMotAndWait = _KNI.moveMotAndWait
161 moveToPos = _KNI.moveToPos
162 moveToPosEnc = _KNI.moveToPosEnc
163 moveToPosLin = _KNI.moveToPosLin
164 openGripper = _KNI.openGripper
166 pushMovementToStack = _KNI.pushMovementToStack
167 runThroughMovementStack = _KNI.runThroughMovementStack
168 sendSplineToMotor = _KNI.sendSplineToMotor
169 setCollisionDetection = _KNI.setCollisionDetection
170 setCollisionParameters = _KNI.setCollisionParameters
171 setControllerParameters = _KNI.setControllerParameters
172 setGripper = _KNI.setGripper
173 setMaxAccel = _KNI.setMaxAccel
174 setMaxVelocity = _KNI.setMaxVelocity
175 setPositionCollisionLimit = _KNI.setPositionCollisionLimit
176 setVelocityCollisionLimit = _KNI.setVelocityCollisionLimit
177 startSplineMovement = _KNI.startSplineMovement
178 unblock = _KNI.unblock
179 waitForMot = _KNI.waitForMot
180 getDrive = _KNI.getDrive
181 getEncoder = _KNI.getEncoder
182 getVelocity = _KNI.getVelocity
183 IO_readInput = _KNI.IO_readInput
184 ModBusTCP_readWord = _KNI.ModBusTCP_readWord
def _swig_setattr_nondynamic(self, class_type, name, value, static=1)
def _swig_getattr(self, class_type, name)
def _swig_setattr(self, class_type, name, value)