Difference: ACMECommandLine (2 vs. 3)

Revision 32005-12-16 - WolfgangHeidrich

Line: 1 to 1
 
META TOPICPARENT name="ActiveMeasurementFacility"

Moving the Gantry, Stages, and Robots

Added:
>
>

Local Commands on =kiewa

  To move that gantry and stages, you can use the move command, which takes the name of the device to be moved, followed by a set of joint coordinates.
Line: 11 to 13
  % move linear to 450
Changed:
<
<
The move command is only available on kiewa, and it takes the general form
>
>
The move command is only available on kiewa (see below on how to remote-control ACME), and it takes the general form
 
    % move [<robotname>] (to|by) <list of joint values>
Line: 55 to 57
 and type 'show' after the prompt.
Added:
>
>

Remote Control from any Machine

In many cases it is necessary to control ACME remotely, for example, when also controlling cameras that are not attached to kiewa. To do this, we have client/server Perl scripts. The client is called acmemove, and it takes the same arguments as the move command on kiewa. The server (or daemon), is called moved, and needs to be started on kiewa. The client can be either a UNIX (e.g. Linux or Solaris), Mac, or Windows machine. In the case of Windows, the scripts should be run from Cygwin.

The two programs talk over port 4711. This, however, presents a bit of a problem, because kiewa is behind a firewall. Therefore, it is necessary to create an ssh tunnel from the remote control machine to kiewa. The necessary steps are then:

  1. Create ssh tunnel:
    1. Linux/Solaris/Mac: ssh -L4711:kiewa:4711 kiewa.cs.ubc.ca
    2. Windows: in SecureCRT, create a new connection. Enter kiewa as the server, and then click on the advanced options for that connection. You should see a entitled "port forwarding". Add port 4711 as both the local and the remote port for this connection.
  2. Run moved on kiewa to start the server. Log messages will be output to the terminal.
  3. Run acmemove with the appropriate parameters (described above for the move command) on the remote host to control ACME.
  -- WolfgangHeidrich - 24 Nov 2005
Added:
>
>
META FILEATTACHMENT attr="" comment="" date="1134703355" name="acmemove" path="acmemove" size="858" user="heidrich" version="1.1"
META FILEATTACHMENT attr="" comment="" date="1134703412" name="moved" path="moved" size="1396" user="heidrich" version="1.1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback