Classes | |
class | DeviceNotDetected |
Functions | |
def | find_device |
def | find_device_robust |
def | get_hidraw |
def | get_js |
def | open_nb |
def | what_moved |
Variables | |
tuple | filename = os.path.join(roslib.packages.get_pkg_dir('teleop_microscribe'), 'devices.yaml') |
dictionary | y |
def configure_devices::find_device | ( | description, | ||
candidates, | ||||
timeout = -1 | ||||
) |
Definition at line 42 of file configure_devices.py.
def configure_devices::find_device_robust | ( | description, | ||
candidates | ||||
) |
Definition at line 76 of file configure_devices.py.
def configure_devices::get_hidraw | ( | ) |
Definition at line 21 of file configure_devices.py.
def configure_devices::get_js | ( | ) |
Definition at line 23 of file configure_devices.py.
def configure_devices::open_nb | ( | name, | ||
mode = 'r' | ||||
) |
Definition at line 16 of file configure_devices.py.
def configure_devices::what_moved | ( | paths, | ||
timeout = 1.0 | ||||
) |
Definition at line 27 of file configure_devices.py.
tuple configure_devices::filename = os.path.join(roslib.packages.get_pkg_dir('teleop_microscribe'), 'devices.yaml') |
Definition at line 98 of file configure_devices.py.
dictionary configure_devices::y |
{ 'l_pedals': {'device': find_device_robust('left transcription pedals', get_hidraw())}, 'r_pedals': {'device': find_device_robust('right transcription pedals', get_hidraw())}, 'l_rudder_pedals': {'dev': find_device_robust('left rudder pedals', get_js())}, 'r_rudder_pedals': {'dev': find_device_robust('right rudder pedals', get_js())}, }
Definition at line 90 of file configure_devices.py.