urbiSend

PURPOSE ^

Sends an URBI string using the connection con

SYNOPSIS ^

function urbiSend(con, command)

DESCRIPTION ^

 Sends an URBI string using the connection con
 This function sends a string to the URBI server. No process is made of
 the server responses. If you want a display of the messages from the
 server, use urbiInteract.
 e.g. urbiSend(con, 'whenever (camera.ballx != 1) { modeB = 1};');

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function urbiSend(con, command)
0002 % Sends an URBI string using the connection con
0003 % This function sends a string to the URBI server. No process is made of
0004 % the server responses. If you want a display of the messages from the
0005 % server, use urbiInteract.
0006 % e.g. urbiSend(con, 'whenever (camera.ballx != 1) { modeB = 1};');
0007 
0008 
0009 if (nargin ~=2)
0010     error('urbiSend(con, command)\n con :connection to the urbi server\n command : command string to be sent to URBI',1);
0011 end
0012 
0013 pnet(con, 'printf', '%s', command);
0014

Generated on Tue 20-Dec-2005 19:05:34 by m2html © 2003