Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
277 commits
Select commit Hold shift + click to select a range
b8a04c8
make hot reloadable; add ipc setup to App.js; allow Board objects to …
andycate Apr 13, 2021
34578a8
allow backend and frontend to send packets back to flight
andycate Apr 13, 2021
304bb3c
Add graphs that works
andycate Apr 14, 2021
002e242
window 1 layout
andycate Apr 15, 2021
a9ab516
move everything to one react app
andycate Apr 15, 2021
097765d
Add selector window and make app compile
andycate Apr 15, 2021
4b525a5
add chronograph batching, navbar layout and influx settings windows
andycate Apr 15, 2021
c98e17c
finish navbar
andycate Apr 15, 2021
649cd76
set up control window outline
andycate Apr 15, 2021
f837290
add basic flight controls
andycate Apr 16, 2021
0805ca7
start second column
andycate Apr 16, 2021
c65d11c
updated Board parent class to ignore updating a value if the mapping …
taitmate38 Apr 16, 2021
2827375
added packet config for DAQ & ActuatorController, added mappings for …
taitmate38 Apr 16, 2021
d6d03f9
dark mode
andycate Apr 16, 2021
9aeb669
update linAct to ActCtrlr
andycate Apr 16, 2021
fe0cace
add rqds and rbvs
andycate Apr 16, 2021
955a52b
Renamed LinearActuator -> Actuator Controller, added methods to Actua…
taitmate38 Apr 16, 2021
c0adaf6
Added ipc handlers for all 3 Actuator Controller instances
taitmate38 Apr 16, 2021
35a7e37
add procedures, move pressurant to top
andycate Apr 16, 2021
3c2b25b
add heater control buttons (still need API mapping)
andycate Apr 16, 2021
4fcf3de
updated global state for linear actuators
taitmate38 Apr 16, 2021
863cd05
added frontend methods and bindings for Actuator Controllers in Comms.js
taitmate38 Apr 16, 2021
5aea5b4
add beginnings of procedures
andycate Apr 16, 2021
c3a5e59
add text squares
andycate Apr 16, 2021
ea916c4
Main window layout finished
andycate Apr 16, 2021
5f79555
add Aux window 1 layout (no API mapping yet)
andycate Apr 16, 2021
bd2b3f9
Updated DAQ packet config, DAQ mapping, and global state. Also change…
taitmate38 Apr 16, 2021
49eefbe
a little work on the aux2 window
andycate Apr 17, 2021
f3b2af3
updated packet config for DAQ, mapping in App.js
taitmate38 Apr 17, 2021
59175a3
fixed merge conflict between main
taitmate38 Apr 17, 2021
c068a44
removed FloatToBool interpolation
taitmate38 Apr 17, 2021
bbc510e
update flight board constructyor
andycate Apr 17, 2021
aa3e3df
Merge pull request #9 from Space-Enterprise-at-Berkeley/hotfire/backe…
andycate Apr 17, 2021
80598a5
Merge from backend configs
andycate Apr 17, 2021
cc7e46d
Merge branch 'hotfire/control' into hotfire/textsquares
andycate Apr 17, 2021
290e460
Merge branch 'hotfire/control' into hotfire/auxwindows
andycate Apr 17, 2021
b301f65
fix two small things
andycate Apr 17, 2021
135ef02
Add RBVs and tank heaters api mappings to control window
andycate Apr 17, 2021
d588974
Merge branch 'hotfire/control' into hotfire/textsquares
andycate Apr 17, 2021
465193b
add expected static pressure api mapping
andycate Apr 17, 2021
efdef81
Merge branch 'hotfire/control' into hotfire/auxwindows
andycate Apr 17, 2021
6c161c8
Finish Aux1 window
andycate Apr 17, 2021
1536d4e
fix decimals on aux1 window
andycate Apr 17, 2021
fbe5146
add all names to aux2
andycate Apr 17, 2021
9604990
fix dashboard packet issue
andycate Apr 17, 2021
fc87910
updated values for open/close lin. actuator command
taitmate38 Apr 17, 2021
09d19ba
fix prop gems
andycate Apr 17, 2021
a10189e
add in expected statics
andycate Apr 17, 2021
6501ab2
updated binding to include event arg, added print statement to UdpPor…
taitmate38 Apr 17, 2021
6308569
fixing conflicts
taitmate38 Apr 17, 2021
8c03e0d
add windows shit
andycate Apr 17, 2021
9d4faca
Merge branch 'hotfire/runthru' of https://github.com/Space-Enterprise…
andycate Apr 17, 2021
096c200
fixed merge artifact
taitmate38 Apr 17, 2021
e72de4b
Merge branch 'hotfire/runthru' of https://github.com/Space-Enterprise…
andycate Apr 17, 2021
a8feee5
update flight packet config
andycate Apr 17, 2021
b36f1fd
make all 6 flight computer heaters work
andycate Apr 17, 2021
571fe0e
Add aux2 telemetry shit
andycate Apr 18, 2021
f86ce6c
update influx pushing
andycate Apr 18, 2021
2aa7e5a
add RQDs
andycate Apr 18, 2021
104367a
changed beginFlow command to 29, updated color scheme of aux windows
taitmate38 Apr 18, 2021
93240e7
fixed merge conflicts
taitmate38 Apr 18, 2021
ece7316
add heater currents
andycate Apr 18, 2021
c1437b3
updated StopFlow/abort ID to 29
taitmate38 Apr 18, 2021
3d716a4
Merge branch 'hotfire/runthru' of https://github.com/Space-Enterprise…
taitmate38 Apr 18, 2021
9cae917
use static arrays
andycate Apr 18, 2021
d92b718
added ButtonGroup to open/close Igniter, & correct methods to front/b…
taitmate38 Apr 18, 2021
e745192
updated some button text vals & changed hold button color
taitmate38 Apr 18, 2021
f481480
performance changes
andycate Apr 18, 2021
5d78abe
Merge branch 'hotfire/perf' into hotfire/runthru
andycate Apr 18, 2021
f19dcb4
added linear actuator commands to abort sequence to close flow RBVs
taitmate38 Apr 18, 2021
a8cf601
added keyboard shortcut for abort to allow abort via buttonBox
taitmate38 Apr 18, 2021
442558d
Merge branch 'hotfire/runthru' of https://github.com/Space-Enterprise…
taitmate38 Apr 18, 2021
12252f8
yeet
andycate Apr 19, 2021
f159fd3
added a threhsold input to the Field & to each field of the SixValueS…
taitmate38 Apr 20, 2021
a2e685f
set threshold to 0.5 for all linear actuator currents
taitmate38 Apr 20, 2021
d6c4886
fix thermocouple graphs
andycate Apr 23, 2021
c621f6a
add valve telemetry, no HPS or Igniter
andycate Apr 23, 2021
d1aad36
add packet characterizing tool
andycate Apr 23, 2021
efb7cfa
changed analog therm packet
nlautrette Apr 24, 2021
03b0257
Revert "fix thermocouple graphs"
nlautrette Apr 24, 2021
448416d
Revert "Revert "fix thermocouple graphs""
nlautrette Apr 24, 2021
086a418
Revert "fix thermocouple graphs"
nlautrette Apr 24, 2021
eb22e96
Revert "Revert "fix thermocouple graphs""
nlautrette Apr 24, 2021
130a866
Revert "changed analog therm packet"
nlautrette Apr 24, 2021
06ef4a5
fixed analog therm packet
nlautrette Apr 24, 2021
a655642
update control to disable animations; change graph buffer architectur…
andycate Apr 24, 2021
8114bcd
Merge branch 'hotfire/main' of https://github.com/Space-Enterprise-at…
andycate Apr 24, 2021
8625b10
make all RBVs timed
andycate Apr 24, 2021
fcbbaf0
Merge branch 'hotfire/valveTelem' into hotfire/main
andycate Apr 24, 2021
95cf23d
add packet dump tool
andycate Apr 24, 2021
8cdaa99
rename packet counter tool
andycate Apr 24, 2021
506082f
update packet config to include valve voltages
andycate Apr 24, 2021
f73b5bc
add layout for valve voltages
andycate Apr 24, 2021
1bad395
optimize performance of graph legend
andycate Apr 24, 2021
8b3e92c
partially fix program quit errors
andycate Apr 24, 2021
52c1198
changed thrust colors and units
nlautrette Apr 24, 2021
5ada4b1
Merge branch 'hotfire/main' of https://github.com/Space-Enterprise-at…
nlautrette Apr 24, 2021
64221ed
add igniter telem and hps supply telem
andycate Apr 25, 2021
cfc719c
Merge branch 'hotfire/main' of https://github.com/Space-Enterprise-at…
andycate Apr 25, 2021
ad4cbf3
update begin flow button
andycate Apr 25, 2021
9aaba2b
add second daq; update layout
andycate Apr 25, 2021
aadd0a0
stupid
andycate Apr 25, 2021
7a5e2b0
increase batch size
andycate Apr 25, 2021
2f26217
created SwitchButton component for pressurant & beginflow enable/disable
taitmate38 Apr 25, 2021
aaee4ab
Did jank method of passing in an arrow function to the switchButton t…
taitmate38 Apr 25, 2021
7f031a2
changed GEMS PT vals from fields to graphs on Main.js; changed pressu…
taitmate38 Apr 26, 2021
be4e407
add rudimentary influx upload script
andycate Apr 26, 2021
e0ba1e0
Merge branch 'hotfire/main' into hotfire/pressurant_beginflow_disable
taitmate38 Apr 26, 2021
090d898
Merge branch 'hotfire/main' of https://github.com/Space-Enterprise-at…
andycate Apr 26, 2021
61133dc
Merge branch 'hotfire/main' into hotfire/pressurant_beginflow_disable
andycate Apr 26, 2021
aa3b025
Merge branch 'hotfire/pressurant_beginflow_disable' of https://github…
andycate Apr 26, 2021
2825d7b
remove close button from RQDs
andycate Apr 26, 2021
52a599a
make end flow button just end the flow and not abort
andycate Apr 26, 2021
ae21095
change hps thresholds
andycate Apr 26, 2021
4c3d461
Merge branch 'hotfire/main' into hotfire/pressurant_beginflow_disable
andycate Apr 26, 2021
9778510
updated abort procedure to close more things and open vent RBVs
taitmate38 Apr 26, 2021
64bb01b
Merge branch 'hotfire/pressurant_beginflow_disable' of https://github…
taitmate38 Apr 26, 2021
604fc34
changed some units, fixed FC heater display value; Added buttonGroup …
taitmate38 Apr 27, 2021
af99e66
change lox tree graph temps
andycate Apr 27, 2021
1e000e1
fix prop injector heater current field
andycate Apr 27, 2021
8492c46
add on off ctrl loop buttons for fc heaters
andycate Apr 27, 2021
f20d8bd
Merge branch 'hotfire/main' into hotfire/pressurant_beginflow_disable
andycate Apr 27, 2021
49051cc
Merge branch 'hotfire/pressurant_beginflow_disable' of https://github…
andycate Apr 27, 2021
921a9e6
updated global config for injectorInserter & changed field for button…
taitmate38 Apr 27, 2021
6dd660d
updated AC state packet to have right ID, added ACpacketCounter to gl…
taitmate38 Apr 29, 2021
6943f58
Add heater currents and voltages
andycate Apr 30, 2021
11ab1b5
minor changes
andycate Apr 30, 2021
42257e8
Merge branch 'hotfire/pressurant_beginflow_disable' into hotfire/main
andycate May 1, 2021
0c6fa2d
update temps on aux1 window
andycate Jun 11, 2021
8103296
Add prop tank vent RBV; change valve telemetry from bool to float
andycate Jun 12, 2021
6821f4c
add propane source tank mass
andycate Jun 12, 2021
566bfb1
add backend for pressurant vent RBV
andycate Jun 12, 2021
80c8af1
record button presses
andycate Jun 13, 2021
f048d81
Front end for StateWindow to track/update procedure state over time
taitmate38 Jun 13, 2021
87e5ff5
cleaning up syntax/names of StateWindow
taitmate38 Jun 13, 2021
85d9df4
Completed backend to set appropriate procedureState tag on any incomi…
taitmate38 Jun 14, 2021
01361bd
merge in button press recording
andycate Jun 14, 2021
a309f38
updog.wav
andycate Jun 14, 2021
52e1739
add shit
andycate Jun 19, 2021
bf62c99
im dumb
andycate Jun 19, 2021
86fa051
astdfsdg
andycate Jun 19, 2021
22c69f4
Change linear actuators back to correct ports and IP addresses
andycate Aug 28, 2021
0ccdb85
remap DAQ1
andycate Aug 28, 2021
924743d
remap DAQ2
andycate Aug 28, 2021
9fc6791
Update AC telem configs
andycate Aug 28, 2021
900a05d
fix AC2
andycate Aug 28, 2021
1d4fac0
update AC1 mapping
andycate Aug 28, 2021
a9e9db2
ACs and DAQs remapped
andycate Aug 28, 2021
1af8572
update thermocouple channel name
taitmate38 Aug 30, 2021
b1240c5
update flight computer telemetry naming
andycate Sep 2, 2021
e20d9ff
fix all telemetry naming
andycate Sep 2, 2021
13aec65
mapping updates on the frontend
andycate Sep 2, 2021
e0e5e86
Remove pressurant enable requirement
andycate Sep 4, 2021
1a07d2f
update to pressurant fill, heater buttons
andycate Sep 11, 2021
346ca89
change pressurant fill to ac2
andycate Sep 11, 2021
736e7a4
updated readme
taitmate38 Sep 14, 2021
455c45e
style: add .editorconfig, add .idea to .gitignore, add pnpm lock files
e-zhang09 Sep 14, 2021
c2719c3
Updated pressurant enable to control the enable/disable state of the …
taitmate38 Sep 14, 2021
5e2a8aa
feat: add universal listener to comms, start work on textbox display
e-zhang09 Sep 15, 2021
5662e9e
merge: fix merge errors
e-zhang09 Sep 15, 2021
9c770cb
feat: log message filtering
e-zhang09 Sep 15, 2021
e7ee11d
feat: textdisplay shows unknown messages in filter menu
e-zhang09 Sep 15, 2021
d5a678b
feat: textdisplay add highlight option to message types
e-zhang09 Sep 16, 2021
68b677d
style: remove pnpm-lock files from PR
e-zhang09 Sep 16, 2021
2c4dc7b
feat: add throttling to display box, initializing App after dashboard…
e-zhang09 Sep 19, 2021
c856500
fix: graph line disappearing when receiving consistently equal values
e-zhang09 Sep 19, 2021
4c725e6
Merge branch 'hotfire3/remap' into hotfire3/textdisplay-avi-63
e-zhang09 Sep 19, 2021
076a36d
feat: add ways to ignore messages in textbox display
e-zhang09 Sep 19, 2021
9b4ddeb
update packet cli to work with Ethernet
andycate Sep 20, 2021
c6d0ca0
Add version request script
Sep 20, 2021
37d5f8e
added overcurrent packet mappings to FlightV2.js
moose73 Sep 21, 2021
3738c75
feat: include over-current message in text display box
e-zhang09 Sep 22, 2021
a419217
feat: update sol short interpolation, add clear log button
e-zhang09 Sep 23, 2021
b1c31c7
feat: move textbox options to config dir, create telemetry/README.md
e-zhang09 Sep 23, 2021
65f150b
added solenoid oc protection
taitmate38 Sep 23, 2021
f9b612f
feat: add sol names to Interpolation.js, allow html in log message
e-zhang09 Sep 25, 2021
f3e860a
update comms API to send statePacket enable/disable, based on dashboa…
taitmate38 Sep 25, 2021
3854b5c
feat: remove sol overcurrent flag in FlightV2.js
e-zhang09 Sep 25, 2021
8cf2637
Merge pull request #10 from Space-Enterprise-at-Berkeley/hotfire3/tex…
e-zhang09 Sep 25, 2021
7be74c4
feat: add interpolation and field def in FlightV2.js for custom event…
e-zhang09 Sep 25, 2021
e9bbc3b
feat: Add universal ingress packet def for all boards, add parseAsStr…
e-zhang09 Sep 26, 2021
50573fa
don't send FC abort when abort button pressed; Add 2 second delay to …
andycate Sep 26, 2021
ff64625
Updated Flight Computer packet config to listen for & parse packets 5…
taitmate38 Sep 29, 2021
aef9f20
Merge pull request #11 from Space-Enterprise-at-Berkeley/hotfire3/met…
e-zhang09 Sep 30, 2021
24714e2
feat: add syslog to influxdb from updateState
e-zhang09 Sep 30, 2021
b8c0ea2
documentation: update installation and set up instructions
e-zhang09 Sep 30, 2021
a1bab9b
Merge branch 'hotfire3/remap' into hotfire3/event-packets
nlautrette Oct 1, 2021
d8cff4f
Merge pull request #13 from Space-Enterprise-at-Berkeley/hotfire3/eve…
taitmate38 Oct 1, 2021
fa25761
pl
moose73 Oct 1, 2021
4cb8764
style: reorganize FlightV2 packets
e-zhang09 Oct 2, 2021
438b316
fix: log messages not having the right height (switch to react-virtuoso)
e-zhang09 Oct 2, 2021
8e49c18
Merge pull request #12 from Space-Enterprise-at-Berkeley/hotfire3/inf…
e-zhang09 Oct 2, 2021
772e4de
feat: add thermocouple switch, field in FlightV2, send 58 for msg pac…
e-zhang09 Oct 2, 2021
feb3cbe
Merge pull request #14 from Space-Enterprise-at-Berkeley/hotfire3/avi…
e-zhang09 Oct 2, 2021
1fa0937
feat: add sendCustomMessage to sys-log (to boards WIP), re-styled som…
e-zhang09 Oct 2, 2021
b5a4f99
Merge branch 'hotfire3/remap' of https://github.com/Space-Enterprise-…
e-zhang09 Oct 2, 2021
ee16705
modified custom event and created event_mapping dict
bdog563 Oct 2, 2021
70387f7
fix createTheme
andycate Oct 3, 2021
5055297
Merge remote-tracking branch 'origin/hotfire3/event-messages' into ho…
andycate Oct 3, 2021
1f4684d
fixed message packet display issue
taitmate38 Oct 3, 2021
2835cc0
fix abort
andycate Oct 3, 2021
9e07019
Merge remote-tracking branch 'origin/hotfire3/event-messages' into ho…
andycate Oct 3, 2021
e567aa4
feat: add eventId to custom event tags, add throttle to syslog, pin p…
e-zhang09 Oct 9, 2021
43bc7eb
style: use createTheme instead of deprecated createMuiTheme
e-zhang09 Oct 9, 2021
5b99681
feat: add delta pressure change over 5 seconds
e-zhang09 Oct 9, 2021
c67e68c
merge: hotfire3/version-script
e-zhang09 Oct 9, 2021
a48350f
Merge pull request #15 from Space-Enterprise-at-Berkeley/hotfire3/remap
andycate Oct 13, 2021
be408a8
updated layout of Aux2 to consolidate boxes with empty slots and make…
taitmate38 Nov 3, 2021
9d40ae4
small changes
andycate Nov 4, 2021
a2d1f01
Yeet
andycate Nov 4, 2021
45d2c81
Fix Aux2 window margins and expand thrust graph to fill two spaces
andycate Nov 6, 2021
522cc86
Added DAQ3 mappings and graphs to Aux2 window
andycate Nov 6, 2021
dc376a7
add countdown timer that works; timing may need to be adjusted
andycate Nov 6, 2021
31ea680
Merge branch 'hotfire4/capfill-merge' into hotfire4/main
andycate Nov 6, 2021
f3b4e4e
dashboard
Nov 9, 2021
65ca4e6
merge in hotfire4/main
andycate Nov 11, 2021
bc348a8
updated channels for breakwire
taitmate38 Nov 11, 2021
50fcd9d
stuff
andycate Nov 13, 2021
89e69c0
add second thrust graph
andycate Nov 15, 2021
c056dd7
working on it
andycate Nov 16, 2021
39d9b24
load cell interpolation
Nov 16, 2021
12de123
Revert "add second thrust graph"
Nov 16, 2021
715366d
Revert "Revert "add second thrust graph""
andycate Nov 16, 2021
ab4423e
Update lc interpolation code
andycate Nov 16, 2021
1fb1061
Updated fuelTankVentRBV mapping after channel got fried
taitmate38 Nov 20, 2021
1ebd477
updated AC1 telemetry
taitmate38 Nov 20, 2021
bbec2e3
Merge branch 'hotfire4/main' of https://github.com/Space-Enterprise-a…
taitmate38 Nov 20, 2021
0c46626
feat(serport.js): change import of readline parser
e-zhang09 Dec 29, 2021
9c067bc
feat: move parsePacket into Board.js, use new parsing method with bytes
e-zhang09 Dec 29, 2021
140a27b
feat: include timestamp calculation and bytes in Board.js, update che…
e-zhang09 Jan 2, 2022
223a108
feat: add new parsing options in Interpolation.js, update packet proc…
e-zhang09 Jan 2, 2022
93a2239
feat: consolidate all packet definitions into packetDefs.js, start ad…
e-zhang09 Jan 2, 2022
00fd1d5
feat: add support and autoconversion for outbound packets
e-zhang09 Jan 2, 2022
769db82
feat: Board.js, Packet.js updates and fixes
e-zhang09 Jan 5, 2022
d62a8f5
Merge branch 'support-flightv2-packet' into ereg
e-zhang09 Jan 6, 2022
e15dd41
feat: SerPort.js, Ereg.js add support for serial read
e-zhang09 Jan 6, 2022
28ff009
update mappings
andycate Jan 14, 2022
021e5bb
update control window
andycate Jan 14, 2022
c4d12b6
Add AC mapping
andycate Jan 14, 2022
b24e4ea
Updates from 1_14_2021 (dashboard mapping is correct now
andycate Jan 15, 2022
06a49a3
update automation and mapping
andycate Jan 18, 2022
798c5f3
feat: move cli tools into tools subdir
e-zhang09 Jan 20, 2022
3870dd6
feat: add packet tester for buffer packet def
e-zhang09 Jan 20, 2022
86f7671
configuring things
vint-1 Jan 22, 2022
79cc590
Merge branch 'origin/support-flightv2-packet'
vint-1 Jan 23, 2022
a6c268d
dashboard modified for eReg
vint-1 Jan 23, 2022
1ec2ce8
.
vint-1 Jan 29, 2022
083263f
added msgBox
vint-1 Jan 29, 2022
e1cc892
2-way comms with e-reg working
vint-1 Jan 31, 2022
a5f81d4
idk what this commit is
vint-1 Apr 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*.js]
indent_style = space
indent_size = 2
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@
.env.development.local
.env.test.local
.env.production.local
.eslintcache

