Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mission_base_station [2015/07/09 00:24]
sam [Setup (Ubuntu 12.04 LTS)]
mission_base_station [2016/05/22 14:06] (current)
sam
Line 1: Line 1:
-====== Mission Base Station ====== +this page has moved to [[orb:basestation|orb:basestation]]
- +
-Octanis communicates via two way Iridium, VHF and Bluetooth. All data received from the rover is sent to what we'll call "​Mission Base Station"​. This is a service running on a cloud server accepting structured data via REST API. Since this interface is standardised and centralised,​ it can be used for various other purposes like monitoring displays, phone apps and web apps. +
- +
-===== Architecture ===== +
- +
-  * Node.js/​Express/​Mongodb providing the API and data persistance +
-  * Frontendsoctanis.org/​mc , octanis 1 app +
-  * Ingestion via RockBlock API or custom API methods +
- ===== API ===== +
-^ Type     ^ Resource ​  ^ Comment ​                                           ​Data Fields ​                                                                                                                                                                                                       | +
-| GET/​PUT ​ | heartbeat ​ | all sensor data (full, no data limit) ​             | temp_in, temp_out, pres_in, pres_out, batt_v, batt_i, sol_v, sol_i, mot1_rpm, mot2_rpm, mot3_rpm, mot4_rpm, strut1_pos, strut2_pos, strut3_pos, strut4_pos, iridium_lat,​ iridium_lon,​ iridium_accuracy,​ timestamp ​ | +
-| GET/​PUT ​ | map        | current obstacles, current location, path planned ​ |                                                                                                                                                                                                                    | +
-| GET/​PUT ​ | image      | current image taken                                |                                                                                                                                                                                                                    | +
-| GET/​PUT ​ | payload ​   | payload specific data                              |                                                                                                                                                                                                                    | +
-==== Setup  (Ubuntu 12.04 LTS)==== +
-  - sudo apt-get install nodejs +
-  - sudo apt-get install npm +
-  - sudo apt-get install mongodb +
-  - sudo ln -s /​usr/​bin/​nodejs /​usr/​bin/​node ​ (ATTENTION!) +
-  - sudo npm install express -g +
-  - sudo npm install express-generator -g +
-  - git clone https://​github.com/​Octanis1/​Octanis1-Mission-Base-Station.git +
-  - cd Octanis1-Mission-Base-Station +
-  - sudo npm install +
-  - Run the app: DEBUG=Octanis1-Mission-Base-Station npm start +
- +
- +
- ===== Links ===== +
-Rockblock API docs: http://​www.rock7mobile.com/​downloads/​RockBLOCK-Web-Services-User-Guide.pdf +
- +
-Online octanis 1 status board (IN DEVELOPMENT):​ http://​octanis.org/​mc+