The AR draggable power-up functionality has now reached a stable state that’s good enough for a version 0.1. Updates to the code made it more modular for multiple markers, for 3 element power ups, and now the power up rectangle that is placed onto the marker knows when it has done so. The power up rectangles only appear when there’s a marker in view. The next step will be to download the libraries that are used and make sure it works with the latest version of everything. After that will be making some new markers, and then merging the code with MQTT. Also, catch-up has to be done for the previous logs… oops. Well, by the time this is posted, the previous 5 are now caught up too.
The device simulator is now generating values and sending through MQTT. The values get displayed and updated live on the AR marker overlay without glitching. A few days ago making elements clickable was figured out. This will be useful when there’s a need for buttons on the AR view. The topic structure was updated as well. The next step will be to make the device send and receive the data. The AR program is not set up for multiple devices or markers just yet. That will be future work as well.
AR markers triggering messages to send to the alternate (secure) MQTT server is working. The preliminary topic structure was chosen, which gives each marker type its own topic, and sends the state when it enters the view, still in the view, and exits the view. Next step is to make sure the device can receive these messages, and have the device send its sensor data – only when the marker is in view (as to not overload this MQTT server (since it isn’t running on our AWS)). As well, next step is sending a marker state heartbeat when it is in view.