-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ fb94834 π
- Loading branch information
Showing
618 changed files
with
160,407 additions
and
66,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>pros/abstract_motor.hpp file | PROS for | ||
V5</title> | ||
<link rel="stylesheet" href="m-dark+documentation.compiled.css" /> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" /> | ||
<link rel="stylesheet" href="pros-custom.css" /> | ||
<link rel="stylesheet" href="pros-code.css" /> | ||
<link rel="icon" href="logo.png" type="image/png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="theme-color" content="#e6b85c" /> | ||
</head> | ||
<body> | ||
<header><nav id="navigation"> | ||
<div class="m-container"> | ||
<div class="m-row"> | ||
<a href="index.html" id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m"><img src="logo.png" alt="" />PROS <span class="m-thin">for | ||
V5</span></a> | ||
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr"> | ||
<a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16"> | ||
<path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/> | ||
</svg></a> | ||
<a id="m-navbar-show" href="#navigation" title="Show navigation"></a> | ||
<a id="m-navbar-hide" href="#" title="Hide navigation"></a> | ||
</div> | ||
<div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m"> | ||
<div class="m-row"> | ||
<ol class="m-col-t-6 m-col-m-none"> | ||
<li><a href="getting-started.html">Getting Started</a></li> | ||
<li> | ||
<a href="tutorials.html">Tutorials</a> | ||
<ol> | ||
<li><a href="general-tutorials.html">General Tutorials</a></li> | ||
<li><a href="walkthrough-tutorials.html">Walkthrough Tutorials</a></li> | ||
<li><a href="topical-tutorials.html">Topical Tutorials</a></li> | ||
</ol> | ||
</li> | ||
<li><a href="api.html">API Home</a></li> | ||
</ol> | ||
<ol class="m-col-t-6 m-col-m-none" start="4"> | ||
<li> | ||
<a href="#">Other</a> | ||
<ol> | ||
<li><a href="pages.html">Pages</a></li> | ||
<li><a href="annotated.html">Classes</a></li> | ||
<li><a href="modules.html">Modules</a></li> | ||
<li><a href="namespaces.html">Namespaces</a></li> | ||
<li><a href="files.html">Files</a></li> | ||
</ol> | ||
</li> | ||
<li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16"> | ||
<use href="#m-doc-search-icon-path" /> | ||
</svg></a></li> | ||
</ol> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</nav></header> | ||
<main><article> | ||
<div class="m-container m-container-inflatable"> | ||
<div class="m-row"> | ||
<div class="m-col-l-10 m-push-l-1"> | ||
<h1> | ||
<span class="m-breadcrumb"><a href="dir_214b722ca0199f3055230149c608b806.html">pros</a>/</span>abstract_motor.hpp <span class="m-thin">file</span> | ||
</h1> | ||
<div class="m-block m-default"> | ||
<h3>Contents</h3> | ||
<ul> | ||
<li> | ||
Reference | ||
<ul> | ||
<li><a href="#namespaces">Namespaces</a></li> | ||
<li><a href="#nested-classes">Classes</a></li> | ||
<li><a href="#enum-members">Enums</a></li> | ||
<li><a href="#typedef-members">Typedefs</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
<p>Contains prototypes for AbstractMotor, the abstract base class of both motors and motor groups. Abstract motors cannot be directly constructed, but you can use motors and motor groups as abstract motors.</p><p>This file should not be modified by users, since it gets replaced whenever a kernel upgrade occurs.</p><aside class="m-note m-default"><h4>Copyright</h4><p>Copyright (c) 2017-2023, Purdue University ACM SIGBots. All rights reserved.</p></aside><p>This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at <a href="http://mozilla.org/MPL/2.0/">http:/<wbr />/<wbr />mozilla.org/<wbr />MPL/<wbr />2.0/<wbr /></a>.</p> | ||
<section id="namespaces"> | ||
<h2><a href="#namespaces">Namespaces</a></h2> | ||
<dl class="m-doc"> | ||
<dt>namespace <a href="namespacepros.html" class="m-doc">pros</a></dt> | ||
<dd>LLEMU Conditional Include<br /></dd> | ||
<dt>namespace <a href="namespacepros_1_1v5.html" class="m-doc">pros::v5</a></dt> | ||
<dd><span></span></dd> | ||
</dl> | ||
</section> | ||
<section id="nested-classes"> | ||
<h2><a href="#nested-classes">Classes</a></h2> | ||
<dl class="m-doc"> | ||
<dt> | ||
class <a href="classpros_1_1v5_1_1AbstractMotor.html" class="m-doc">pros::v5::AbstractMotor</a> | ||
</dt> | ||
<dd><span></span></dd> | ||
</dl> | ||
</section> | ||
<section id="enum-members"> | ||
<h2><a href="#enum-members">Enums</a></h2> | ||
<dl class="m-doc"> | ||
<dt> | ||
<span class="m-doc-wrap-bumper">enum class <a href="namespacepros_1_1v5.html#a4bbc51927291bf7b40f671bb83050356" class="m-doc">MotorBrake</a> { </span><span class="m-doc-wrap"><a href="#a4bbc51927291bf7b40f671bb83050356a756d153ba898e1be8218d4651009e981" class="m-doc">coast</a> = 0, | ||
<a href="#a4bbc51927291bf7b40f671bb83050356ab4628ac934a343cc5df197f6a709633b" class="m-doc">brake</a> = 1, | ||
<a href="#a4bbc51927291bf7b40f671bb83050356aaf1d8213f4a22b0f9803fec9259ff7a8" class="m-doc">hold</a> = 2, | ||
<a href="#a4bbc51927291bf7b40f671bb83050356afedb2d84cafe20862cb4399751a8a7e3" class="m-doc">invalid</a> = INT32_MAX }</span> | ||
</dt> | ||
<dd><span></span></dd> | ||
<dt> | ||
<span class="m-doc-wrap-bumper">enum class <a href="namespacepros_1_1v5.html#ab231d92d02eadc905cd4fb268568d9b2" class="m-doc">MotorEncoderUnits</a> { </span><span class="m-doc-wrap"><a href="#ab231d92d02eadc905cd4fb268568d9b2a18daee01fc6e54aacd7f4c2eef60ff4d" class="m-doc">degrees</a> = 0, | ||
<a href="#ab231d92d02eadc905cd4fb268568d9b2a3e9eb617073a0597ec590d7bd0f2a407" class="m-doc">deg</a> = 0, | ||
<a href="#ab231d92d02eadc905cd4fb268568d9b2ad52e30a99086786b005c11c05b280215" class="m-doc">rotations</a> = 1, | ||
<a href="#ab231d92d02eadc905cd4fb268568d9b2a0700cd3e2cd8b37ef510dd5aa2c81fc6" class="m-doc">counts</a> = 2, | ||
<a href="#ab231d92d02eadc905cd4fb268568d9b2afedb2d84cafe20862cb4399751a8a7e3" class="m-doc">invalid</a> = INT32_MAX }</span> | ||
</dt> | ||
<dd><span></span></dd> | ||
<dt> | ||
<span class="m-doc-wrap-bumper">enum class <a href="namespacepros_1_1v5.html#a3bad47afb79fa112f199d2c5f54eec8d" class="m-doc">MotorGears</a> { </span><span class="m-doc-wrap"><a href="#a3bad47afb79fa112f199d2c5f54eec8da5974b2d1685dec0dff9eb27b64d94f32" class="m-doc">ratio_36_to_1</a> = 0, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8dabda9643ac6601722a28f238714274da4" class="m-doc">red</a> = ratio_36_to_1, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8dac58a2ad7324d7a1876f3211b655fe6eb" class="m-doc">rpm_100</a> = ratio_36_to_1, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8da2c1b301022b4357432cb1c28d2cd50f5" class="m-doc">ratio_18_to_1</a> = 1, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8da9f27410725ab8cc8854a2769c7a516b8" class="m-doc">green</a> = ratio_18_to_1, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8dabff9499134353837c826a92313b1199b" class="m-doc">rpm_200</a> = ratio_18_to_1, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8da3670a4362efabb20bbefb81e18e42c38" class="m-doc">ratio_6_to_1</a> = 2, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8da48d6215903dff56238e52e8891380c8f" class="m-doc">blue</a> = ratio_6_to_1, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8daf33bb6db6d708dcc1fc10dc93a90960d" class="m-doc">rpm_600</a> = ratio_6_to_1, | ||
<a href="#a3bad47afb79fa112f199d2c5f54eec8dafedb2d84cafe20862cb4399751a8a7e3" class="m-doc">invalid</a> = INT32_MAX }</span> | ||
</dt> | ||
<dd><span></span></dd> | ||
</dl> | ||
</section> | ||
<section id="typedef-members"> | ||
<h2><a href="#typedef-members">Typedefs</a></h2> | ||
<dl class="m-doc"> | ||
<dt> | ||
using <a href="namespacepros_1_1v5.html#aea59920620d1c7618398359ee93f303e" class="m-doc">MotorUnits</a> = MotorEncoderUnits | ||
</dt> | ||
<dd><span></span></dd> | ||
<dt> | ||
using <a href="namespacepros_1_1v5.html#ade48501037ac2a766bd63ca9d1a8c828" class="m-doc">MotorGearset</a> = MotorGears | ||
</dt> | ||
<dd><span></span></dd> | ||
<dt> | ||
using <a href="namespacepros_1_1v5.html#aebb777ae4f994347f8a6bfd7af7682a2" class="m-doc">MotorCart</a> = MotorGears | ||
</dt> | ||
<dd><span></span></dd> | ||
<dt> | ||
using <a href="namespacepros_1_1v5.html#a8458c1f0af361d6a9c63ce556ce1882c" class="m-doc">MotorCartridge</a> = MotorGears | ||
</dt> | ||
<dd><span></span></dd> | ||
<dt> | ||
using <a href="namespacepros_1_1v5.html#a16aa0ea5d3aa13583cfe49e018368f43" class="m-doc">MotorGear</a> = MotorGears | ||
</dt> | ||
<dd><span></span></dd> | ||
</dl> | ||
</section> | ||
</div> | ||
</div> | ||
</div> | ||
</article></main> | ||
<div class="m-doc-search" id="search"> | ||
<a href="#!" onclick="return hideSearch()"></a> | ||
<div class="m-container"> | ||
<div class="m-row"> | ||
<div class="m-col-m-8 m-push-m-2"> | ||
<div class="m-doc-search-header m-text m-small"> | ||
<div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div> | ||
<div id="search-symbolcount">…</div> | ||
</div> | ||
<div class="m-doc-search-content"> | ||
<form> | ||
<input type="search" name="q" id="search-input" placeholder="Loading …" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" /> | ||
</form> | ||
<noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript> | ||
<div id="search-help" class="m-text m-dim m-text-center"> | ||
<p class="m-noindent">Search for symbols, directories, files, pages or | ||
modules. You can omit any prefix from the symbol or file path; adding a | ||
<code>:</code> or <code>/</code> suffix lists all members of given symbol or | ||
directory.</p> | ||
<p class="m-noindent">Use <span class="m-label m-dim">↓</span> | ||
/ <span class="m-label m-dim">↑</span> to navigate through the list, | ||
<span class="m-label m-dim">Enter</span> to go. | ||
<span class="m-label m-dim">Tab</span> autocompletes common prefix, you can | ||
copy a link to the result using <span class="m-label m-dim">β</span> | ||
<span class="m-label m-dim">L</span> while <span class="m-label m-dim">β</span> | ||
<span class="m-label m-dim">M</span> produces a Markdown link.</p> | ||
</div> | ||
<div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div> | ||
<ul id="search-results"></ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script src="search-v2.js"></script> | ||
<script src="searchdata-v2.js" async="async"></script> | ||
<footer><nav> | ||
<div class="m-container"> | ||
<div class="m-row"> | ||
<div class="m-col-l-10 m-push-l-1"> | ||
<p>PROS for | ||
V5. Created with <a href="https://doxygen.org/">Doxygen</a> 1.8.17 and <a href="https://mcss.mosra.cz/">m.css</a>.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</nav></footer> | ||
</body> | ||
</html> |
Oops, something went wrong.