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

Problem wiimote LED- and vibration-feedback

asked 2012-11-26 01:07:47 -0500

E_Geerts gravatar image

In fuerte the wii's LED and vibration work perfectly, but if I test it on electric, it doesn't work. Any idea what the problem could be and how to fix it?

edit retag flag offensive close merge delete

Comments

Do you possibly mean that it worked in Electric, but not in Fuerte? If you compare the electric message api and the fuerte message api.....

jarvisschultz gravatar image jarvisschultz  ( 2012-11-26 03:17:18 -0500 )edit

.... you'll notice the LEDControl and RumbleControl message definitions disappeared in Fuerte. I'm not sure why, but they did

jarvisschultz gravatar image jarvisschultz  ( 2012-11-26 03:20:11 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-11-26 06:50:34 -0500

Chad Rockey gravatar image

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.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-26 01:07:47 -0500

Seen: 421 times

Last updated: Nov 26 '12