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

Connect a wiimote

asked 2013-02-24 04:02:33 -0500

miniME gravatar image

updated 2013-02-24 04:02:55 -0500

I am trying to get a wiimote connected to my computer. For this I am using the wiimote package (

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 The first problem is here. The script does not exist in the wiimote package. According to this tutorial ( you need to execute rosrun wiimote 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/

Executing the script results in following error:

python Traceback (most recent call last): File "", 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.

edit retag flag offensive close merge delete


I think this is a bug in the catkin build / installation, I created a ticket here and I'll look into it. Thanks!

jbohren gravatar image jbohren  ( 2013-02-24 11:44:02 -0500 )edit

Fix has been committed and will appear in ros-groovy-wiimote 1.9.9

jbohren gravatar image jbohren  ( 2013-03-13 16:37:49 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-24 10:30:17 -0500

miniME gravatar image

Solved the problem by downloading/building/installing the source:

  1. Download source from

  2. unzip wiimote folder into /opt/ros/groovy/share/wiimote

  3. build and install:

    cd /opt/ros/groovy/share/wiimote
    mkdir build
    cd build
    cmake ../
    make install

  4. start wiimote node: rosrun wiimote

edit flag offensive delete link more

Question Tools


Asked: 2013-02-24 04:02:33 -0500

Seen: 855 times

Last updated: Feb 24 '13