I had no idea the iPhone has 3-axis inertial sensors.
I think the technology is really commonplace now. I believe that is how, for example, the controller on a Wii video game works. So, they're cheap and very compact. I don't they're accurate enough for plane and missile guidance. But, obviously, good enough for consumer applications like game controllers and smartphones.
I suspect the biggest impediments to the scuba app you really want are:
- insufficient processing power in a smartphone to track all the relevant data and produce an accurate TrackBack. It would need to track the phone's motion as well as orientation in 3D.
- relying on the smartphone's electronic compass is probably not practical - one reason being the possibility that being near a wreck could throw it off.
- I don't know how significant changes in ambient pressure would affect the inertial sensors. Depending on their design, it seems like that could possibly be a problem. Or might not. It would probably be pretty easy to test, though. Download a dyno app to your phone then take it diving. Use a measured distance underwater and swim with the app running to see if it can tell you, with any accuracy, how far you swam.
---------- Post added August 19th, 2015 at 04:22 PM ----------
The problem is Einstein, specifically the part where if your accelerometer/gyro is moving in a current, it thinks it's standing still.
So, if I get in my car and start my accelerometer monitoring app and I accelerate up to 30 MPH, it will tell me I'm going 30 MPH? But, if I'm driving the same direction as the wind is blowing, and the wind is blowing 30 MPH, my accelerometer is going to think I'm standing still? Ba ahahahahaa!!!!