ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

wiimote WallTime problem

asked 2011-03-29 22:25:04 -0500

chcorbato gravatar image

updated 2011-03-30 21:35:37 -0500


I'm not capable of running the by using a very simple launch file:

 <!-- joy node -->
   <node respawn="true" pkg="wiimote"  type="" name="wii" output="screen"/>

I get the following error:

process[turtle_wii-1]: started with pid [8703]
Press buttons 1 and 2 together to pair (within 6 seconds).
    (If no blinking lights, press power button for ~3 seconds.)
No Bluetooth interface found
[FATAL] [WallTime: 1301480233.413341] No Wiimote found to pair with.
Traceback (most recent call last):
  File "/opt/ros/diamondback/stacks/joystick_drivers/wiimote/nodes/", line 1201, in <module>
    rospy.rospy.loginfo("Exiting Wiimote node.")
AttributeError: 'module' object has no attribute 'rospy'
[turtle_wii-1] process has died [pid 8703, exit code 1].

However it works when doing:

$ rosrun wiimote

It looks like an issue with the rospy WallTime

edit retag flag offensive close merge delete


Could you post the smallest launch file that produces this error?
Eric Perko gravatar image Eric Perko  ( 2011-03-30 07:52:29 -0500 )edit
I forgot it, thank you, I have updated the question.
chcorbato gravatar image chcorbato  ( 2011-03-30 21:36:07 -0500 )edit
it looks like it's a bug let me look at the code.. .it looks like it's calling the method rospy.rospy.loginfo which isn't valid. I'll check it out and most likely put out a minor release update.
mmwise gravatar image mmwise  ( 2011-03-31 06:54:19 -0500 )edit
okay the I fixed the AttributeError but that is unrelated to the pairing.. your launch file should work I just tested it with a wiimote and everything seems to be working. I'll push out a minor release update today for joystick drivers.
mmwise gravatar image mmwise  ( 2011-03-31 07:06:18 -0500 )edit
here is the ticket I opened for myself:
mmwise gravatar image mmwise  ( 2011-03-31 07:14:53 -0500 )edit
Thank you very much for solving this so fast!
chcorbato gravatar image chcorbato  ( 2011-04-01 00:41:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-04-01 00:41:25 -0500

chcorbato gravatar image

updated 2011-04-01 13:28:20 -0500

tfoote gravatar image
edit flag offensive delete link more

Question Tools


Asked: 2011-03-29 22:25:04 -0500

Seen: 388 times

Last updated: Apr 01 '11