RoombaComm
From GICLWiki
(Difference between revisions)
| (4 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Roomba Design Lab (Winter 2007)]] | [[Category:Roomba Design Lab (Winter 2007)]] | ||
| + | RoombaComm is a Java library created by Tod E. Kurt that allows users to communicate with Roomba through a high-level language (Java). This library is already included in the issued Processing package. The documentary of commands provided in this library are officially available at http://todbot.com/roomba/roombacomm/javadoc/<!--but a more abbreviated (for more concise coverage) list of commands will be available --> | ||
| + | <!-- | ||
RoombaComm is a Java library created by Tod E. Kurt that allows users to communicate with Roomba through a high-level language (Java). This library is already included in the issued Processing package. The documentary of commands provided in this library are officially available at http://todbot.com/roomba/roombacomm/javadoc/, but a more abreviated (for easier access) and more thorough documentary are included below. | RoombaComm is a Java library created by Tod E. Kurt that allows users to communicate with Roomba through a high-level language (Java). This library is already included in the issued Processing package. The documentary of commands provided in this library are officially available at http://todbot.com/roomba/roombacomm/javadoc/, but a more abreviated (for easier access) and more thorough documentary are included below. | ||
| Line 9: | Line 11: | ||
==spinLeft()== | ==spinLeft()== | ||
| − | + | This turns Roomba "degrees" degrees in the left direction. | |
| − | ==spinRight()== | + | ==spinRight(float "degrees")== |
| + | This turns Roomba "degrees" degrees in the right direction. | ||
==updateSensors()== | ==updateSensors()== | ||
| + | This updates all sensor data from the roomba. This data is used by various methods, such as bumpLeft(). | ||
==playNote()== | ==playNote()== | ||
| + | ==bump()== | ||
| + | This returns a boolean indicating whether any of the bump sensors have been triggered. | ||
==bumpLeft()== | ==bumpLeft()== | ||
| + | This returns a boolean indicating whether the left bump sensor has been triggered. | ||
==bumpRight()== | ==bumpRight()== | ||
| + | This returns a boolean indicating whether the right bump sensor has been triggered. | ||
==wall()== | ==wall()== | ||
| + | This returns a boolean indicating whether the wall sensors detect a wall. | ||
| + | --> | ||
Latest revision as of 11:04, 5 February 2007
RoombaComm is a Java library created by Tod E. Kurt that allows users to communicate with Roomba through a high-level language (Java). This library is already included in the issued Processing package. The documentary of commands provided in this library are officially available at http://todbot.com/roomba/roombacomm/javadoc/