Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed MAC address #54

Closed
wants to merge 1 commit into from
Closed

Fixed MAC address #54

wants to merge 1 commit into from

Conversation

LeonBondeLarsen
Copy link

No description provided.

@jbohren
Copy link
Member

jbohren commented Apr 17, 2014

When I tried using this patch without a specified address, the wiimote node failed to get any data, and then gave this error on exit:

^CPipe read error (rw pipe)
Read error (cal)
Traceback (most recent call last):
  File "/home/jbohren/ws/joystick_drivers/src/joystick_drivers/wiimote/nodes/wiimote_node.py", line 808, in <module>
    wiimoteNode.runWiimoteNode()
  File "/home/jbohren/ws/joystick_drivers/src/joystick_drivers/wiimote/nodes/wiimote_node.py", line 113, in runWiimoteNode
    wiimoteDevice = wiimote.WIIMote.WIIMote()
  File "/home/jbohren/ws/joystick_drivers/src/joystick_drivers/wiimote/src/wiimote/WIIMote.py", line 222, in __init__
    (factoryZero, factoryOne) = self.getAccFactoryCalibrationSettings()
  File "/home/jbohren/ws/joystick_drivers/src/joystick_drivers/wiimote/src/wiimote/WIIMote.py", line 678, in getAccFactoryCalibrationSettings
    factoryCalNums = self._wm.get_acc_cal(cwiid.EXT_NONE);
RuntimeError: Error getting wiimote acc calibration

@LeonBondeLarsen
Copy link
Author

I have seen this error a few times myself, but I never looked deeper into it. In my experience it happens only once at start-up and very rare. If the node is re-spawned it does not happen again. Therefore my guess is that it is a buffer overrun somewhere deeper in the system. Although I would like to find and correct this bug, it currently has low priority. If it gives you major problems, let me know and I will try to find the time...

-Leon

@jbohren
Copy link
Member

jbohren commented Jul 3, 2017

Fixed by #107.

@jbohren jbohren closed this Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants