Skip to content

Commit

Permalink
Update robot_api.html
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkCloud-the committed Jul 26, 2024
1 parent c143a2f commit 23ff25c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Static /Website-robot-api-master/robot_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<div style="float:left;"> <!-- Makes sure the title doesn't go all the way right -->
<img style="width:50px;" src="titleicon.png">
<!-- <img style="width:50px;" src="titleicon.png"> -->
<a style="float:right;" class="navbar-brand"> <!-- Makes the title right of the icon, default is otherwise -->
<div id="title">Pioneers in Engineering</div>
<div id="small-title">PiE</div>
Expand All @@ -46,7 +46,7 @@
</div><!-- /.container-fluid -->
<img style="width:50px;" src="titleicon.png" alt="Title Icon">

<div class="api-hero" style="background-image: ">
<!-- <div class="api-hero" style="background-image: "> -->
<!-- <img src="" alt=""> -->
<div class="fade-overlay"></div>
<div class="container">
Expand Down Expand Up @@ -567,7 +567,7 @@ <h2 data-toc-text="Gamepad.get_value">Gamepad.get_value(name) - Joysticks</h2>
<p>Each joystick has a reading in the x and y axes, essentially an (x, y) coordinate. The joysticks are distinguished as either the right or left. The x-value and y-value must be between -1 and 1 and are bounded by the unit circle.</p>
<div class="row">
<div class="col-sm-4">
<img src="assets/student-resources/robot_api_1.png" width="300px" />
<!-- <img src="assets/student-resources/robot_api_1.png" width="300px" /> -->
</div>
<div class="col-sm-6">
A joystick pointing fully pushed up has a x-value of 0 and a y-value of 1.
Expand All @@ -576,7 +576,7 @@ <h2 data-toc-text="Gamepad.get_value">Gamepad.get_value(name) - Joysticks</h2>

<div class="row">
<div class="col-sm-4">
<img src="assets/student-resources/robot_api_2.png" width="300px" />
<!-- <img src="assets/student-resources/robot_api_2.png" width="300px" /> -->
</div>
<div class="col-sm-6">
A joystick fully pushed left has a x-value of -1 and a y-value of 0.
Expand All @@ -585,7 +585,7 @@ <h2 data-toc-text="Gamepad.get_value">Gamepad.get_value(name) - Joysticks</h2>

<div class="row">
<div class="col-sm-4">
<img src="assets/student-resources/robot_api_3.png" width="300px" />
<!-- <img src="assets/student-resources/robot_api_3.png" width="300px" /> -->
</div>
<div class="col-sm-6">
A joystick fully pushed to the top right has a x-value of roughly .7 and a y-value of roughly .7.
Expand Down Expand Up @@ -770,4 +770,4 @@ <h1>Glossary</h1>

</body>

</html>
</html>

0 comments on commit 23ff25c

Please sign in to comment.