Skip to content

Commit cbecb25

Browse files
committed
Fixed warning and added local mounts for claude authentication.
1 parent e4d6be3 commit cbecb25

File tree

5 files changed

+20
-10
lines changed

5 files changed

+20
-10
lines changed

.claude/settings.local.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
"allow": [
44
"Bash(grep:*)",
55
"WebSearch",
6-
"WebFetch(domain:github.com)"
6+
"WebFetch(domain:github.com)",
7+
"Bash(python3 -m pip install --user --quiet mkdocs mkdocs-material pymdown-extensions)",
8+
"Bash(pip install:*)",
9+
"Bash(mkdocs --version)",
10+
"Bash(python3 -m mkdocs build)",
11+
"Bash(pip3 install:*)",
12+
"Bash(git mv:*)",
13+
"Bash(python3.14 -m mkdocs build)"
714
]
815
}
916
}

.devcontainer/devcontainer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,23 @@
1010
},
1111
"postCreateCommand": [
1212
"pip3 install --user -r requirements.txt",
13-
"pip3 install --user first-agentic-csa"
13+
//"pip3 install --user first-agentic-csa",
1414
"curl -fsSL https://claude.ai/install.sh | bash"
1515
],
1616
"customizations": {
1717
"vscode": {
1818
"extensions": [
1919
"main-branch.mkdocs-snippet-lens",
2020
"aikebang.mkdocs-syntax-highlight",
21-
"ytianle.mkdocs-material-linter"
21+
"ytianle.mkdocs-material-linter",
22+
"anthropic.claude-vscode"
2223
]
2324
}
2425
},
25-
26+
"mounts": [
27+
"source=${localWorkspaceFolder}/../../.claude,target=/home/vscode/.claude,type=bind,consistency=cached",
28+
"source=${localWorkspaceFolder}/../../.claude.json,target=/home/vscode/.claude.json,type=bind,consistency=cached"
29+
]
2630
// Features to add to the dev container. More info: https://containers.dev/features.
2731
// "features": {},
2832

File renamed without changes.

docs/examples/basic_shooter.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ The subsystem has two motors:
1111
- **Flywheel motor** — a brushless NEO that spins a wheel to launch game pieces
1212
- **Feeder motor** — a brushless NEO that pushes game pieces from a hopper/indexer into the flywheel
1313

14-
1514
**See the table of contents for a breakdown of each section.**
1615

1716
***
@@ -30,8 +29,8 @@ The subsystem has two motors:
3029

3130
The complete subsystem code is split across two files in the same folder:
3231

33-
- [`docs/code_examples/ShooterConstants.java`](../../code_examples/ShooterConstants.java) — all tunable values
34-
- [`docs/code_examples/BasicShooterSubsystem.java`](../../code_examples/BasicShooterSubsystem.java) — the subsystem logic
32+
- [`docs/code_examples/ShooterConstants.java`](../code_examples/ShooterConstants.java) — all tunable values
33+
- [`docs/code_examples/BasicShooterSubsystem.java`](../code_examples/BasicShooterSubsystem.java) — the subsystem logic
3534

3635
Every snippet in this guide is pulled directly from those files.
3736

@@ -49,7 +48,7 @@ Constants are stored in their own file, `ShooterConstants.java`, placed in the s
4948
```
5049

5150
| Constant | Purpose |
52-
|---|---|
51+
| --- | --- |
5352
| `FLYWHEEL_MOTOR_ID` | CAN ID of the flywheel SparkMax |
5453
| `FEEDER_MOTOR_ID` | CAN ID of the feeder SparkMax |
5554
| `FLYWHEEL_CURRENT_LIMIT` | Protects the flywheel motor and prevents breaker trips |
@@ -169,7 +168,7 @@ m_shooter.setDefaultCommand(m_shooter.stopCommand());
169168

170169
### Bind Buttons
171170

172-
A typical workflow binds spin-up to one button and the full shoot sequence to another, so the driver can pre-spin the flywheel before feeding balls into the shooter. This ensures the flywheel is up to speed and prevents it from slowing down when a game piece enters.
171+
A typical workflow binds spin-up to one button and the full shoot sequence to another, so the driver can pre-spin the flywheel before feeding balls into the shooter. This ensures the flywheel is up to speed and prevents it from slowing down when a game piece enters.
173172

174173
```java title="RobotContainer.java"
175174
// Hold the right bumper to spin the flywheel up to speed

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ nav:
44
- 'index.md'
55
- 'why_software.md'
66
- Setup:
7-
- 3rd_party_libs.md
7+
- 'setup/3rd_party_libs.md'
88
- Version Control:
99
- 'version_control/BasicGit.md'
1010
- 'version_control/GitWorkflow.md'

0 commit comments

Comments
 (0)