1. Getting started
Install the APK (see Download) and open Sua Geometry. It asks for no permissions: the motion sensors do not need any. The screen stays on while the app is in front, and the sensors stop as soon as you leave it, so it does not use battery in the background.
The interface follows the language of the phone (English, Spanish or Italian). The app works in portrait only: the angles refer to the axes of the phone, and the screen must not rotate while you measure.
2. The screen
- Tabs at the top: Orientation, Plane, Level and Scope.
- Indicator: compass dial, protractor, bubble level with two linear levels, or the scope.
- Main value in large type and the details below it.
- Status line: “Stable ±σ” when the phone is still (σ is the dispersion of the last window), the measured gyroscope rate, and compass warnings.
- Buttons for the current mode, and the settings: output rate, smoothing, compass and About.
3. Orientation
Shows the attitude of the phone with respect to the local East–North–Up frame:
- Heading (large): direction of the top edge of the phone, clockwise from magnetic north. If the phone is held upright, it is the direction in which the rear camera points.
- Euler angles Z-Y′-X″: yaw ψ (from East, counter-clockwise), pitch θ and roll φ.
- Quaternion (w, x, y, z), the complete orientation without singularities.
With “Compass” off, the heading is relative (its zero is arbitrary and drifts slowly), but pitch and roll stay exact. Use it near metal or magnets.
4. Plane angle
- Place the phone on the surface you want to measure — a table, a ramp, a wall — against your reference edge.
- Press Set zero.
- Turn the phone on the same surface. The large value is the turn, clockwise as seen from the screen, from 0 to 360°; the details show it signed (±180°).
“Out of the reference plane” tells how much the phone has been lifted or tilted from the surface: it should stay near 0°. Without a zero, this mode works as a compass. Clear zero removes the reference. For long sessions set the zero again, because the gyroscope drifts slowly.
5. Level
Flat (screen up or down): the central bubble moves towards the higher side. The bottom tube shows the elevation of the right side and the side tube the elevation of the top edge; the large value is the total tilt. The bubbles turn green below 0.1°.
On an edge (standing in portrait or landscape): the line shows the true horizontal as seen from the phone. The large value is the clockwise deviation from the nearest multiple of 90°; the side tube shows how much the screen leans out of the vertical (plumb).
Calibrate (recommended once per position)
- Put the phone on a stable surface, in the position you will use (for example, flat with the screen up), and wait for “Stable”.
- Press Calibrate.
- Turn the phone 180° on the same spot, keeping the same side down, wait for “Stable” and press Second reading.
The calibration removes the error of your phone's sensor and is saved for that position; there are six positions (flat up, flat down, two portrait and two landscape). Reset calibration deletes all of them. The surface does not need to be level: the method separates the surface tilt from the sensor error.
Reference (differential measurement)
Put the phone on a reference surface and press Set reference: from then on the level shows the difference with respect to that surface (“Differential”). This is useful to compare two surfaces or to align something with an existing part. The reference only applies in the position where it was set, and it is not saved. Clear reference returns to absolute values.
6. Scope and recording
The Scope tab draws yaw, pitch and roll over the last 60 seconds, each in its own band with an automatic scale, so that even the sensor noise is visible. It always uses the absolute angles, without any user zero or reference. Clear plot empties it.
- Press Record. The elapsed time and the number of rows are shown.
- Press Stop.
- Choose Save (the system file picker opens: choose the folder and the name; no permission is needed), Share (mail, messaging, cloud…) or Discard.
The CSV file has one row per output sample with a UTC timestamp and all the variables; the columns are described in the technical guide. The app keeps no history: the temporary file is deleted when you save or discard it, when you start another record, or when the app is opened again. If you leave the app while recording, the record is closed and offered to you when you come back.
7. Settings
| Setting | Values | Use |
|---|---|---|
| Output | 1, 3, 10, 25, 50 Hz | How often a value is produced (screen, scope and CSV). Lower rates average more samples and are more precise; 3 Hz is the default. |
| Smoothing | off, 0.5, 1, 3, 10 s | Time constant of the SLERP filter. Higher values give steadier readings at rest; the filter jumps immediately when you move the phone. |
| Compass | on / off | Use the magnetometer for an absolute heading. Turn it off near metal: tilt stays exact and the heading becomes relative. |
8. Getting precise readings
- Read the values when the status shows Stable; the ± value is the noise of that reading.
- Use 1 or 3 Hz and 1–3 s of smoothing for static measurements.
- Calibrate the level once for each position you use.
- Remove thick or magnetic cases, and do not rest the phone on its camera bump.
- For the compass, keep away from metal, magnets, speakers and other electronics. If the app asks for it, move the phone in a figure 8 so that Android recalibrates the magnetometer.
- Remember that the compass gives the magnetic heading; add the local declination to obtain the geographic heading.
9. Questions and problems
The heading does not match my map.
The compass measures magnetic north. The difference with geographic north (declination) depends on where you are; you can obtain it from the NOAA calculator. Metal nearby also shifts the heading; the app warns you when it detects a disturbance.
Yaw and roll jump when the phone points straight up or down.
That is the gimbal lock of Euler angles at ±90° of pitch: yaw and roll are not individually defined there. The quaternion is always valid.
The plane angle drifts slowly.
That mode is based on the gyroscope, whose small residual error accumulates over minutes. Set the zero again.
“No gyroscope” appears.
Some low-cost phones have no gyroscope. Tilt and level still work with the accelerometer; the orientation reacts more slowly and the plane angle is less stable.
The level is not exactly 0 on a surface I know is level.
Calibrate the level for that position (section 5). Phone sensors usually have an error of a few tenths of a degree that the calibration removes.
To report a problem or suggest an improvement, use GitHub issues or write to contacto@donatellatech.com.