Local gravity
A camera + IMU solve holds the gravity magnitude fixed. Gravity is most of what an
accelerometer measures, so the accelerometer scale (Da) takes up any error in it.
Set the gravity where the data was recorded:
gravity: 9.8013 # m/s², Newark, DelawareOr give the place instead, with site:. MVIS takes the latitude and altitude and computes
WGS84 normal gravity from them, and the report then names the city:
site: {latitude_deg: 39.68, altitude_m: 40, name: "Newark, Delaware"} (name is only a
label). You may give both keys if they agree within 0.01 m/s². From MVIS 0.4.1 the report
names the place in the comment after the gravity: value; with site: it names the site.
- Without either key: MVIS uses 9.81 m/s² and the run log warns. The accelerometer scale then reads high by 9.81 / g. In Shenzhen g is 0.23 % below 9.81, so the scale reads 0.23 % high; at the equator 0.30 % high; in central Europe close to zero.
- A measured value from a gravity survey also goes in
gravity:. site:takes coordinates, not a city name: names repeat (Córdoba, Spain and Córdoba, Argentina), and a site outside any city still has coordinates. The calculator below finds them from a city name.- Precision: anywhere in the right city is enough. One degree of latitude moves g by at most 0.01 %, 100 m of altitude by 0.003 %. Altitude matters only for high places (Kunming −0.06 %, Lhasa −0.11 %).
Requires MVIS 0.4.0 or later. The keys and their checks are in Configuration.
Calculator
Section titled “Calculator”Type your city and pick it from the list: about 34,000 places, every one with more than 15,000 people, with their latitude and altitude. You don’t need the longitude, and the altitude only matters above about 300 m. Or press Use my location: your browser asks first, and the location stays on this page. You can also type the latitude and altitude yourself.
The calculator uses the same formula as MVIS (WGS84 normal gravity with the free-air
correction) and runs in your browser: nothing you type is sent anywhere. It gives the
gravity: line to copy, and the site: line under it if you prefer to give the place.
With your own coordinates, put your label in place of “your place”.
The city list is from GeoNames (CC BY 4.0). The table under the calculator lists common recording places.
| Place | latitude_deg | altitude_m | g [m/s²] | Bias at 9.81 |
|---|---|---|---|---|
| Singapore | 1.35 | 15 | 9.7803 | +0.30 % |
| Bangalore | 12.97 | 920 | 9.7801 | +0.31 % |
| Mexico City | 19.43 | 2240 | 9.7791 | +0.32 % |
| Hong Kong | 22.32 | 10 | 9.7877 | +0.23 % |
| Shenzhen | 22.54 | 20 | 9.7879 | +0.23 % |
| São Paulo | −23.55 | 760 | 9.7862 | +0.24 % |
| Abu Dhabi | 24.45 | 5 | 9.7892 | +0.21 % |
| Kunming | 25.04 | 1890 | 9.7837 | +0.27 % |
| Lhasa | 29.65 | 3650 | 9.7817 | +0.29 % |
| Wuhan | 30.59 | 25 | 9.7936 | +0.17 % |
| Shanghai | 31.23 | 5 | 9.7942 | +0.16 % |
| Córdoba, Argentina | −31.42 | 400 | 9.7931 | +0.17 % |
| Sydney | −33.87 | 20 | 9.7963 | +0.14 % |
| Tokyo | 35.68 | 40 | 9.7978 | +0.12 % |
| Seoul | 37.57 | 40 | 9.7994 | +0.11 % |
| San Francisco | 37.77 | 15 | 9.7997 | +0.11 % |
| Washington, DC | 38.90 | 20 | 9.8007 | +0.10 % |
| Newark, Delaware | 39.68 | 40 | 9.8013 | +0.09 % |
| Denver | 39.74 | 1610 | 9.7965 | +0.14 % |
| Beijing | 39.90 | 45 | 9.8015 | +0.09 % |
| Boston | 42.36 | 10 | 9.8038 | +0.06 % |
| Zurich | 47.37 | 410 | 9.8071 | +0.03 % |
| Dübendorf (UZH-FPV) | 47.40 | 440 | 9.8070 | +0.03 % |
| Seattle | 47.61 | 50 | 9.8084 | +0.02 % |
| Munich | 48.14 | 520 | 9.8074 | +0.03 % |
| Paris | 48.86 | 35 | 9.8096 | 0.00 % |
| London | 51.51 | 15 | 9.8120 | −0.02 % |