-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_collection.html
68 lines (67 loc) · 3.11 KB
/
data_collection.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Data Collection</title>
<link rel="stylesheet" href="static/css/styles.css">
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<div class="logo-container">
<div class="logo">MicroBot Project</div>
<div class="dropdown">
<a href="#">Sections ▼</a>
<div class="dropdown-menu">
<a href="index.html">Introduction</a>
<a href="data_collection.html">Data Collection</a>
<a href="implementation.html">Implementation & Code Results</a>
<a href="results_discussion.html">Results & Discussion</a>
<a href="next_steps.html">Next Steps</a>
</div>
</div>
</div>
</nav>
<div class="container">
<h1>Data Collection</h1>
<p>
Trevor collected data on the superparamagnetic micro-robots by applying a magnetic field of varying strength
in milliteslas. This involved going into the lab and using a playstation controller to move around the robot in a custom apparatus that applied magnetic fields to move the robot in the direction of the joystick. While moving the robot around a video is taken. Overall Trevor took 5 videos where the videos named with millitesla or mT is the robot moving right with a magnetic field of that amount applied to it. Then the last video named "Square" is the robot moving in a square motion.
</p>
<p>You can view the video using this player:</p>
<h3>Microrobot Videos</h3>
<div class="video-container">
<label for="videoSelector">Select a video to view:</label>
<select id="videoSelector">
<option value="20mT.mp4">20mT</option>
<option value="25mT.mp4">25mT</option>
<option value="30mT.mp4">30mT</option>
<option value="35mT.mp4">35mT</option>
<option value="Square.mp4">Square</option>
</select>
<video id="videoPlayer" controls>
<source src="static/videos/20mT.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div class="button-row">
<div class="button-container left">
<a href="index.html" class="button">◄ Back to Introduction</a>
</div>
<div class="button-container right">
<a href="implementation.html" class="button">Proceed to Implementation & Code Results ►</a>
</div>
</div>
</div>
<script>
const videoSelector = document.getElementById('videoSelector');
const videoPlayer = document.getElementById('videoPlayer');
videoSelector.addEventListener('change', (event) => {
const selectedVideo = event.target.value;
videoPlayer.src = `static/videos/${selectedVideo}`;
videoPlayer.load();
});
</script>
</body>
</html>