Skip to content

KC-Zhang/rover2017

 
 

Repository files navigation

RSX Rover 2017

  • React frontend
  • Express backend
  • Connection to Arduino

Running the full toolkit

Navigate to the folder where you've installed everything

Installing Front-end
  • $ cd RoverDashboard
  • $ npm install
  • $ npm install -g http-server
  • $ npm install -g webpack
  • $ webpack Compile the front-end
Running Front-end
  • $ cd RoverDashboard
  • $ http-server -p 3000 # runs the frontend
  • Navigate to localhost:3000 in your browser
Installing Server
  • $ npm install
Running Server

In a new window

  • $ cd server
  • $ node main.js # runs the server

Starting Drive

  • 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

Server Command line arguments

  • -h enables help
  • -all-arduinos enables all the arduinos on serial ports. see main.js for how to enable specific systems
  • -v enables verbose debugging

Notes:

  • You can copy example_config.json to config.json if you need to set your own settings. The latter will have a higher priority.

About

2017 rover

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.7%
  • Other 25.4%
  • Python 17.6%
  • CSS 5.8%
  • HTML 0.5%