From: <bla...@us...> - 2009-09-04 19:56:51
|
Revision: 23857 http://personalrobots.svn.sourceforge.net/personalrobots/?rev=23857&view=rev Author: blaisegassend Date: 2009-09-04 19:56:44 +0000 (Fri, 04 Sep 2009) Log Message: ----------- Added bluez as sysdep and made error message clearer. Modified Paths: -------------- pkg/trunk/stacks/joystick_drivers/ps3joy/manifest.xml pkg/trunk/stacks/joystick_drivers/ps3joy/ps3joy.py Modified: pkg/trunk/stacks/joystick_drivers/ps3joy/manifest.xml =================================================================== --- pkg/trunk/stacks/joystick_drivers/ps3joy/manifest.xml 2009-09-04 19:54:50 UTC (rev 23856) +++ pkg/trunk/stacks/joystick_drivers/ps3joy/manifest.xml 2009-09-04 19:56:44 UTC (rev 23857) @@ -15,6 +15,7 @@ <url>http://www.ros.org/wiki/ps3joy</url> <rosdep name="libusb"/> <rosdep name="joystick"/> + <rosdep name="bluez"/> <rosdep name="python-bluez"/> </package> Modified: pkg/trunk/stacks/joystick_drivers/ps3joy/ps3joy.py =================================================================== --- pkg/trunk/stacks/joystick_drivers/ps3joy/ps3joy.py 2009-09-04 19:54:50 UTC (rev 23856) +++ pkg/trunk/stacks/joystick_drivers/ps3joy/ps3joy.py 2009-09-04 19:56:44 UTC (rev 23857) @@ -199,7 +199,7 @@ quit(1) os.system("/etc/init.d/bluetooth stop > /dev/null 2>&1") while os.system("hciconfig hci0 > /dev/null 2>&1") != 0: - print >> sys.stderr, "No bluetooth device found. Will retry in 5 seconds." + print >> sys.stderr, "No bluetooth dongle found. Will retry in 5 seconds." time.sleep(5) os.system("hciconfig hci0 up > /dev/null 2>&1") os.system("hciconfig hci0 pscan > /dev/null 2>&1") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |