Beach Cleaning Robot Blog

Solution mode

Date: 2021-02-03
Author: Andrew

Now the UI is working with a basic camera capture we turned to how we were going to solve some technical issues with the front end user interface (UI). Rohan and I met up and discussed a number of topics starting with what services to retire and which to retain.

I'll still need to take some of the code out of the camera service for the information saved when a photo is taken so that we have compatibility with previous datasets and add that into the new camera code.

Another challenge is how we will get the info to the UI. Rohan has suggest we go with redis, setup a pub/sub arrangement where it acts like a message broker and then we get the web server subscribing to topics. That way the service pushes it's info to redis which then publishes it and the UI will pick it up via websockets and display.

We also discussed what other info it would be useful to have such as:

Again most, if not all of these would feed a stream into the redis database which would then go to front end. I'm thinking we will need to start paying attention to the order in which services start loading pretty soon.

Finally we had a quick look at replacement platforms and settled on a inexpensive kit that had a base, wheels and an Arduino plus lots of cables and supporting stuff. I ordered that after the meeting and hopefully will not take to long to get here!

That was it for the Beachbot. Rohan also showed off the cool photo platform to go under a kite he's trying out and he has received the equipment to reprogram the radiosonde we recovered a couple of weekends ago.