Sharon’s Status Report for 11/9/24

WORK ACCOMPLISHED:

GPS Location Testing for ‘Return to Me’ Feature:
This week, I focused on refining the GPS location tracking for the ‘Return to Me’ feature, specifically testing the React Native geolocation library to assess its accuracy when integrated into the app. To establish a benchmark, I set the skateboard’s GPS as the ground truth. Through testing, I found that indoor accuracy was less reliable, especially when compared to the hardware data. Using the Apple longitude and latitude APIs revealed limitations in precision, even though they provided more digits in the coordinates. Outdoor testing yielded better results, with an accuracy of approximately 5 meters, and we are considering snapshotting the user’s location for the return feature. I will continue exploring methods to enhance GPS precision and conduct additional tests to ensure reliable navigation.

Bluetooth Backend Server Setup on Raspberry Pi:
In parallel, I worked on establishing a Bluetooth backend server on the Raspberry Pi to enable control from the mobile app. This process encountered several challenges, as many Bluetooth libraries were outdated, and only specific older Node.js versions supported Bluetooth socket functionality effectively. After troubleshooting compatibility issues, I successfully set up the server on the Pi. I also initiated connection testing between the app and Pi, allowing initial button presses on the app to trigger responses from the Pi. This setup aims to facilitate seamless control of the Raspberry Pi via the mobile app, enabling my teammates to shift from terminal-based commands to app-based control as they complete testing on individual components.

PROGRESS:

With enhanced GPS testing and a functional Bluetooth server setup, the app is progressively prepared for full control and navigation capabilities. Testing the React Native geolocation library provided valuable insights into the strengths and limitations of GPS tracking across different environments. The Bluetooth backend setup on the Raspberry Pi also establishes a foundational control link between the mobile app and hardware, simplifying interactions for further integration with the skateboard. These developments create a stable base for expanded real-time functionality and keep us aligned with the project timeline.

NEXT WEEK’S DELIVERABLES:

  • Continue refining the GPS accuracy for the ‘Return to Me’ feature by implementing additional testing strategies to optimize location tracking, including snapshotting techniques.
  • Collaborate with teammates to finalize control mechanisms over Bluetooth, refining button responses and commands on the app to ensure seamless interaction with the skateboard’s components.
  • Begin exploring WebSocket integration for continuous data streaming from the Pi, allowing real-time feedback and control.
  • Test the Bluetooth setup further by connecting more app functionality with Pi feedback, working closely with teammates as they conclude individual testing, aiming for complete app-based control by the end of the week.

Leave a Reply

Your email address will not be published. Required fields are marked *