CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
No files are attached
wrote Jun 25, 2008 at 12:34 AM
mWiimoteState.AccelState.X = (float)((float)mWiimoteState.AccelState.RawX - mWiimoteState.AccelCalibrationInfo.X0) /
((float)mWiimoteState.AccelCalibrationInfo.XG - mWiimoteState.AccelCalibrationInfo.X0);
When parsing the accel state this code returns infinity. This happens when mWiimoteState.AccelCalibrationInfo.XG =mWiimoteState.AccelCalibrationInfo.X0, initially both are also Zero.
wrote Feb 21, 2013 at 10:55 PM
Sign in to add a comment or to set email notifications
Keyboard shortcuts are available for this page.