Skip to content

Commit 03dead4

Browse files
committed
Merge branch 'robolancer_updates' of https://github.com/RoboLancers/FRC-Java-Tutorial into robolancer_updates
2 parents b310180 + 8e5d714 commit 03dead4

File tree

4 files changed

+38
-11
lines changed

4 files changed

+38
-11
lines changed

.github/workflows/Deploy_site.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: Deploy Site
22
permissions:
33
contents: write
44
on:
5-
#pull_request:
6-
# branches:
7-
# - main
8-
push:
5+
pull_request:
96
branches:
10-
- robolancer_updates
7+
- robolancer_updates
8+
#push:
9+
# branches:
10+
# - robolancer_updates
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Build MkDocs
2+
on:
3+
push:
4+
branches:
5+
- robolancer_updates
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-python@v5
12+
with:
13+
python-version: 3.x
14+
- run: pip install -r requirements.txt
15+
- run: mkdocs build

.github/workflows/main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Publish docs via GitHub Pages
2+
on:
3+
push:
4+
branches:
5+
- robolancer_updates
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-python@v2
12+
with:
13+
python-version: 3.x
14+
- run: pip install -r requirements.txt
15+
- run: mkdocs gh-deploy --force

docs/programming/driving_robot.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Create the configuration to apply to motors. Voltage compensation helps the robo
340340
leftLeader.configure(config, ResetMode.kResetSafeParameters, PersistMode.kPersistParameters);
341341
```
342342

343-
<details><summary>Example</summary
343+
<details><summary>Example</summary>
344344

345345
```Java
346346
package frc.robot.subsystems;
@@ -437,7 +437,7 @@ Now it’s time to make an arcadeDrive from our differentialDrive!
437437

438438
You may want to do this for initial testing to make sure everything is going the right direction.
439439

440-
<details><summary>Example</summary>
440+
<details><summary>Drive Example</summary>
441441

442442
The code you type should be this:
443443

@@ -507,9 +507,8 @@ Now it’s time to make an arcadeDrive from our differentialDrive!
507507
}
508508
```
509509
</details>
510-
***
511510

512-
## Making our robot controllable
511+
### Making our robot controllable
513512

514513
### Creating the Drivearcade Command
515514

@@ -548,7 +547,6 @@ Before we begin we must create the class file for the DriveArcade command. See [
548547
```
549548
These are values that will be passed into the command in `RobotContainer.java`
550549

551-
552550
!!! summary ""
553551
**2)** Inside constructor `#!java DriveArcade()` type:
554552

@@ -581,7 +579,6 @@ Before we begin we must create the class file for the DriveArcade command. See [
581579
driveSubsystem.driveArcade(xSpeed.getAsDouble(), zRotation.getAsDouble());
582580
```
583581

584-
585582
#### In the isFinished method
586583

587584
Since we will be using this command to control the robot we want it to run indefinitely.

0 commit comments

Comments
 (0)