모션 및 나침반 테스트
기포 수준 및 실시간 방향 표시를 통해 가능한 경우 가속도계, 자이로스코프 및 나침반 데이터를 읽습니다.
테스트 인터페이스
시작을 누른 후 브라우저에서 권한을 요청할 수 있습니다.이 도구를 사용하는 방법
- Click Enable sensors and grant motion permission if your browser asks.
- Tilt the device and watch the bubble level and axis values.
- Rotate the device to check compass behaviour where supported.
- Stop the test to remove event listeners and end sensor access.
광고
기술적인 설명
The Generic Sensor API and DeviceOrientation/DeviceMotion events expose orientation and motion depending on platform. iOS requires an explicit permission request after a gesture; many desktops expose no motion sensors at all.
Compass readings can be affected by magnetic interference from cases, speakers, and metal surfaces. A browser cannot calibrate the sensor or prove that a reading is physically accurate.
문제 해결
Sensors are unsupported
Desktop browsers often have no motion sensors. Use a mobile device with the required hardware.
Permission request does not appear
On iOS, call the permission prompt from a direct user gesture and ensure the page is served over HTTPS.
Values drift
Magnetic interference and sensor fusion algorithms can cause drift. Move away from magnets and metal objects.
Compass points the wrong way
Compass accuracy varies by device and environment. Do not rely on it for navigation.
관련 도구
자주 묻는 질문
광고