gabrielcte / labVirt_ws

Virtual laboratory for attitude control of CubeSats
0 stars 0 forks source link
attitude cubesat flightgear jsbsim simulation

Virtual Laboratory for CubeSats Control

This repository contains scripts for:

Folders

Pasta Descrição
root Contains scripts currently under development, evolving according to exploratory analyses
aircraft Contains "aircraft" models that will be used in Flight Gear
engine Contains engine models used by the "aircraft"
scripts Contains initialization scripts for Flight Gear
reference Contains manuals and documents used as reference for this work
doc Contains my master teses

Softwares

The 6U Cubesat control system analysis was conducted using four tools:

Tool Application
Flight Gear; Graphical flight simulation software
JSBSim; Software that implements the flight dynamics model of aerial and spacial vehicles
Python; Multipurpose programming language. In this case, it's used to interact with FlightGear and JSBSim
Blender; Free and open-source 3D creation application that supports AC3D

Scripts

Segue uma descrição dos scripts que fazem parte da simulação:

Script Descrição
cubesat_design.ipynb Preliminary design that defines data for the spacecraft, reaction wheels, and mission.
dynamic_simulation.py Simulation of the 6U cubesat mission with a non-linear model, where the equations of motion are integrated by JSBSim

Runing the JSBSim by powershell

.\JSBSim.exe --realtime --script= .\scripts\cubesat_orbit.xml

Flight Gear Additional Settings

fgfs --fdm=null --native-fdm=socket,in,60,localhost,5550,udp --httpd=8080