DynamixelConfigure

This module let you configure Dynamixel servos. Please refer to dynamixel manual's control table.

Example XML definition

A simple example

  <module
      class = "DynamixelConfigure"
      name = "DynamixelConfigure"
      device = "/dev/cu.usbserial-A8006Esq"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "DynamixelConfigure".string
nameThe name of this instance of the module.string
devicePath to serial devicestring/dev/cu.usbserial-A7005Lxn
baud_rateSerial baud rateint1000000
max_servo_idThe maximum servo ID to scan for. This parameter must be increased if servos with higher IDs are used. The value can be decreased to speed up the start-up of the module.int32
adressAdressint0
valueValueint1
force_modelForce the system to detect the servoes as certain model (should only by used if servo need resetting and the model number is corrupt). See dynamixel manuals for model number (MX-28T/MX-28R : 29, AX-12/AX-12+/AX-12A = 12, MX-106T/MX-106R = 320)int0
reset_modeEnter reset mode. In this mode a dynamixel servo can be reseted to factory settings.bool
scan_modeEnter scan mode. In this mode all available id and baud rates are scaned to find missing dynamixels.bool
quick_scanIf in scan mode. The module will only scan for servo with ID 0 - 20bool

Module Connections

Inputs

NameDescription
SETif 1 the changes are written to dynaxmiel servos
ACTIVEID of the servo to write changes to. If 0 all servos found will be updated with the new settings.

Outputs

NameDescription
RESET_MODEOne if the module is in RESET mode
CHANGE_MODEOne if the module is in CHANGE mode

Limitations

Only tested with AX-12, MX-28, MX-106.

Author

Birger Johansson
m@birgerjohansson.com
Lund University Cognitive Science

Files

DynamixelConfigure.h
DynamixelConfigure.cc
DynamixelComm.h
DynamixelComm.cc
DynamixelServo.h
DynamixelServo.cc
DynamixelConfigure.ikc

blog comments powered by Disqus