- React frontend
- Express backend
- Connection to Arduino
Navigate to the folder where you want to install everything
$ git clone --recursive https://github.com/rsx-utoronto/rover
$ cd rover
$ cd RoverDashboard
$ npm install
$ npm start
- Navigate to localhost:3000 in your browser
In a new window
$ npm install
$ cd server
$ node main.js # runs the server
Can also usenodemon main.js
for hot reloading.
- 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-l
enables the lidar
- Lidar should be installed in the
server/lib
folder: `cd server/lib - Lidar repo can be installed with
git submodule update --init --recursive
- Lidar repo can be updated with
git submodule update --recursive
(haven't tried this yet)
Notes:
- You can copy
example_config.json
toconfig.json
if you need to set your own settings. The latter will have a higher priority.