Author: ks156
Date: 2009-01-15 08:55:35 +0100 (Thu, 15 Jan 2009)
New Revision: 3453
Modified:
software_suite_v2/software/tools/tuxController/trunk/src/GUI/control/controlTux.java
Log:
* Fixed the spinning direction. The direction was inverted to exploit a bug in
the driver. But now, this bug will be fixed.
Modified:
software_suite_v2/software/tools/tuxController/trunk/src/GUI/control/controlTux.java
===================================================================
---
software_suite_v2/software/tools/tuxController/trunk/src/GUI/control/controlTux.java
2009-01-14 23:08:59 UTC (rev 3452)
+++
software_suite_v2/software/tools/tuxController/trunk/src/GUI/control/controlTux.java
2009-01-15 07:55:35 UTC (rev 3453)
@@ -252,9 +252,9 @@
return;
}
if (dir.equalsIgnoreCase(TuxAPIConst.SSV_RIGHT))
+ tux.spinning.rightOnAsync(0.25);
+ else
tux.spinning.leftOnAsync(0.25);
- else
- tux.spinning.rightOnAsync(0.25);
}
/**
@@ -272,9 +272,9 @@
}
if (dir.equalsIgnoreCase(TuxAPIConst.SSV_RIGHT))
- tux.spinning.leftOnAsync(val / 4, speed);
+ tux.spinning.rightOnAsync(val / 4, speed);
else
- tux.spinning.rightOnAsync(val / 4, speed);
+ tux.spinning.leftOnAsync(val / 4, speed);
}
/**
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn