Over the past week, our team started integration of the main sections of our project that we have been developing separately. Over the weekend, we were able to start reading and collecting pieces of standard data from the car via the OBDII port. We are able to decipher the raw data and have started parsing it so that it can be placed into the database in the necessary formats. We also started integrating the data collection subsystem with the analysis subsystem by setting up some of the database functionality onto the RaspberryPi. We have been able to create a connection to the database and create a table that test data can be stored in and analyzed by our infraction detection subsystem. We were able to simulate the test data and successfully store it in an SQLite database file on stable storage. One of the concerns described by the instructors was that we may have a hard time keeping track of our data if are in a location with a poor internet connection, but we created functionality that stores our data on an SD card and flushes all unsent data to AWS on the program restart if it was unable to send it prior to the system being powered off at the end of the previous drive.
Samraj’s Status Report for 4/3/21
This week I worked mainly with the team on fixing our issue with the data stream. We were having trouble with the Raspberry Pi Can-bus interface, but we were able to resolve the issue by using an ELM327 cable which removes the need for us to use the CAN bus. Now that we have the data stream, we are working on final steps of integration to get the whole system running. Aside from this, I made more adjustments to the website to prepare for the data that we will be taking in. I used the database structure which we are using for the on-board SQLite database so that it is easy to send and store the data without much translation to be displayed on the website. I am working more on getting the real-time notifications to display for the driver and the system is working, but I plan to continue testing this with the real data we are receiving now to ensure that it works correctly and looks good for the driver without much distraction.