Client Server Connection; Demo Startup Options - Omron AmigoBot User Manual

Educational research robot for classrooms
Table of Contents

Advertisement

Client Server Connection

First, please note well that you cannot connect with and control your AmigoBot through its
controller directly from a remote client over the network without special hardware (new radio
Ethernet-to-serial device).
If you are using radio modems or the new Low-Speed Ethernet-to-serial device to communicate
wirelessly from a desktop PC to the robot controller, now is a good time to power the units.
Windows users may select the ARIA demo from the Start menu, in the ActivMedia Robotics
program group. Otherwise, start if from the ARIA bin\ directory.
Linux users will find the compiled demo in /usr/local/Aria/bin/ or in examples/. Start it:
%s ./demo

Demo Startup Options

By default, the ARIA demo program connects with the robot through the serial port COM1 under
Windows or /dev/ttyS0 under Linux. To change those connection options, either modify the
ARIA source code (examples/demo.cpp and related files in src/) and recompile the demo
application, or use a startup argument on the command line. See Table 1.
--remoteHost <Host Name or IP>
--robotPort <Serial Port>
--remoteRobotTcpPort <Number>
--laserPort <Serial Port>
--remoteLaserTcpPort <Number>
For example, from the Windows Start:Run dialog, choose Browse.. and select the ARIA demo
program: C:\Program Files\ActivMedia Robotics\ARIA\bin\demo.exe. Then, type a
command line argument at the end of the text in the Run dialog as described in Table 1. To
connect through the new Ethernet-to-serial radio device over the wireless network, for example,
try the command:
C:\Program Files\ActivMedia Robotics\ARIA\bin\demo.exe --remoteHost 192.168.100.32
Table 1. ARIA demo command line arguments
Connect with robot through a remote
host over the network instead of a
serial
hardware
mediation.
Connect with robot through specified
serial port name; COM3, for example.
Remote TCP host-to-robot connection
port number; default is 8080.
Connect with laser rangefinder
through the specified serial port
name; /dev/ttyS3, for example.
Remote TCP host-to-laser connection
port number; default is 8081.
port;
requires
or
IPTHRU
special
software
11

Advertisement

Table of Contents
loading

Table of Contents