March 3, 2025
Worked a bit on the aerialometer project today, but it pivoted a bit from the
original goals. Today we were looking at how to visualize the position of a
phone instead of using prerecorded data. This was partly because we weren’t sure
if we trusted the data from the aerialometer, but involved a lot of concepts:
- Set up a monorepo using NPM – now there are two projects in the repo; a
controller app which collects data from the device (a phone) and a display
app which receives data from the controller and visualizes it
- Learned how to use peer.js to connect the two apps together so the data can
be appropriately visualized
- A note for the future: currently, the display app is not using Typescript and
was set up using create-react-app, which is apparently deprecated. It’d be better
to use vite to install react as that’s the latest and greatest. Maybe something
for me to do separately.