Saturday, September 12, 2009

Widgets keep on rolling


An important feature of the Ground Control Station has to be the mission time.So,here is another widget built with elementary programming and mathematics for showing time since mission started.Does this look fine or should something like an analog clock be made.

The Virtual Cockpit


Finally i played a flight simulation game and found out how virtual cockpit works.After getting help from forums and mailing lists,i have been able to make virtual cockpit widget using wxPython(GUI library).And yes,'yaw' has been incorporated too.Attached is an image of it while it was been run on test data.This image shows a small r,p,y reading.If anyone feels it is lacking or if anyone has suggestions,please do comment.

Wednesday, September 9, 2009

Season II post 1

Season II has begun and we are clear about our approach this time.We have already learnt a lot from the first year and seem to have become more professional this time around.
Updates on Ground Control Station
Java has been replaced by Python and Pythonic way has been keeping me stuck to my laptop for hours.With Python being the ideal RAD(Rapid Application Development)Language,my work has been progressing well.For the previous two months have been at forums/mailing lists trying to figure out which libraries to use and how to use them.Two months into PyGtk and suddenly i come across wxPython which has a really decent GDI(Graphical Display Interface) and have been using it for last few days.
Some work which has been done at the local level:
1.Creation of virtual cockpit(haven't figured out displaying roll there)
2.Creation of a clock/timer showing mission time
3.Reading from serial port and writing to it(and yes this time i don't need to press enter key each time to transmit data)
4.Interpret data coming from serial port via "re" module(beautiful feature in Python)
5.Creating a 3d box to show imu data in VPython

Some territories that i have not yet visited but plan to:
1.UI designing principles(883 pages book)
2.OpenGL/PyOpenGl(have used Vpython,but have been advised to minimise it's usage and completely shift to OpenGl)
3.Mapping:Contrary to what i did last time i am tryinfg to figure out how to use any open source GIS to my benefit,otherwise i have my older approach as a backup anyway)
4.Integrating the data with SQLite instead of simple text files acting as database
5.If needed shift the entire code to wxWidgets(C++) to make it lightningn quick and processor friendly
6.Make an installer for the application for all environments
7.Try and integrate Matplotlib(open source equivalent of Matlab+Labview)for all the analysis purposes

If anyone feels that there is anything more that i shall do.please add comments