Variables | |
string | __author__ = 'Antons Rebguns' |
string | __copyright__ = 'Copyright (c) 2010-2011 Antons Rebguns' |
string | __email__ = 'anton@email.arizona.edu' |
string | __license__ = 'BSD' |
string | __maintainer__ = 'Antons Rebguns' |
args | |
baudrate = options.baud | |
default | |
string | desc_msg = 'Sets various configuration options of specified Dynamixel servo motor.' |
dest | |
dxl_io = dynamixel_io.DynamixelIO(port, baudrate) | |
string | epi_msg = 'Example: %s --port=/dev/ttyUSB1 --baud=57600 --baud-rate=1 --return-delay=1 5 9 23' |
help | |
metavar | |
motor_id = int(motor_id) | |
motor_ids = args[1:] | |
options | |
parser = OptionParser(usage=usage_msg, description=desc_msg, epilog=epi_msg) | |
port = options.port | |
type | |
string | usage_msg = 'Usage: %prog [options] MOTOR_IDs' |
tuple | valid_rates = (1,3,4,7,9,16,34,103,207,250,251,252) |
|
private |
Definition at line 37 of file set_servo_config.py.
|
private |
Definition at line 38 of file set_servo_config.py.
|
private |
Definition at line 42 of file set_servo_config.py.
|
private |
Definition at line 40 of file set_servo_config.py.
|
private |
Definition at line 41 of file set_servo_config.py.
set_servo_config.args |
Definition at line 76 of file set_servo_config.py.
set_servo_config.baudrate = options.baud |
Definition at line 84 of file set_servo_config.py.
set_servo_config.default |
Definition at line 59 of file set_servo_config.py.
string set_servo_config.desc_msg = 'Sets various configuration options of specified Dynamixel servo motor.' |
Definition at line 55 of file set_servo_config.py.
set_servo_config.dest |
Definition at line 63 of file set_servo_config.py.
Definition at line 88 of file set_servo_config.py.
string set_servo_config.epi_msg = 'Example: %s --port=/dev/ttyUSB1 --baud=57600 --baud-rate=1 --return-delay=1 5 9 23' |
Definition at line 56 of file set_servo_config.py.
set_servo_config.help |
Definition at line 60 of file set_servo_config.py.
set_servo_config.metavar |
Definition at line 59 of file set_servo_config.py.
set_servo_config.motor_id = int(motor_id) |
Definition at line 93 of file set_servo_config.py.
set_servo_config.motor_ids = args[1:] |
Definition at line 85 of file set_servo_config.py.
set_servo_config.options |
Definition at line 76 of file set_servo_config.py.
Definition at line 58 of file set_servo_config.py.
set_servo_config.port = options.port |
Definition at line 83 of file set_servo_config.py.
set_servo_config.type |
Definition at line 61 of file set_servo_config.py.
string set_servo_config.usage_msg = 'Usage: %prog [options] MOTOR_IDs' |
Definition at line 54 of file set_servo_config.py.
tuple set_servo_config.valid_rates = (1,3,4,7,9,16,34,103,207,250,251,252) |
Definition at line 98 of file set_servo_config.py.