Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Connect a wiimote

I am trying to get a wiimote connected to my computer. For this I am using the wiimote package (www.ros.org/wiki/wiimote).

Here is what I did:

  1. install package: sudo apt-get install ros-groovy-wiimote

  2. install dependencies: rosdep install wiimote

  3. make: rosmake wiimote

  4. run wiimote_node.py: The first problem is here. The wiimote_node.py script does not exist in the wiimote package. According to this tutorial (www.ros.org/wiki/wiimote/Tutorials/StartingWiimoteNode) you need to execute rosrun wiimote wiimote_node.py. This doesn't work. I found out that the script was installed in /opt/ros/groovy/lib/wiimote/. So I executed it there: python /opt/ros/groovy/lib/wiimote/wiimote_node.py

Executing the wiimote_node.py script results in following error:

python wiimote_node.py Traceback (most recent call last): File "wiimote_node.py", line 87, in <module> from wiimote.msg import IrSourceInfo ImportError: No module named wiimote.msg

Can anybody help me with this problem? I tried the whole day to figure out whats wrong there. But i cant get it to work.

Connect a wiimote

I am trying to get a wiimote connected to my computer. For this I am using the wiimote package (www.ros.org/wiki/wiimoteros.org/wiki/wiimote).

Here is what I did:

  1. install package: sudo apt-get install ros-groovy-wiimote

  2. install dependencies: rosdep install wiimote

  3. make: rosmake wiimote

  4. run wiimote_node.py: The first problem is here. The wiimote_node.py script does not exist in the wiimote package. According to this tutorial (www.ros.org/wiki/wiimote/Tutorials/StartingWiimoteNoderos.org/wiki/wiimote/Tutorials/StartingWiimoteNode) you need to execute rosrun wiimote wiimote_node.py. This doesn't work. I found out that the script was installed in /opt/ros/groovy/lib/wiimote/. So I executed it there: python /opt/ros/groovy/lib/wiimote/wiimote_node.py

Executing the wiimote_node.py script results in following error:

python wiimote_node.py Traceback (most recent call last): File "wiimote_node.py", line 87, in <module> from wiimote.msg import IrSourceInfo ImportError: No module named wiimote.msg

Can anybody help me with this problem? I tried the whole day to figure out whats wrong there. But i cant get it to work.