Controls Delcom USB indicator light with the status of Test Manager.
- Author: Kevin Watts
- License: BSD
- Source: svn https://code.ros.org/svn/wg-ros-pkg/stacks/wg_hardware_test/trunk
This tool does not work in Ubuntu 10.10 (Maverick) because libhid0 and/or libhid-dev are not available.
Running Light Driver
To run the light driver:
roscd wgtest_status_indicator sudo bash export ROS_MASTER_URI=http://wgburn1:11311 bin/wgtest_indicator
Note: You don't have to set the ROS_MASTER_URI if you're running on the same machine as Test Manager.
The driver is persistent, and will still operate if Test Manager goes down. Notice how the driver needs to be run as root.
Turning on the Light Manually
The utility delcom_usb_light can enable or disable the USB light manually.
$ bin/delcom_usb_light -h Usage: bin/delcom_usb_light [ --orange | --red | --green | --off | --get ]
It also must be run as root.