The code takes in quaternions and a timestamp along with TLE data from the OPS-SAT and outputs satellite attitude information like roll, pitch, yaw and angle to nadir.
cd attitude_app/
pip3 install --user virtualenv
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
# install non-python dependencies, example is for Ubuntu
# see https://scitools.org.uk/cartopy/docs/latest/installing.html for details
sudo apt install proj-bin libgeos-dev
pip3 install --no-binary shapely shapely
pip3 install cartopy
### Configuration
The configuration files are located in the `attitude_app/configuration/`
* `config.ini` configures the space app `app.py`
* `config_ground.ini` configures the ground visualizer `app_ground.py`
### Running
1. If not done already, follow the [Installation](#Installation) instructions
2. [Configure](#Configuration) the app as you like
3. Run the desired app:
* `python3 app.py` to run the space app
* `python3 app_ground.py` to run the ground visualizer