Skip to content

Commit 4c9c0b9

Browse files
committed
Add Romi setup instructions + controller curriculum
1 parent e8f694f commit 4c9c0b9

File tree

4 files changed

+203
-0
lines changed

4 files changed

+203
-0
lines changed

ci/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,19 @@ <h3 id="Robot_software">Robot software</h3><a href=
187187
patterns are covered as well as features of WPILib and FRC team 3512's
188188
custom classes.</p>
189189
</details><br>
190+
<details>
191+
<summary class="curriculum">
192+
Romi robots
193+
</summary>
194+
<h3 id="RomiSetup">Romi Setup</h3><a href="romi/setup/">Module</a>
195+
<p>Setup your Romi robot and flash the wpilibpi image onto it to start
196+
learning FRC programming.</p>
197+
<h3 id="RomiBangBang">Romi Project #1: Bang Bang</h3><a href=
198+
"romi/bang-bang/">Module</a>
199+
<p>Create a Bang-Bang style drivetrain controller for your romi.</p>
200+
<h3 id="RomiPID">Romi Project #2: PID</h3><a href="romi/pid/">Module</a>
201+
<p>Create a drivetrain system for your romi using PID controllers.</p>
202+
</details><br>
190203
<details>
191204
<summary class="curriculum">
192205
Miscellaneous computer science

ci/romi/bang-bang/index.html

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="description" content="Romi Project #1: Bang-Bang">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>Romi Project #1: Bang Bang</title>
8+
<link rel="stylesheet" type="text/css" href="../../../main.css">
9+
<link rel="shortcut icon" type="image/ico" href="../../../favicon.ico">
10+
</head>
11+
<body>
12+
<header id="navbar">
13+
<ul>
14+
<li>
15+
<a href="../../../">Home</a>
16+
</li>
17+
<li>
18+
<a href="../../../admin/">Admin</a>
19+
</li>
20+
<li>
21+
<a href="../../../bootstrap/">Developer Bootstrap</a>
22+
</li>
23+
<li>
24+
<a href="../../../vpn/">VPN Setup</a>
25+
</li>
26+
<li>
27+
<a href="../../../ci/">Curriculum</a>
28+
</li>
29+
<li>
30+
<a href="../../../fll/">FLL</a>
31+
</li>
32+
<li>
33+
<a href="../../../archives/">Archives</a>
34+
</li>
35+
</ul>
36+
</header>
37+
<div class="body">
38+
<h1>Romi Project #1: Bang Bang</h1>
39+
<h2 id="Introduction">Introduction</h2>
40+
<p>A Bang-bang controller is defined as controlling a plant with two
41+
states: on and off. In our specific example, the drivetrain of the Romi
42+
would continue to drive until its distance equals or is higher than the
43+
desired distance.</p>
44+
<h2 id="Critera">Critera</h2>
45+
<p>To successfully complete this project, you should ensure you do the
46+
following:</p>
47+
<ul>
48+
<li>Make a drive function that takes in a distance (in meters)</li>
49+
<li>Have the romi drive until it reaches that distance</li>
50+
<li>Once reached or exceeded a bit, the Romi should stop.</li>
51+
</ul>
52+
<blockquote>
53+
<i>Note:</i> For this project, it does not matter if you run your code in
54+
either the telop or autonomous period. However, its recommended to place
55+
your code into autonomous to practice creating autons.
56+
</blockquote>
57+
<h2 id="Tutorial">Project Setup</h2>
58+
<p>A Romi template is avaliable for your to clone <a href=
59+
"https://github.com/quantamancer/TinyBot">here</a>.</p>
60+
<blockquote>
61+
<i>Note:</i> The Romi template lies on the main branch of the repo. The
62+
other branches are meant to serve as possible solutions for implementing
63+
different types of controllers.
64+
</blockquote>
65+
</div>
66+
</body>
67+
</html>

ci/romi/pid/index.html

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="description" content="Romi Project #2: PID Controller">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>Romi Project #2: PID Controller</title>
8+
<link rel="stylesheet" type="text/css" href="../../../main.css">
9+
<link rel="shortcut icon" type="image/ico" href="../../../favicon.ico">
10+
</head>
11+
<body>
12+
<header id="navbar">
13+
<ul>
14+
<li>
15+
<a href="../../../">Home</a>
16+
</li>
17+
<li>
18+
<a href="../../../admin/">Admin</a>
19+
</li>
20+
<li>
21+
<a href="../../../bootstrap/">Developer Bootstrap</a>
22+
</li>
23+
<li>
24+
<a href="../../../vpn/">VPN Setup</a>
25+
</li>
26+
<li>
27+
<a href="../../../ci/">Curriculum</a>
28+
</li>
29+
<li>
30+
<a href="../../../fll/">FLL</a>
31+
</li>
32+
<li>
33+
<a href="../../../archives/">Archives</a>
34+
</li>
35+
</ul>
36+
</header>
37+
<div class="body">
38+
<h1>Romi Project #2: PID Controller</h1>
39+
<h2 id="Introduction">Introduction</h2>
40+
<p>A Bang-bang controller is defined as controlling a plant with two
41+
states: on and off. In our specific example, the drivetrain of the Romi
42+
would continue to drive until its distance equals or is higher than the
43+
desired distance.</p>
44+
<h2 id="Critera">Critera</h2>
45+
<p>To successfully complete this project, you should ensure you do the
46+
following:</p>
47+
<ul>
48+
<li>Make a drive function that takes in a distance (in meters)</li>
49+
<li>Have the romi drive until it reaches that distance</li>
50+
<li>Once reached or exceeded a bit, the Romi should stop.</li>
51+
</ul>
52+
<blockquote>
53+
<i>Note:</i> For this project, it does not matter if you run your code in
54+
either the telop or autonomous period. However, its recommended to place
55+
your code into autonomous to practice creating autons.
56+
</blockquote>
57+
<h2 id="Tutorial">Project Setup</h2>
58+
<p>A Romi template is avaliable for your to clone <a href=
59+
"https://github.com/quantamancer/TinyBot">here</a>.</p>
60+
<blockquote>
61+
<i>Note:</i> The Romi template lies on the main branch of the repo. The
62+
other branches are meant to serve as possible solutions for implementing
63+
different types of controllers.
64+
</blockquote>
65+
</div>
66+
</body>
67+
</html>

ci/romi/setup/index.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="description" content="Romi Setup">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>Romi Setup - FRC Team 3512</title>
8+
<link rel="stylesheet" type="text/css" href="../../../main.css">
9+
<link rel="shortcut icon" type="image/ico" href="../../../favicon.ico">
10+
</head>
11+
<body>
12+
<header id="navbar">
13+
<ul>
14+
<li>
15+
<a href="../../../">Home</a>
16+
</li>
17+
<li>
18+
<a href="../../../admin/">Admin</a>
19+
</li>
20+
<li>
21+
<a href="../../../bootstrap/">Developer Bootstrap</a>
22+
</li>
23+
<li>
24+
<a href="../../../vpn/">VPN Setup</a>
25+
</li>
26+
<li>
27+
<a href="../../../ci/">Curriculum</a>
28+
</li>
29+
<li>
30+
<a href="../../../fll/">FLL</a>
31+
</li>
32+
<li>
33+
<a href="../../../archives/">Archives</a>
34+
</li>
35+
</ul>
36+
</header>
37+
<div class="body">
38+
<h1>Romi Setup</h1>
39+
<h2 id="Introduction">Introduction</h2>
40+
<p>Romis are small, inexpensive robots where students are able to program
41+
them using the same tools used for regular FRC competition bots. It's
42+
imaged with wpilibpi, meaning that its possible to implement solutions like
43+
vision on to it, making it a great learning tool for newer software
44+
students.</p>
45+
<h2 id="Tutorial">Assembly</h2>
46+
<p>Please refer to <a href=
47+
"https://docs.wpilib.org/en/stable/docs/romi-robot/hardware.html">here</a>
48+
for instructions on how to put together your Romi kit.</p>
49+
<h2 id="Flashing">Flashing</h2>
50+
<p>Please refer to <a href=
51+
"https://docs.wpilib.org/en/stable/docs/romi-robot/imaging-romi.html">here</a>
52+
on how to flash your SD card with wpilibpi and how to connect to the its
53+
web UI.</p>
54+
</div>
55+
</body>
56+
</html>

0 commit comments

Comments
 (0)