Robot GUI (MARG)

From Rsewiki
Revision as of 13:13, 12 August 2010 by Jca (Talk | contribs)

Jump to: navigation, search

MARG (Mobile Autonomous Robot GUI) is a java applet intended as a graphical user interface for Mobotware robots.

At present is is used for hardware test for SMR robots, as most of the graphical display and data capture is missing.

Contents

How to use

Start a web browser, and in the adress field type the name of the SMR, e.g.:

smr3

The java applet wil be loaded (if asked, accept to run this applet).

Marg-start.png

Start image when monitoring SMR3

TEST hardware

Three set of sensors can be tested:

* Linesensor, IR-sensor, and wheel control
* camera
* laserscanner

Linesensor, IR-sensor, wheel control

Select RHD module and SMR-tab:

The line-sensor and IR-sensor should now update (once every second).

The wheel control can be tested by moving the slider below the left and right wheel symbol.

Marg-smr.png

Camera

Select the camera module (1) and press the connect button (2) (as shown on image).

This should change the camera button to green. Then type push cmd="imageget" in the field (3)

push cmd="imageget"

Press the send button (4) - or hit return.

A list of data should appear in the raw data field, with one new line every second, something like:

... <push done="true"></push>
-> push cmd="imageget"
<imageget x="0" y="0" w="0" h="0" format="BGR" remRad="false" dev="10" imgTod="1281613399.200692" posName="" pool="0"></imageget>
<imageget x="0" y="0" w="0" h="0" format="BGR" remRad="false" dev="10" imgTod="1281613400.182666" posName="" pool="0"></imageget>
<imageget x="0" y="0" w="0" h="0" format="BGR" remRad="false" dev="10" imgTod="1281613401.164516" posName="" pool="0"></imageget>
<imageget x="0" y="0" w="0" h="0" format="BGR" remRad="false" dev="10" imgTod="1281613402.146366" posName="" pool="0"></imageget>
<imageget x="0" y="0" w="0" h="0" format="BGR" ... 

The image will not be shown (not implemented).

Marg-cam1.png

Laser scanner

Select the laser module (1) and press the connect button (2) (as shown on image).

This should change the laser button to green. Then type push cmd="scanget" in the field (3)

push cmd="scanget"

Press the send button (4) - or hit return.

A list of data should appear in the raw data field, with one new line every second, something like:

Marg-laser1.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox