A web application which is hosted on the rover. You can connect any device with a web browser to the same network as the rover, then navigate to the Control Portal to control the rover.
On the portal, you will find:
- A live video stream from the rover's cameras ;
- Controls to drive the rover remotely (especially joystick control) ;
- A map located at the rover's position in the world and means to set waypoints to which the rover will navigate autonomously -> Feature to be developped.
In a directory of your choice clone the repository
git clone https://github.com/PolyOrbite-Rover/control-portal.git
Install Node.js if you don't have it already
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
Install the Angular CLI if you don't have it already
npm install -g @angular/cli
Install all project dependencies
cd control-portal/polyorbite-rover-control-portal
npm install
ornpm i
for short
Navigate to where you cloned the repository
cd (...)/control-portal
Start the web server
ng serve
ornpm run start
(npm run start
runsng serve
, it's meant to be a shortcut, but it is longer to write)