aesirkth / ground-control

All required software to make the Ground Station work
https://aesir.se
1 stars 1 forks source link

Run dashboard with arguments #32

Closed wanysteus closed 4 years ago

wanysteus commented 4 years ago

Run dashboard using an argument to choose between the RFD900 modem or a dummy gateway

python ./dashboard.py rfd  # If a RFD900 is connected 
python ./dashboard.py gw  # If a dummy gateway is connected
Zkootz commented 4 years ago

If we create a widget/button for it, is it possible to change it in the dashboard GUI? Like a first page, then we select the one we want and then press Next/OK and arrive at the real Dashboard?

wanysteus commented 4 years ago

If we create a widget/button for it, is it possible to change it in the dashboard GUI? Like a first page, then we select the one we want and then press Next/OK and arrive at the real Dashboard?

Yes, it is absolutely possible. But this also means having to click on that single button every time we launch dashboard.py to test something, which will happen a lot during development. So I think it's better to keep the command line argument at least for now

Zkootz commented 4 years ago

Yeah that's true, it's not necessarily after testing and for testing it just adds time.

Den ons 6 nov. 2019 11:10Erwan Caffier notifications@github.com skrev:

@wanysteus https://github.com/wanysteus requested your review on: #32 https://github.com/aesirkth/GroundStation/pull/32 Run dashboard with arguments.

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/aesirkth/GroundStation/pull/32?email_source=notifications&email_token=ALNZY3RWPHZPYYPPS7E3HHLQSKJ2RA5CNFSM4JJSSXWKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUVRJXVA#event-2774703060, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNZY3TAQME5R6ITJY3XWGTQSKJ2RANCNFSM4JJSSXWA .