This is the frontend application for the Autonomous Bike System developed by Group 17 for the ECE Capstone Project at McMaster University. It provides a user-friendly interface for interacting with the autonomous bike, allowing users to set destinations, monitor real-time location, and receive status updates. The frontend communicates with the backend server to send commands and retrieve data, facilitating seamless control and monitoring of the bike. The full report is available here.
- πΊοΈ Interactive Map Interface: Users can set destinations and view the bike's real-time location on an interactive map.
- π Real-Time Updates: Receives live GPS data and status updates from the backend to keep users informed.
- π‘ Command Transmission: Allows users to send navigation commands to the bike through the backend.
- π§ Route Visualization: Displays the calculated route from the current location to the selected destination.
- π± Responsive Design: Optimized for various devices, ensuring accessibility on desktops, tablets, and smartphones.
app/
βββ control/ # Components and pages for manual remote bike control
βββ map/ # Real-time GPS map and location updates
βββ navigation/ # Main navigation route interface and logic
βββ navigation_old/ # Deprecated/legacy navigation logic
βββ error.tsx # Custom error boundary page
βββ layout.tsx # Root layout file for Next.js App Router
βββ page.module.css # Scoped styles for main page
βββ page.tsx # Home page (landing screen)
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.