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' |
baudrate = options.baud | |
string | desc_msg = 'Turns the torque of specified Dynamixel servo motor on or off.' |
tuple | dxl_io = dynamixel_io.DynamixelIO(port, baudrate) |
string | epi_msg = 'Example: %s --port=/dev/ttyUSB1 --baud=57600 1 Off' |
string | help = 'motors of specified controllers are connected to PORT [default: %default]' |
tuple | motor_id = int(args[1]) |
tuple | parser = OptionParser(usage=usage_msg, description=desc_msg, epilog=epi_msg) |
port = options.port | |
list | torque_on = args[2] |
string | usage_msg = 'Usage: %prog [options] ID [On|Off]' |
string set_torque::__author__ = 'Antons Rebguns' |
Definition at line 37 of file set_torque.py.
string set_torque::__copyright__ = 'Copyright (c) 2010-2011 Antons Rebguns' |
Definition at line 38 of file set_torque.py.
string set_torque::__email__ = 'anton@email.arizona.edu' |
Definition at line 42 of file set_torque.py.
string set_torque::__license__ = 'BSD' |
Definition at line 40 of file set_torque.py.
string set_torque::__maintainer__ = 'Antons Rebguns' |
Definition at line 41 of file set_torque.py.
set_torque::baudrate = options.baud |
Definition at line 71 of file set_torque.py.
string set_torque::desc_msg = 'Turns the torque of specified Dynamixel servo motor on or off.' |
Definition at line 55 of file set_torque.py.
tuple set_torque::dxl_io = dynamixel_io.DynamixelIO(port, baudrate) |
Definition at line 76 of file set_torque.py.
string set_torque::epi_msg = 'Example: %s --port=/dev/ttyUSB1 --baud=57600 1 Off' |
Definition at line 56 of file set_torque.py.
string set_torque::help = 'motors of specified controllers are connected to PORT [default: %default]' |
Definition at line 60 of file set_torque.py.
tuple set_torque::motor_id = int(args[1]) |
Definition at line 72 of file set_torque.py.
tuple set_torque::parser = OptionParser(usage=usage_msg, description=desc_msg, epilog=epi_msg) |
Definition at line 58 of file set_torque.py.
set_torque::port = options.port |
Definition at line 70 of file set_torque.py.
set_torque::torque_on = args[2] |
Definition at line 73 of file set_torque.py.
string set_torque::usage_msg = 'Usage: %prog [options] ID [On|Off]' |
Definition at line 54 of file set_torque.py.