Nasa Vehicle Interface
This project is a simple Express-based server that serves an HTML interface for controlling a space vehicle. It includes routes for displaying JSON data, performing actions (like moving the vehicle or turning on/off sensors), and interacting with the space vehicle through an HTML form.
Features
- Displaying JSON data (e.g., battery percentage, temperature, and found resources)
- Processing commands to control a space vehicle (move forward, backward, turn left/right, sensor control, etc.)
- Using random data for sensor values (e.g., temperature, humidity)
- API routes to fetch data and send commands to the vehicle
Project Setup
Requirements
- Node.js (v14 or higher)
- npm (Node Package Manager)
Install Dependencies
- Clone the repository:
git clone https://github.com/yourusername/nasa-vehicle-interface.git