Czujniki

Próba kompasu

Wyświetlaj na żywo kurs kompasu na podstawie danych dotyczących orientacji urządzenia i sprawdź, jak reaguje po skręceniu.

Prywatność: Dane dotyczące kursu są przetwarzane lokalnie. Nie są przesyłane żadne informacje o lokalizacji ani orientacji.
Etykiety interfejsów i nazwy narzędzi są tłumaczone. Szczegółowe wskazówki i często zadawane pytania na tej stronie są obecnie napisane w języku angielskim.

Interfejs testowy

Twoja przeglądarka może poprosić o pozwolenie po naciśnięciu przycisku Start.
Gotowy. Włącz kompas i obracaj się powoli.
N E S W
— ° —
Nagłówek—
Źródło czujnika—
Odczyty kompasu mogą być zniekształcone przez magnesy, metal, głośniki i obudowę. W zależności od przeglądarki i urządzenia nagłówek może być względny, a nie rzeczywisty.

Jak korzystać z tego narzędzia

  1. Click Enable compass and grant motion permission if your browser asks.
  2. Hold the device flat and slowly turn in a circle.
  3. Compare the displayed heading with a known direction or a physical compass.
  4. Stop the test when finished.

Reklama

Wyjaśnienie techniczne

The page reads DeviceOrientationEvent.alpha and, on iOS, webkitCompassHeading. It converts the value into a 0–360° heading and draws a compass dial. Some browsers only provide a relative orientation until an absolute orientation event is available.

Magnetic interference from speakers, metal desks, cases, and magnets can distort the reading. The browser may also apply smoothing. A phone compass is a navigation aid, not a surveying instrument, and it is not calibrated by this page.

Rozwiązywanie problemów

The compass is unsupported

Desktop devices usually lack a magnetometer. Use a phone or tablet with a modern browser.

Heading is stuck or jumps

Move away from metal and magnetic objects, then wave the device in a figure-eight to help the system calibrate.

North is wrong

Check whether the reading is relative or absolute. Some browsers do not expose true north without a permission or sensor fusion.

Permission was denied

Reset motion access for the site and reload, then press Enable again.

Często zadawane pytania

Reklama