Back to projects
// Oct 2019 – Jun 2020
Tortuga Race: "Never lose sight of the fleet"
// Carried out during my studies at Grenoble INP - EsisarA project for the Applications réparties et sécurisées course (distributed and secure applications), over most of the final year at Esisar. The subject was free, with technical constraints: a sensor board (STM32 IoT Node), a hub on a Raspberry Pi and a Java EE application (a single WAR on WildFly, JSF pages, PicketLink accounts with several roles). We chose to track sailing races: each boat carries a board whose measurements are shown live on a web map. In a team of four with a project lead, I was the acting tech lead: technical decisions, data model (UML), Git workflow and branch merges, and the data chain end to end (board-side serial interface, hub, REST API, map component and web interface).
Java EEWildFlyJSFBootsFacesPicketLinkHibernateH2RESTJUnitArquillianPythonRaspberry PiSTM32NFC
// Impact: Presented to a jury and tested with the real hardware (the GPS position was simulated, as there was no GPS chip): the best grade of the year group, 18/20.
- →No mapping library could display our data: a dedicated JSF component to place the crews on the map
- →No GPS chip: the hub simulated the position from the board's orientation
- →Integrating the work of four people on personal rather than feature branches: I handled the merges
- →A data model that had to evolve during development, on points not explored enough at first
- ✓On-board card (STM32): position, angle of heel, point of sail, heading, temperature, humidity and an SOS button, with compass calibration at startup
- ✓Card registration over the serial link: on the hub's request, the card sends its serial number and version, then its measurements every 10 seconds (and immediately on SOS)
- ✓Python hub on a Raspberry Pi: detects the cards on the serial ports at startup, registers them, then forwards to the server the data of the cards paired with a crew
- ✓Pairing a card with a crew over NFC: the card's tag opens the pairing page on a phone
- ✓REST API that receives and exposes the data, used by the interface to refresh live without reloading the page
- ✓Live map of the crews (a dedicated JSF component) and a web interface in BootsFaces, JavaScript and CSS
- ✓Management of races, crews and cards (create, edit, delete), with spectator, participant (same rights as a spectator), organiser and administrator roles (PicketLink)
- ✓H2 database through Hibernate, JUnit and Arquillian tests, and API tests by injecting mock data
- ✓Approach: design thinking to define the needs, an iterative V-cycle by versions, and git-flow