New WiiMotion Plus pairs but the topic output does not change (Electric and Ubuntu 10.10) [closed]

asked 2012-10-11 11:43:34 -0600

Kel gravatar image

updated 2014-01-28 17:13:55 -0600

ngrennan gravatar image

Hi All,

I have a few of the new WiiMotion Plus (wiimote with built in Motion Plus) and I am trying to use the wiimote package with ROS Electric on Ubuntu 10.10.

So far, everything complies and runs fine, but after the wiimote is paired successfully, the terminal hangs.

So I get this:

kel@wyvern:~$ rosrun wiimote 
Press buttons 1 and 2 together to pair (within 6 seconds).
    (If no blinking lights, press power button for ~3 seconds.)
[INFO] [WallTime: 1349991095.467468] Pairing successful.
[INFO] [WallTime: 1349991095.778693] Checking presence of Nunchuk attachment ...ignore two possibly following error msgs.
[INFO] [WallTime: 1349991096.424111] Wiimote activated.
[INFO] [WallTime: 1349991097.831141] Calibration successful.
[INFO] [WallTime: 1349991097.834870] Wiimote IMU publisher starting (topic /imu/data).
[INFO] [WallTime: 1349991097.838450] Wiimote joystick publisher starting (topic wiijoy).
[INFO] [WallTime: 1349991097.842090] Wiimote state publisher starting (topic /wiimote/state).
[INFO] [WallTime: 1349991097.845175] Wiimote feedback listener starting (topic /joy/set_feedback).
[INFO] [WallTime: 1349991097.847821] Wiimote calibration service starting (topic /imu/calibrate).
[INFO] [WallTime: 1349991097.850338] Wiimote latched is_calibrated publisher starting (topic /imu/is_calibrated).

Upon looking at the broadcasted topic

rosrun wiimote

The command

rostopic list



but with

rostopic echo /wiimote/state

I get the following output which just repeats and does not update:

  seq: 15218
    secs: 1349991257
    nsecs: 428798675
  frame_id: ''
  x: -0.00130943628
  y: 0.0351647001
  z: -0.03612565737
  x: 7997.0
  y: 7972.0
  z: 7957.0
angular_velocity_covariance: [0.00011399123056619373, 0.0, 0.0, 0.0, 0.00067874597259235758, 0.0, 0.0, 0.0, 0.0002800379404909577]
  x: -0.408610416667
  y: 0.0
  z: 9.80665
  x: 126.0
  y: 128.0
  z: 152.0
linear_acceleration_covariance: [0.0, 0.0, 0.0, 0.0, 15.954666742512758, 0.0, 0.0, 0.0, 0.0]
  x: 0.0
  y: 0.0
  z: 0.0
  x: 0.0
  y: 0.0
  z: 0.0
nunchuk_joystick_zeroed: [0.0, 0.0]
nunchuk_joystick_raw: [0.0, 0.0]
buttons: [False, False, False, False, False, False, False, False, False, False, False]
nunchuk_buttons: [False, False]
LEDs: [False, False, False, False]
rumble: False
    x: -1.0
    y: -1.0
    ir_size: -1
    x: -1.0
    y: -1.0
    ir_size: -1
    x: -1.0
    y: -1.0
    ir_size: -1
    x: -1.0
    y: -1.0
    ir_size: -1
raw_battery: 112.0
percent_battery: 53.8461532593
  secs: 1349991097
  nsecs: 830956935
errors: 0

All that changes is the time-stamp and the seq number in the header. Also, I am holding the wiimote within a few feet of the bluetooth dongle so I don't think it is a distance problem.

Let me know if you have any ideas, I think I am pretty close, but any help would be awesome.

Thanks very much :D


edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-08-31 20:53:55.575455


Do the numbers in /joy change at all?

David Lu gravatar image David Lu  ( 2012-10-12 06:23:32 -0600 )edit