For Spring 2021, each time a new team wants to control the robot, we need to generate a new set of ngrok IP addresses. (This is to prevent different teams from connecting to Runtime simultaneously.)
The current way to do this is to ssh into the Pi and run sudo systemctl restart ngrok. This will run ngrok.sh, which restarts ngrok with new IP addresses and displays them on a webpage (through ngrok_displayer.py).
A new, more user-friendly solution, is to add an HTML button on the webpage which will restart ngrok and display the new IP addresses.
For Spring 2021, each time a new team wants to control the robot, we need to generate a new set of ngrok IP addresses. (This is to prevent different teams from connecting to Runtime simultaneously.)
The current way to do this is to
ssh
into the Pi and runsudo systemctl restart ngrok
. This will runngrok.sh
, which restarts ngrok with new IP addresses and displays them on a webpage (throughngrok_displayer.py
).A new, more user-friendly solution, is to add an HTML button on the webpage which will restart ngrok and display the new IP addresses.