concrete class DynamixelModule provides shared capabilities of
Dynamixel modules. It is usually used as the base class in a mixin, with
the model specific details provided by the mixin classes.
|
|
|
|
|
set(self,
**args)
Syntactic sugar for setting a bunch of addresses in the dynamixel
control table to new values |
source code
|
|
|
|
mem_write(self,
addr,
val)
Write a byte to a memory address in the module's microcontroller |
source code
|
|
|
|
mem_read(self,
addr)
Read a memory address from the module's microncontroller |
source code
|
|
|
|
mem_getterOf(self,
addr)
Return a getter function for a memory address |
source code
|
|
|
|
mem_setterOf(self,
addr)
Return a setter function for a memory address |
source code
|
|
|
|
|
|
|
set_mode(self,
mode,
min_pos=MN_POS,
max_pos=MX_POS)
( MAYBE )
Set the current mode of the servo, either Motor or Servo |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from ckmodule.AbstractServoModule:
is_slack,
set_pos_UNSAFE
Inherited from ckmodule.Module:
get_od,
iterattr,
iterhwaddr,
iterprop,
reset
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
ang2dynamixel(cls,
ang)
Convert angle values to Dynamixel units |
source code
|
|
|
|
dynamixel2ang(cls,
dynamixel)
Convert dynamixel units to Dynamixel angles |
source code
|
|
|
|
torque2dynamixel(cls,
torque)
Convert "torque" commands to Dynamixel commands |
source code
|
|
|
|
dynamixel2rpm(cls,
dynamixel)
Convert dynamixel units to rotations per minute |
source code
|
|
|
|
rpm2dynamixel(cls,
rpm)
Convert rpm to dynamixel units |
source code
|
|
|
|
dynamixel2voltage(cls,
dynamixel)
Convert dynamixel units to volts |
source code
|
|
|
Inherited from ckmodule.Module:
newFromDiscovery
|