Archive

Archive for September, 2012

Head Tracking Home Project

September 22nd, 2012 No comments

I am a big fan of X-Plane simulator so I am trying to improve it over time for better experience. I added orthophotomaps to it which increased realism and detail.

After some time, I got an idea to control pilot’s head by using iPhone gyro. Head movement is useful mainly for navigation training. You would put the iPhone on your head and it would read gyro changes, send it via wifi to running X-Plane instance and move pilot’s head as you move yours. I tried to build the first prototype but then realized how bad iPhone gyro is. When I run the app for the first time without moving the device, the system started reporting error gyro data immediately. I did several corrections and filtering but still it was not usable for head tracking purposes.

I finally classified this as “bad” and was thinking about an optical solution. Then I came across TrackIR but I did not want to wait for it to be imported to my country so I decided to make something similar on my own (hardware, x-plane plugin and software). And after 3 days I had the first working prototype. :) Photos soon.

Categories: Uncategorized Tags:

SQLite3 iOS compilation error

September 22nd, 2012 No comments

For those having the following error trying to compile sqlite3 big source file

sqlite3.c: In function returnSingleInt:
sqlite3.c:88236: internal compiler error: in find_src_set_src, at var-tracking.c:1922

Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

The solution is easy. Just use llvm-gcc compiler for compilation instead of Apple gcc.
Changing Apple compilers helps sometimes…

Categories: Uncategorized Tags:

InApp Purchase Troubles on Jailbroken iOS

September 22nd, 2012 No comments

If you happen to have a jailbroken iPhone/iPod or iPad and you are a developer, you might have run into a problem with InApp purchase testing (it simply won’t work). For me the jailbreak is a must-have so that I had to figure out the reason for these problems.

The problem is AppSync but there are two versions of it.

Read more…

Categories: Uncategorized Tags:
deadly laser