Package ckbot :: Module dynamixel :: Class AX12Module
[hide private]
[frames] | no frames]

Class AX12Module

source code


DESCRIPTION: -- AX12 Specific constants RESPONSIBILITIES: -- ...

Instance Methods [hide private]
 
__init__(self, node_id, typecode, pna)
Concrete constructor.
source code

Inherited from DynamixelModule: get_mode, get_moving_speed, get_pos, get_pos_async, get_speed, get_voltage, go_slack, mem_getterOf, mem_read, mem_setterOf, mem_write, set, set_mode, set_pos, set_pos_sync, set_speed, set_torque, set_torque_limit, start, stop

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__

Class Methods [hide private]

Inherited from DynamixelModule: ang2dynamixel, dynamixel2ang, dynamixel2rpm, dynamixel2voltage, rpm2dynamixel, torque2dynamixel

Inherited from ckmodule.Module: newFromDiscovery

Class Variables [hide private]
  MAX_POS = 0x3FF
  MIN_POS = 0
  MIN_ANG = 0
  MAX_ANG = 30000
  MAX_TORQUE = 0x3FF
  DIRECTION_BIT = 1 << 10
  TORQUE_SCL = float(MAX_TORQUE/ 1.0)
  SPEED_SCL = 0.114
  VOLTAGE_SCL = 0.1
  SCL = float(MAX_POS-MIN_POS)/(MAX_ANG-MIN_ANG)
  OFS = MAX_POS-MIN_POS/ 2+ MIN_POS

Inherited from DynamixelModule: MN_POS, MX_POS

Inherited from ckmodule.AbstractServoModule: POS_LOWER, POS_UPPER

Inherited from ckmodule.Module: Types

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, node_id, typecode, pna)
(Constructor)

source code 

Concrete constructor.

ATTRIBUTES: node_id -- int -- address for a unique module typecode -- version name of module pna -- ProtocolNodeAdaptor -- specialized for this node_id

Overrides: object.__init__