Sends an URBI string and display messages from the server This functions performs the same job as urbiSend, but displays the messages returned by the server. It should be used mostly in an interactive manner, and not in scripts, as messages are lost for processing e.g. urbiInteract(con, 'headPan.val');
0001 function urbiInteract(con, command) 0002 % Sends an URBI string and display messages from the server 0003 % This functions performs the same job as urbiSend, but displays the 0004 % messages returned by the server. It should be used mostly in an 0005 % interactive manner, and not in scripts, as messages are lost for 0006 % processing 0007 % e.g. urbiInteract(con, 'headPan.val'); 0008 0009 pnet(con, 'printf', '%s', command); 0010 pause(.3); 0011 urbiClearConnection(con);