Adjust field to be drawn at new 0,0.
Draw the position the camera thinks it is as well.
Change-Id: I2cb346e095bc6887c702e96a42752c57d55f1603
diff --git a/aos/network/www/proxy.ts b/aos/network/www/proxy.ts
index a675340..7bcf575 100644
--- a/aos/network/www/proxy.ts
+++ b/aos/network/www/proxy.ts
@@ -66,6 +66,11 @@
this.configHandlers.add(handler);
}
+ /**
+ * Add a handler for a specific message type. Until we need to handle
+ * different channel names with the same type differently, this is good
+ * enough.
+ */
addHandler(id: string, handler: (data: Uint8Array) => void): void {
this.handlerFuncs.set(id, handler);
}
@@ -183,7 +188,8 @@
}
/**
- * Subscribes to messages.
+ * Subscribes to messages. Only the most recent connect message is in use. Any
+ * channels not specified in the message are implicitely unsubscribed.
* @param a Finished flatbuffer.Builder containing a Connect message to send.
*/
sendConnectMessage(builder: any) {