Skip to content

drive-util.mdx added - #15

Merged
zachwaffle4 merged 4 commits into
NextFTC:mainfrom
28shettr:drive-util
Aug 21, 2026
Merged

drive-util.mdx added#15
zachwaffle4 merged 4 commits into
NextFTC:mainfrom
28shettr:drive-util

Conversation

@28shettr

Copy link
Copy Markdown

No description provided.

Comment thread src/content/docs/robot/drive-util.mdx Outdated
@@ -0,0 +1,181 @@
---
title: Drive Util
description: Grouping hardware and behavior into reusable subsystems with Mechanism.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the wrong description

Comment thread src/content/docs/robot/drive-util.mdx Outdated
</TabItem>
</Tabs>

Register it on your `NextRobot’s` `getMechanisms()` set, same as any other mechanism.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Register it on your `NextRobot’s` `getMechanisms()` set, same as any other mechanism.
Register it on your `NextRobot’s` `getMechanisms()` set, just like any other mechanism.

Comment thread src/content/docs/robot/drive-util.mdx Outdated

Register it on your `NextRobot’s` `getMechanisms()` set, same as any other mechanism.

## Create `startDrive` like this in your robot class

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Create `startDrive` like this in your robot class
In your `Robot` class, add a `startDrive` method like this:

Comment thread src/content/docs/robot/drive-util.mdx Outdated

## Scalars

which takes your input and multiplies it for different speed modes or sensitivities.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a complete sentence

Comment thread src/content/docs/robot/drive-util.mdx Outdated
</TabItem>
</Tabs>

You can use it like this, for example a slow-mode button.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reword this to make more sense

@zachwaffle4
zachwaffle4 merged commit 93c2801 into NextFTC:main Aug 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants