Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

bluerobotics/SolarSurferCommander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE: This project is no longer maintained.

Blue Robotics has chosen to retire this project, it is no longer maintained or supported. Bug reports and feature requests are no longer accepted. The repository has been archived and made read-only. The source is still available and can be forked, but this project may be permanently removed from GitHub in the future. For questions and further information, check out the Blue Robotics discussion forums and Gitter channel.

SolarSurferCommander

Navigation planner and command builder for the SolarSurfer project.

Screenshot

Overview

This script is used to estimate the total travel profile of the SolarSurfer. While written in JavaScript, this package isn't normally hosted anywhere, so you'll have to download and run it yourself to see it.

The bulk of the planning calculations takes place in app/scripts/SolarSurferPlanner.js. The planner uses these packages:

Usage

Clone the repo, install the code, and start the server like this:

git clone https://github.com/bluerobotics/SolarSurferCommander.git
cd SolarSurferCommander
npm install
npm start

The planner should now be available at http://localhost:4444/. The planner prints out most of useful information to the JavaScript console, so open that up to interact with the planner.

You can also push the website to a static content host with:

npm install
npm run-script build
npm run-script upload

Change History

This project uses semantic versioning.

v0.2.4 - 2014/10/future

  • Can now command through the GUI
  • Utilize new GPS time to clean up derived data (tlm >= version 2)
  • Lots of bug fixes

v0.2.3 - 2014/10/09

  • Can now configure vehicles and missions
  • Can now select a different mission to view in the GUI
  • Updated mission planner for Monterey / California coastline trip

v0.2.2 - 2014/09/30

  • Converted graph timestamps to the browser's local timezone
  • Added velocity calculations to the power graph

v0.2.1 - 2014/08/09

  • Refactored "current mission" page into separate pages for better iOS use
  • Added apple-touch-icon for better "add to home screen" experience on iOS
  • Live-updating telemetry
  • Map
    • Added individual markers for each telemetry message (black markers)
    • Added a marker for the latest position (red marker)
    • Added a marker for the user's current position (green marker)
    • Fixed direction of arrows on SolarSurfer path
  • Graph
    • Enabled x-zooming
    • Fixed timestamps
    • Added voltage plots

v0.2.0 - 2014/08/08

  • Refactored from SolarSurferPlanner to SolarSurferCommander
  • Used for the Santa Monica Canyon Test Day 1

v0.1.0 - 2014/06/25

  • Initial release

Todo

  • TODO: Relocated shared components to SolarSurferAngularComponents
  • marker pop-up with date, gps coords, speed, current waypoint #
  • build-your-own graphs / plots
  • overlay planned waypoints by parsing command messages
  • create a solar energy calculator from the ITACA equations and overlay maximum solar energy / time
    • create this as a separate repository for browser and node
  • auto select a position on the map when click a point in a graph
  • Use HTML5 localstorage to speed up subsequent data access
  • brunch doesn't copy .htaccess to _public