Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
marvin:ecp4 [2009/01/29 09:11] – deva | marvin:ecp4 [2009/01/29 09:24] – deva |
---|
</code> | </code> |
===The BTControl class=== | ===The BTControl class=== |
The thread handles BlueTooth communication in order to control Marvin with a remote control. The arrow keys on the computer is used instead of a remote. This class will be covered in detail in the next lab report. | The thread handles Bluetooth communication in order to control Marvin with a remote control. The arrow keys on the computer is used instead of a remote. This class will be covered in detail in the next lab report. |
| |
| |
The full source code for these classes can be found in the files ''Behavior.java'', ''RandomDrive.java'' and ''AvoidWall.java'' in the Marvin code tarball (([[http://wiki.aasimon.org/lib/exe/fetch.php?media=marvin:marvin-1.0.tar.gz|marvin-1.0.tar.gz]])) | The full source code for these classes can be found in the files ''Behavior.java'', ''RandomDrive.java'' and ''AvoidWall.java'' in the Marvin code tarball (([[http://wiki.aasimon.org/lib/exe/fetch.php?media=marvin:marvin-1.0.tar.gz|marvin-1.0.tar.gz]])) |