Skip to content

Latest commit

Β 

History

History
45 lines (34 loc) Β· 2.27 KB

File metadata and controls

45 lines (34 loc) Β· 2.27 KB

🚲 Auto-Bike Frontend

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.

🌟 Features

  • πŸ—ΊοΈ 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.

πŸ“ Project Structure

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)

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open 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.