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

miniME's profile - activity

2013-03-29 09:55:25 -0500 received badge  Famous Question (source)
2013-03-13 04:36:06 -0500 received badge  Notable Question (source)
2013-02-27 16:10:47 -0500 received badge  Self-Learner (source)
2013-02-27 16:10:47 -0500 received badge  Teacher (source)
2013-02-27 16:10:43 -0500 received badge  Student (source)
2013-02-25 02:19:28 -0500 received badge  Supporter (source)
2013-02-24 23:12:46 -0500 received badge  Popular Question (source)
2013-02-24 10:30:17 -0500 answered a question Connect a wiimote

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

  1. Download source from github.com/ros-drivers/joystick_drivers

  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
    make install

  4. start wiimote node: rosrun wiimote wiimote_node.py

2013-02-24 04:02:55 -0500 received badge  Editor (source)
2013-02-24 04:02:33 -0500 asked a question Connect a wiimote

I am trying to get a wiimote connected to my computer. For this I am using the wiimote package (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 (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.