ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
jarvis is correct, the API changed from Electric to Fuerte.
In Electric, the WiiMote had its own API. In Fuerte, this was changed over to use the common API with the PS3 joy node: http://ros.org/doc/api/sensor_msgs/html/msg/JoyFeedbackArray.html
For an example of how to use the common API, see here: http://ros.org/doc/fuerte/api/wiimote/html/feedbackTester_8py_source.html
Just note that the WiiMote only has on/off for each element, so values >= 0.5 are 'ON' while values < 0.5 are 'OFF'. That script is essentially a unit test to ensure that "analog" inputs are rounded to the correct binary outputs.