Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
52 lines
1.6 KiB
HTML
Executable file
52 lines
1.6 KiB
HTML
Executable file
<!doctype html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
|
|
|
<title>Test Sensors</title>
|
|
|
|
<!-- Load up the controller code. -->
|
|
<script src="js/physical-events.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h3>Acceleration</h3>
|
|
|
|
<p>acceleration.x: <span id="acceleration-x"></span></p>
|
|
<p>acceleration.y: <span id="acceleration-y"></span></p>
|
|
<p>acceleration.z: <span id="acceleration-z"></span></p>
|
|
|
|
<h3>Acceleration Including Gravity</h3>
|
|
|
|
<p>accelerationIncludingGravity.x:
|
|
<span id="acceleration-gravity-x"></span></p>
|
|
<p>accelerationIncludingGravity.y:
|
|
<span id="acceleration-gravity-y"></span></p>
|
|
<p>accelerationIncludingGravity.z:
|
|
<span id="acceleration-gravity-z"></span></p>
|
|
|
|
<h3>Time Between Motion Events</h3>
|
|
|
|
<p><span id="interval"></span> milliseconds</p>
|
|
|
|
<h3>Rotation Rate</h3>
|
|
|
|
<p>rotationRate.alpha: <span id="rot-rate-alpha"></span></p>
|
|
<p>rotationRate.beta: <span id="rot-rate-beta"></span></p>
|
|
<p>rotationRate.gamma: <span id="rot-rate-gamma"></span></p>
|
|
|
|
<h3>Orientation</h3>
|
|
|
|
<p>orientation.alpha: <span id="orientation-alpha"></span></p>
|
|
<p>orientation.beta: <span id="orientation-beta"></span></p>
|
|
<p>orientation.gamma: <span id="orientation-gamma"></span></p>
|
|
|
|
<h3>Calibration</h3>
|
|
|
|
<p>compassneedscalibration: <span id="compassneedscalibration"></span></p>
|
|
|
|
</body>
|
|
</html>
|