JSBSim-Team / jsbsim

An open source flight dynamics & control software library
GNU Lesser General Public License v2.1
1.32k stars 443 forks source link

JSBSim Jupyter Notebooks #46

Open agodemar opened 6 years ago

agodemar commented 6 years ago

Establish a set of Jupyter notebooks to show how JSBSim can be used for engineering simulations. The notebooks will be based on JSBSim interface for Python 3, i.e. the same that we use for unit testing. Here's a list of fundamental tasks:

seanmcleod commented 6 years ago

@agodemar if you think either of the following are useful enough/good enough I could re-do them as Jupyter examples. I originally wrote them up based on running JSBSim scripts and using matplotlib etc. to graph the .csv file output etc.

Landing – Ground effect, flare – JSBSim

Pitch Rate Damping – JSBSim Test

agodemar commented 6 years ago

@seanmcleod Sure. Meanwhile I'll make a folder doc in the main repository where we're going to put all our notebooks.

bcoconni commented 6 years ago

Just for fun. Some of the things that can be achieved with JSBSim/Python/Jupyter lab.

On this YouTube video, the bottom curve displays the aircraft altitude as the simulation progresses (the aircraft takes off just before t=25s). I did not have the time to find a means to remove the flickering but the proof of concept is there.

YouTube video

agodemar commented 6 years ago

@bcoconni Cool stuff! By the way, I know that bokeh is the plotting package of choice for this kind of dynamic things. See this video