npm-debug.log*
yarn-debug.log*
yarn-error.log*

#influx
persist

# Webstorm
.idea

# Lock file for pnpm manager
pnpm-lock.yaml
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ will be used to view live telemetry from and control the
rocket.

The UI frontend is written using the [React](https://reactjs.org/)
framework. All the UI code lives in the `main` directory,
framework. All the UI code lives in the `telemetry` directory,
which was created using [create-react-app](https://create-react-app.dev/).
The app itself uses [Electron](https://www.electronjs.org/) as a
framework for displaying the UI. All the code that runs on the
Expand All @@ -16,15 +16,18 @@ backend, including processing data from the rocket, lives in the
Here is a guide to get started with running the dashboard.
First, make sure you have NodeJS installed. If you don't,
read [these](https://nodejs.org/en/download/) instructions
to install it. Once node is installed, `cd` into this
directory and run `npm i`. This will install all the
to install it. Once node is installed, clone this repository:
`git clone https://github.com/Space-Enterprise-at-Berkeley/ground.git`

Then, `cd` into this directory and run `npm i`. This will install all the
dependencies required by this project that are defined in
the `package.json` file. Next, `cd` into the `main` directory
and run `npm i`. Repeat for the `remote` directory. The `main`
directory contains all the code for the web based UI. The
`remote` directory contains all the code for the web page
the `package.json` file. Next, `cd` into the `telemetry` directory
and run `npm i`. The `telemetry` directory contains all the code for the web based UI.
~~The `remote` directory contains all the code for the web page
that can be loaded on your phone to view pressure values
remotely over wifi.
remotely over wifi.~~

> The remote directory has been removed.

Now that you have all the dependencies installed, `cd` back
to the top directory. Then, run `npx electron-rebuild`. This
Expand All @@ -37,23 +40,20 @@ NOTE: Running the ground station for the first time will create
a new directory in your home directory called `GroundStation`,
where it will store data files.

To start the ground station, first `cd` into the `main` directory
and run `npm run start`. Then open a new terminal window and make
sure you are in the top directory. Run `npm run start-electron` to
open the ground station window.
To start the ground station, first `cd` from the top level, project `ground` directory into the `telemetry` directory
and run `npm start`. This will start the "backend" of the Dashboard. Next open a **new** terminal window (the previous one must stay open for the dashboard to work) and make sure you are in the top level `ground` directory. As of now, the dashboard has 2 different views: **Main** and **Aux**, with Main having the command window and one telemetry window, and Aux having 2 additional telemetry windows. Run `npm run start-main` or `npm run start-aux` to open either the main or aux versions of the ground station.

If you would like to run the remote viewing web page, open a new
~~If you would like to run the remote viewing web page, open a new
terminal window and `cd` into the `remote` directory. Then run
`npm run start`.

## Usage
Once the app is running, you can connect to the rocket by opening
the serial port on your computer corresponding to the radio on the
ground station. By default, any valid data that is received will be
recorded in an SQLite database file that is stored in the
`GroundStation` directory created when the ground station was run for
the first time. When a recording is started, the data will also be
written to a CSV file in that same directory.
`npm run start`.~~

## Receiving Telemetry & Sending Commands.
The dashboard receives packets from all boards over ethernet - meaning that in order to receive telemetry you must have be connected directly to a board with an ethernet cable or connected to a network switch that has one or more boards connected.
You must also have your computer network settings configured correctly to receive packets - your computer needs to appear on the network with a static ip of either `10.0.0.69` or `10.0.0.70`. As long as your computer's static ip has been configured appropriately, once any board is on the network and powered up, packets will start to be received and displayed (and the corresponding datarate indicator on the top bar will turn green)

## Storing Data.
The dashboard is capable of pushing data to a server running an influx instance, to allow data to be stored and accessed at a later time. Data can be pushed to the remote influx server (`influx.andycate.com`) or can be pushed to an influx instance running locally on your computer or on any server on the local network. Which influx instance and which specific database can be configured via the influx settings button in the top right corner of the dashboard.


## Packaging the app
There is a way to package the app into a nice neat executable that
Expand Down
Loading