The app utilizes Rightware's leading Kanzi framework for smooth rendering with HW accelerated 3D graphics. There are two different themes to choose from: traditional style "Adventure" and modern "Marine".
As a bonus, Marine mode contains a damped string suspension with modeled physics for rough conditions. No matter how you move the device, the compass ball just seems to be magically floating in the air.
Download and share freely. If you're interested, the sensor fusion algorithm is open source and available under LGPL license (contact us for more information).
You are welcome to ask questions, discuss and read news about our other apps at http://finweaiapps.blogspot.fi
- The algorithm requires all three movement sensors. Some fairly modern devices in the market do not include gyroscope (for example, Samsung Galaxy Tab 2 10.1).
- Marine mode ball compass is supposed to be viewed from side, not from top. Directions seem opposite if viewed from top.
Stay tuned for other amazing apps from Finwe Ltd.
The linear acceleration of an object is calculated as the acceleration of the device minus the force of the earth's gravitational field ( the tilt of the device). Gyro Linear Acceleration uses a complimentary filter to fuse the acceleration sensor and gyroscope sensor together to provide a measurement of the devices linear acceleration. The acceleration sensor alone is not capable of distinguishing true linear acceleration from tilt, or gravity. The gyroscope sensor is used to find the tilt of the device. The tilt angle of the device can then be used to calculate the gravity component of the acceleration that can then be subtracted from the acceleration to find the linear acceleration.
Most people will find that the end-result of this implementation is that, while linear acceleration can be measured while the device is static (not accelerating), linear acceleration cannot be accurately measured while the device is actually under linear acceleration. This is because the complementary filter, which is used to compensate for the drift of the gyroscope, begins to assume the acceleration of the device is actually tilt, skewing the rotation measurements from the gyroscope.
Related to the linear acceleration problem is that the gyroscope sensor can easily drift out of rotation with the device when it is experiencing vibrations or rapid rotations, even with the help of an acceleration sensor. If you modify the complementary filter to quickly compensate for gyroscope drift with the acceleration sensor, you increase the problem of the complimentary filter confusing linear acceleration for tilt when the device is actually accelerating.
Gyro Linear Acceleration may work well for determining linear acceleration for a static device, for instance, that moves a character or vehicle in a game by tilting the device. Gyro Linear Acceleration will not work well for determining the linear acceleration of a vehicle or other object that actually accelerates the device.
Gyro Linear Acceleration will plot the output of the sensor fusion in real-time and will also log the data to an external .CSV file that can be viewed at a later time on any spreadsheet application.
• Plot data in real-time
• Analog gauges to visualize the outputs
• Log the output to an external .CSV file
Displays heading, roll, and pitch in real-time, using a gyroscope to stabilize the results of one is available.
Based on sample code shown in Professional Android 2 Application Development.
If you do have a gyroscope, be aware that the quality of the drift compensations on the gyroscope sensor vary considerably among devices. In the case that your device has a gyroscope that doesn't work well, there is the option to fuse the gyroscope with the acceleration and magnetic sensors. This option, which uses a fusion of the acceleration, magnetic and gyroscope sensors via complementary filter to determine the rotation of the device, is far more reliable that the gyroscope sensor alone.
Gyroscopes measure the rotation of a device with a pair of vibrating arms that take advantage of what is known as the Coriolis effect, which is caused by the Earth's rotation. By measuring changes in the direction of the vibrating arms caused by a rotation and the Coriolis effect, an estimation of the rotation can be produced. The gyroscope is one of three sensors that are always hardware based (the other two are the magnetic and the acceleration sensors) on Android devices. In conjunction with the acceleration sensor, the gyroscope can be used to create other sensors like gravity, linear acceleration or rotation sensors.
If your device is equipped with Android 4.4 or higher, you *might* have the uncalibrated version of the gyroscope so you can see how drift affects the gyroscope sensor relative to the calibrated gyroscope.
The gyroscope rotational speed around the z-axis is visualized as a gray circle.
Compass is red/white.
Accelerometer is green.
MultiTouch is blue.
The source code is available at
Point the phone up to the sky and all the letters come falling down towards you. Touch a letter to hear the sound and drag it to move it around the scene.
Drag the letters around to make and spell your own words to hear each of the letters in the word.
This will keep your kids entertained for hours and reinforce the letters and their sounds.
More function to be added weekly with free updates. Put in your requests in the commments.
This is still in testing so feel free to give me your suggestions and feedback.
Touch screen controls:
__Top Left - Accelerate
__Middle Left - Rotate Left
__ Bottom Left - Brake
__Middle and Drag - Move Spaceship
____(This will change to be controlled by moving your phone around)
__Top Right - Missile (With missile cam)
__Middle Right - Rotate Right
__Bottom Right - Lasers
1. Sit on the floor
2. Hold the phone with your arms straight towards the sky
3. Now twist right, left, up, down, all around to zap those meteors before they hit the ground.
Note: You may need to orient yourself towards north for the over head camera to line up better with your movements.
Good luck ! Leave suggestions along with your comments along with any requests for different games that could use the gyro function like this.