Functions | |
def | print_data (values) |
Variables | |
string | __author__ = 'Cody Jorgensen, Antons Rebguns' |
string | __copyright__ = 'Copyright (c) 2010-2011 Cody Jorgensen, Antons Rebguns' |
string | __email__ = 'anton@email.arizona.edu' |
string | __license__ = 'BSD' |
string | __maintainer__ = 'Antons Rebguns' |
angles = dxl_io.get_angle_limits(motor_id) | |
args | |
baudrate = options.baud | |
default | |
string | desc_msg = 'Prints the current status of specified Dynamixel servo motors.' |
dxl_io = dynamixel_io.DynamixelIO(port, baudrate) | |
string | epi_msg = 'Example: %s --port=/dev/ttyUSB1 --baud=57600 1 2 3 4 5' |
firmware = dxl_io.get_firmware_version(motor_id) | |
help | |
metavar | |
model = dxl_io.get_model_number(motor_id) | |
motor_id = int(motor_id) | |
motor_ids = args[1:] | |
options | |
p = dxl_io.ping(motor_id) | |
parser = OptionParser(usage=usage_msg, description=desc_msg, epilog=epi_msg) | |
port = options.port | |
int | responses = 0 |
type | |
string | usage_msg = 'Usage: %prog [options] IDs' |
values = dxl_io.get_feedback(motor_id) | |
def info_dump.print_data | ( | values | ) |
Takes a dictionary with all the motor values and does a formatted print.
Definition at line 54 of file info_dump.py.
|
private |
Definition at line 37 of file info_dump.py.
|
private |
Definition at line 38 of file info_dump.py.
|
private |
Definition at line 42 of file info_dump.py.
|
private |
Definition at line 40 of file info_dump.py.
|
private |
Definition at line 41 of file info_dump.py.
info_dump.angles = dxl_io.get_angle_limits(motor_id) |
Definition at line 118 of file info_dump.py.
info_dump.args |
Definition at line 94 of file info_dump.py.
info_dump.baudrate = options.baud |
Definition at line 101 of file info_dump.py.
info_dump.default |
Definition at line 89 of file info_dump.py.
string info_dump.desc_msg = 'Prints the current status of specified Dynamixel servo motors.' |
Definition at line 85 of file info_dump.py.
Definition at line 105 of file info_dump.py.
Definition at line 86 of file info_dump.py.
info_dump.firmware = dxl_io.get_firmware_version(motor_id) |
Definition at line 120 of file info_dump.py.
info_dump.help |
Definition at line 90 of file info_dump.py.
info_dump.metavar |
Definition at line 89 of file info_dump.py.
info_dump.model = dxl_io.get_model_number(motor_id) |
Definition at line 119 of file info_dump.py.
info_dump.motor_id = int(motor_id) |
Definition at line 112 of file info_dump.py.
info_dump.motor_ids = args[1:] |
Definition at line 102 of file info_dump.py.
info_dump.options |
Definition at line 94 of file info_dump.py.
info_dump.p = dxl_io.ping(motor_id) |
Definition at line 114 of file info_dump.py.
Definition at line 88 of file info_dump.py.
info_dump.port = options.port |
Definition at line 100 of file info_dump.py.
int info_dump.responses = 0 |
Definition at line 109 of file info_dump.py.
info_dump.type |
Definition at line 91 of file info_dump.py.
string info_dump.usage_msg = 'Usage: %prog [options] IDs' |
Definition at line 84 of file info_dump.py.
info_dump.values = dxl_io.get_feedback(motor_id) |
Definition at line 117 of file info_dump.py.