I guess this is going to have to be a weekly thing…
16 Aug
Anita (Arduino, battery connections): Finished connecting all the cables + done with coding
—things to do: learn to read the code (can finish in a day)
—gg lab on this wednesday to clean up the battery connections
Jing Rui (some simple webpage stuff)
—adjusted main title, navi-cam and openbtn to be adjustable to fit viewport size
Emily (hardware)
—correspondence and emails
—body of boat
—filing of metal brackets
17 Aug
Emily (hardware)
—3D prints and cuts for holding aluminum profiles together
REMINDER: CHECK ON CAR BATTERY CONNECTION + CABLES TO BUY
18 Aug
Zheng Xun (software)
—found how to add images (transparent backed) to a button
—set button to be transparent
—add <img> tag inside button,
—put image inside templates folder of flask app
—link it via {{url…}}
—to make an image transparent, save it as png
—resize accordingly
—figured out how to nest inverted commas in javascript
—just standardise the type of inverted commas inside, dont alternate
—eg “<img src= ‘{{url_for(‘static’, filename=’off.png’)}}’ height=’100%’ width=’100%’>”
—button now works 🙂
—added a screenshot button which does take screenshot (ss), but requires user to manually download it as image; presentation needs improvement
References: https://www.geeksforgeeks.org/how-to-take-screenshot-of-a-div-using-javascript/ and https://stackoverflow.com/questions/48471887/how-to-set-size-of-rendered-image
19 Aug
[Physical Meeting]
Antia
—Done connecting most of the cables.
—Done coding arduino
—Done neatening the wires
—things to so: Something wrong with the voltage for solar controller hence need to do some rewiring
Jing Rui & Zheng Xun
—renamed and resized cameras to be adjustable
—preset camera
—finalised screenshot feature
—added borders and resized buttons to be adjustable (except sidebar stuff)
—add bottom and front view labels
Emily
—Checked on 3D print — half failed, half success? Realised that the hole is offset by 5mm because I forgot to account for the thickness…
—Re-do 3D prints
but the top part still fits nicely!
—soldered some wires
(red is before, black is after heat shrinking an insulator)