> Next Reference
< Previous Usage

5.3.2 GUI

Once the Level 2 library is basically configured, the GUI should just run straight out of the box; type

guile-gnome-2 level-2-gui.scm
The Level 2 GUI

at the terminal command-line, and the GUI will appear. Use the sliders to play around with the positions of the robot’s axes. Before you do any more work with the robot, be sure to close the GUI down so that the robot will return to the park position.

You will notice that this GUI has no provision for entering the serial port device to which the robot is connected. Now that the Level 1 interface has been used to establish correct functioning of the robot, it is expected that such parameters will have been written into the Level 2 API, and then we can forget about them.

All this is said with the implicit assumption that exactly one robot is in use, and it looks somewhat similar to mine. Truth is that the GUIs supplied with these APIs are only suitable for controlling one robot arm; if you have more then you will have to find alternative ways of manipulating them. But that’s why you have more than one arm in the first place, right?

> Next Reference
< Previous Usage
Copyright © 2010, 2012 DM Bespoke Computer Solutions Ltd
All rights reserved