- React frontend
- Express backend
- Connection to Arduino
Navigate to the folder where you've installed everything
$ cd RoverDashboard
$ npm install
$ npm install -g http-server
$ npm install -g webpack
$ webpack
Compile the front-end
$ cd RoverDashboard
$ http-server -p 3000 # runs the frontend
- Navigate to localhost:3000 in your browser
$ npm install
In a new window
$ cd server
$ node main.js # runs the server
- Connect computer to the router
- Run the front-end and server.
- Click on the gear
- Hit connect for the drive arduino
- Select drive for the relevant joystick
-h
enables help-all-arduinos
enables all the arduinos on serial ports. seemain.js
for how to enable specific systems-v
enables verbose debugging
Notes:
- You can copy
example_config.json
toconfig.json
if you need to set your own settings. The latter will have a higher priority.