Sensor

Tes Giroskop

Baca nilai kecepatan rotasi giroskop langsung di tempat perangkat dan browser Anda memaparkannya, dengan grafik gerakan sederhana.

Pribadi: Sampel rotasi diproses di tab ini. Tidak ada data gerakan yang diunggah atau disimpan.
Label antarmuka dan nama alat diterjemahkan. Panduan terperinci dan FAQ di halaman ini saat ini ditulis dalam bahasa Inggris.

Antarmuka uji

Browser Anda mungkin meminta izin setelah Anda menekan Mulai.
Siap. Aktifkan giroskop dan putar perangkat.
X—°/s
Y—°/s
Z—°/s
Besarnya—°/s
Sampel0
Sumber sensor—
Kebanyakan desktop tidak menampilkan giroskop. Di perangkat seluler, gunakan HTTPS dan berikan izin gerakan. Penyimpangan kecil dan kebisingan adalah hal yang normal untuk sensor konsumen.

Cara menggunakan alat ini

  1. Click Enable gyroscope and grant motion permission if your browser asks.
  2. Rotate the device slowly around each axis and watch the x, y, and z values.
  3. Observe the magnitude graph while the device is still and moving.
  4. Click Stop to remove the listeners and end sensor access.

Iklan

Penjelasan teknis

The page prefers the Generic Sensor API Gyroscope constructor. Where that is unavailable it falls back to DeviceMotionEvent.rotationRate, which reports degrees per second around the alpha, beta, and gamma axes. Values are smoothed slightly for readability.

A desktop or a device without a gyroscope will not produce rotation data. iOS requires an explicit motion permission request from a user gesture. Drift and noise are normal for consumer sensors and are not proof of a hardware fault.

Pemecahan masalah

No gyroscope data appears

Most laptops have no gyroscope. Use a phone or tablet and serve the page over HTTPS.

The permission prompt does not appear

On iOS the request must follow a direct tap. Reload and press the button again.

Values drift while the device is still

Sensor bias and temperature changes cause small drift. This is normal and is corrected by sensor fusion in many apps.

Only some axes change

Rotate around each axis deliberately. A device may not expose all axes equally depending on orientation and browser.

Pertanyaan yang sering diajukan

Iklan