Ejemplo n.º 1
0
 public void Initialize(String ipaddress, IROSBridgeController parentwindow)
 {
     Console.WriteLine(current_velocity);
     try
     {
         ws            = new WebSocket(ipaddress);
         subject       = parentwindow;
         ws.OnMessage += UpdateOnReceive;
         Console.Out.WriteLine("Initialized RosBridgeLogic component");
         connected = false;
     }
     catch (Exception se)
     {
         throw se;
     }
 }
Ejemplo n.º 2
0
 public void setSubject(IROSBridgeController _subject)
 {
     this.subject = _subject;
 }