Repository to host ground-software to receive incoming flight data and Dashboard code to visualize incoming data.
Use the following code to clone the repository to your local machine.
git clone https://github.com/haloship/ground-control.git
Install VScode and install the PlatformIO IDE. The installation guide can be found here.
Execute the following commands in the Ground Control Repository for the ground-software setup
#Enter into ground-software directory
cd ground-software
#Install appropriate python libraries
sudo apt install python-pip
pip install argparse pathlib
# Manage usser groups for usb/dfu permissions
sudo usermod -a -G dialout <username>
sudo usermod -a -G plugdev <username>
Execute the following commands in the Ground Control Repository for the Dashboard setup
#Enter into Dashboard directory
cd Dashboard
#install appropriate node related libraries
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
nvm install 16
#Make sure the node version is above 10.0.0
node --version
#install dependencies
npm install
#ignore below
nvm install stable --latest-npm see
nvm alias default stableRun the following commands in the PlatformIO terminal in VScode. The microcontroller must be connected to the machine.
cd ground-software
python interface.py -uhcd Dashboard
node index.jsopen localhost:4000 using a browser to view the Dashboard.