Python in FlightGear: Difference between revisions

Jump to navigation Jump to search
Line 112: Line 112:
   | date  = Mar 26th, 2011
   | date  = Mar 26th, 2011
   | added  = Mar 26th, 2011
   | added  = Mar 26th, 2011
  | script_version = 0.23
  }}
}}
{{FGCquote
|1= I see some additional benefits that could spill out into some of my other personal projects (i.e. my open-source UAV autopilot/flight control system.)  Python integration there (which implies integration with the property system which I use heavily in my autopilot) would allow me to do some really interesting things on the higher level mission planning side ... currently that is done in low level C/C++ code in a pretty rigid / opaque way.  Allowing mission planning and high level task 'intelligence' to be coded in python by 'end users' would be a great technology enabler for my autopilot project in the hands of students or hobbyists.  This is outside of FlightGear, but it factors in to some of my personal interest.  (And for what it's worth, I'm currently building my autopilots around a beaglebone/linux that already has a python environment onboard ... I would just link to the required pieces.)  For what it's worth, due to project/research partnerships and connections, there is potential for at least part of this to find it's way into NASA and DLR projects.
If I run down a 'hypothetical' thought path ... and all of this thread is hypothetical, right?  I can imagine a number of college or advanced high school level or grad student research projects that could benefit from python integration and tools like numpy and scipy.  I currently work in the aerospace engineering department at the university of minnesota (since this past July.)  I see a number of projects that leverage matlab and simulink ... things like extended kalman filters and sensor fusion for attitude estimation; things like advanced state space flight control systems; fault tolerant and adaptive control systems, and that's just my own small peephole view from within my own department.  There are many ways to do something, but imagine if as student could write a complex kalman filter in python embedded in FlightGear and test it in real time flight comparing the flightgear 'truth' against the filter estimate.  (Or replace kalman filter with some other fairly advanced research project.)  Sure this could all be done in nasal or many other ways, but what if the ultimate goal was to take the work and package it and use it in some larger more important context?  Python code ports to new systems because python is nearly universally available.  Nasal really is not .... not without a lot of work to bring the whole nasal system over to a new realm.  I'm sure none of this makes an immediate and specific compelling use case, and probably no one in my department would rush down this path if it was available to them because they have a big investment in their current way of doing things ...
|2= {{cite web
  | url    = http://forum.flightgear.org/viewtopic.php?p=270696#p270696
  | title  = <nowiki>Re: FGPython an propose for Python as an nasal alternative</nowiki>
  | author = <nowiki>curt</nowiki>
  | date  = Dec 30th, 2015
  | added  = Dec 30th, 2015
   | script_version = 0.23
   | script_version = 0.23
   }}
   }}

Navigation menu