|Line 9:||Line 9:|
Revision as of 15:48, 6 January 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 abreviated (for easier access) and more thorough documentary are included below.
The following page is list of commands that can be sent to your Roomba and a description of how they are used.
This turns Roomba "degrees" degrees in the left direction.
This turns Roomba "degrees" degrees in the right direction.
This updates all sensor data from the roomba. This data is used by various methods, such as bumpLeft().
This returns a boolean indicating whether any of the bump sensors have been triggered.
This returns a boolean indicating whether the left bump sensor has been triggered.
This returns a boolean indicating whether the right bump sensor has been triggered.
This returns a boolean indicating whether the wall sensors detect a wall.