Interfaces for controlling robots
The Java package org.jabotics.robot.en provides documented public interfaces and implementation classes for the creation of robot programs that can be executed on different robot hardware and within the Jabotics simulation tool. Apart from this English API there is a corresponding German API available (see German page). This page will give first hints for the usage of these interfaces and their documentation as well as for the creation of modified APIs by advanced users (e.g. to support further languages).
- Details
Read more: Controlling robots with the Java package org.jabotics.robot.en
Templates for robot classes
Jabotics provides two class templates templates/en/Robot.tmpl and templates/en/Robot2.tmpl for the BlueJ IDE that can be found in the Jabotics installation directory. The first template has been designed for beginners, whereas the second template is aimed at more advanced users. In both cases the robot program is represented by a single class derived from org.jabotics.robot.en.XRobot. The robot class thereby gets access to the object factory, necessary to create the required control objects, and a number of constants that help to reduce the typing effort in method calls. Excerpts from the templates will be used to explain basic issues. Of course, the templates can be adapted to one's own requirements.
- Details
Read more: Robot class templates based on org.jabotics.robot.en
Interface for console programs
Before dealing with robot programs, it might be helpful for real beginners to introduce the required Java essentials in the context of even simpler examples. One option is to do this by means of console applications based on the package org.jabotics.console.en and the class template templates/en/Console.tmpl (to be found within the Jabotics installation directory). The Java package, its documentation (start page docs/console-en/index.html) and the class template have been designed to anticipate the workflow with robot classes.
- Details
Read more: Simple console programs based on org.jabotics.console.en