WORK ACCOMPLISHED:
Latency Testing for Mobile App Commands: This week, I focused on evaluating the latency between the mobile app and skateboard functionality. Using tools like the NRF Connect app and custom testing scripts, I measured execution times for commands sent to the skateboard. Each command consistently achieved a latency of under 100ms, meeting performance goals. I automated this process by running a script that called commands 100 times, ensuring the system’s responsiveness and reliability under continuous use.
Unit Testing for the App: I implemented unit tests for the mobile app to validate individual components and functions. These tests focused on core features such as command handling, GPS data integration, and stats reporting. By simulating app interactions, I ensured that the app behaves as expected under various scenarios. This foundational testing step provides confidence in the stability of the app as we move into more complex integrations and system testing.
Streaming GPS Coordinates: I refined the GPS data streaming functionality, enabling real-time updates of skateboard coordinates. The improved implementation now streams accurate location data seamlessly, even when transitioning to new data sources such as the RTK GPS module. These updates ensure the ‘Return to Me’ feature is well-equipped for precise navigation.
Frontend Refinements for ‘Return to Me’ Feature: I enhanced the flow and UI for the ‘Return to Me’ feature, now utilizing two points for more accurate route planning (current location and return destination). While this update improves clarity and functionality, additional tests are needed to determine the maximum operational range. Collaboration with the team on range testing has begun to collect this critical data.
Enhanced Stats Reporting: I expanded the app’s stats tracking capabilities to include metrics such as top speed and total miles traveled. These additions enhance the user’s ability to monitor and assess skateboard performance over time, providing valuable insights into its usage.
PROGRESS:
The project is progressing well, with significant accomplishments in performance testing, app functionality, and collaborative testing efforts. The addition of unit tests has improved the app’s reliability, while there will be more ongoing tests for the coming week for the end to end system.
NEXT WEEK’S DELIVERABLES:
- Focus on improving the user interface for the ‘Return to Me’ feature, such as adding visual feedback for range limits and refining the map display for better usability.
- Extend unit tests to cover error handling and edge cases and stress testing.
- Finish the other testing parts of our use-case requirements.
- Integrate RTK GPS data for improved accuracy in location tracking.