tahamajs/CPS / Files /ComputerAssignments /CA2 /DEMO_SCRIPT.html
tahamajs's picture
download
raw
2.8 kB
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="utf-8">
<title>DEMO_SCRIPT</title>
<style>
body { font-family: Tahoma, 'Segoe UI', sans-serif; line-height: 2.0; font-size: 11pt; color: #0f172a; padding: 30px; background-color: #ffffff; }
h1 { color: #1e1b4b; border-bottom: 3px solid #4f46e5; padding-bottom: 10px; font-size: 22pt; margin-top: 30px; }
h2 { color: #1e293b; background-color: #f1f5f9; border-right: 5px solid #3b82f6; padding: 8px 12px; font-size: 16pt; margin-top: 25px; }
h3 { color: #2563eb; font-size: 13pt; margin-top: 20px; }
p { text-align: justify; margin-bottom: 15px; }
pre { background-color: #0f172a; color: #f8fafc; padding: 15px; border-radius: 6px; font-family: Courier, monospace; font-size: 10pt; overflow-x: auto; }
code { background-color: #f1f5f9; color: #0f172a; padding: 2px 5px; border-radius: 4px; font-family: Courier, monospace; }
table { border-collapse: collapse; width: 100%; margin: 20px 0; }
th, td { border: 1px solid #cbd5e1; padding: 10px; text-align: right; }
th { background-color: #f1f5f9; }
ul, ol { padding-right: 25px; }
</style>
</head>
<body>
<div class="container">
<h1>AirMouse Pro — Live System Demonstration Script</h1>
<p><strong>Duration:</strong> 5 Minutes<br />
<strong>Target Audience:</strong> CPS Course Instructors &amp; Evaluators </p>
<hr />
<h2>Phase 1: Go Server &amp; System Launch (0:00 – 1:00)</h2>
<ol>
<li><strong>Start Go Native Server:</strong>
<code>bash
python airmouse_server_mcp.py start_go_server</code></li>
<li><strong>Verify Server Status:</strong>
<code>bash
python airmouse_server_mcp.py server_status
python airmouse_server_mcp.py go_check_server_reachable</code></li>
</ol>
<h2>Phase 2: Android App &amp; 3-Step Calibration (1:00 – 2:30)</h2>
<ol>
<li>Launch AirMouse Android app.</li>
<li>Complete <strong>Step 1: Gyroscope Calibration</strong> (Stationary, 100 samples).</li>
<li>Complete <strong>Step 2: Magnetometer Calibration</strong> (Figure-8 motion, 200 samples).</li>
<li>Complete <strong>Step 3: Accelerometer 6-Position Calibration</strong>.</li>
</ol>
<h2>Phase 3: Spatial Air-Mouse Control &amp; Gestures (2:30 – 4:00)</h2>
<ol>
<li>Move phone in 3D space to control PC cursor (Kalman smoothing &amp; acceleration).</li>
<li>Perform <strong>Left Click Gesture</strong> (Gyro Y $&gt; 8.0 ext{ rad/s}$).</li>
<li>Perform <strong>Scroll Gesture</strong> (Accel Y $&gt; 8.0 ext{ m/s}^2$).</li>
<li>Perform <strong>Right Click Tilt</strong> (Roll $&gt; 45^\circ$).</li>
</ol>
<h2>Phase 4: Perfetto Latency Verification &amp; Teardown (4:00 – 5:00)</h2>
<ol>
<li>Execute <code>python airmouse_server_mcp.py run_perfetto_analyzer</code>.</li>
<li>Confirm latency metrics in <code>Gozarish_Perfetto_CA2.md</code>.</li>
</ol>
</div>
</body>
</html>

Xet Storage Details

Size:
2.8 kB
·
Xet hash:
c4ed07b1f23550010546bd7a47e4b366412aab5095212af60cdf664c529c71ce

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.