Classes | |
class | Dynamixel_Chain |
class | Robotis_Servo |
class | USB2Dynamixel_Device |
Functions | |
def | discover_servos |
def | recover_servo |
def | test_servos |
Variables | |
tuple | dyn = Dynamixel_Chain(opt.dev_name, opt.baud) |
string | help = 'Required: Device string for USB2Dynamixel. [i.e. /dev/ttyUSB0 for Linux, \'0\' (for COM1) on Windows]' |
tuple | p = optparse.OptionParser(usage=usage) |
tuple | usage |
def robotis.lib_dynamixel.discover_servos | ( | dev = '/dev/ttyUSB0' , |
|
ids = None , |
|||
baudrates = None , |
|||
number = 255 |
|||
) |
Discover all servos on a USB2Dynamixel_Device using PING command. Checks all servo IDs at all Baudrates, stopping after 'number' of servos are found. Can specify smaller ranges to check instead.
Definition at line 975 of file lib_dynamixel.py.
def robotis.lib_dynamixel.recover_servo | ( | dyn | ) |
Definition at line 997 of file lib_dynamixel.py.
def robotis.lib_dynamixel.test_servos | ( | dyn, | |
ids = None |
|||
) |
An incomplete test script. Will call most, but not all, functions on a servo and check for obvious problems.
Definition at line 1032 of file lib_dynamixel.py.
tuple robotis::lib_dynamixel::dyn = Dynamixel_Chain(opt.dev_name, opt.baud) |
Definition at line 1298 of file lib_dynamixel.py.
string robotis::lib_dynamixel::help = 'Required: Device string for USB2Dynamixel. [i.e. /dev/ttyUSB0 for Linux, \'0\' (for COM1) on Windows]' |
Definition at line 1278 of file lib_dynamixel.py.
tuple robotis::lib_dynamixel::p = optparse.OptionParser(usage=usage) |
Definition at line 1276 of file lib_dynamixel.py.
00001 ("Interface for controlling one or more robotis servos on a single bus\n"+ 00002 "\tUse as below from the commandline, or:\n"+ 00003 "\t\timport lib_dynamixel as ld\n"+ 00004 "\t\tdyn = ld.Dynamixel_Chain()\n"+ 00005 "\t\tdyn.move_angle(ang, id)")
Definition at line 1271 of file lib_dynamixel.py.