Skip to content

Commit 9dbee08

Browse files
Update README.md
1 parent 459ded0 commit 9dbee08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Keep the required reading handy while you work—the docs answer most "why does
4444

4545
## Stage 1 — Observe the Coordinate Frame
4646
1. In simulation, drive the robot in a gentle square on the blue end of the field. Pay attention to how the robot icon moves when you push the sticks.
47-
2. In AdvantageScope, watch `FieldSimulation/RobotPosition` and identify which axis grows as you move downfield versus side-to-side.
47+
2. In AdvantageScope, watch `RealOutputs/Odometry/Robot` and identify which axis grows as you move downfield versus side-to-side.
4848
3. In `Drive.periodic()` (the subsystem already responsible for odometry updates), add something along the lines of:
4949
```java
5050
Pose2d currentPose = getPose();
@@ -67,7 +67,7 @@ Keep the required reading handy while you work—the docs answer most "why does
6767
_Commit suggestion:_ once the telemetry graphs look right, make a commit such as `git commit -am "Add drive pose telemetry"` so you can roll back easily later.
6868

6969
## Stage 2 — Define Field Reference Poses with Units
70-
1. Create a new file `src/main/java/frc/robot/constants/FieldReferencePoses.java` (or a similar package that fits your style). Give it a structure like:
70+
1. Create a new file `src/main/java/frc/robot/constants/FieldReferencePoses.java`. Give it a structure like:
7171
```java
7272
package frc.robot.constants;
7373

@@ -145,7 +145,7 @@ _Commit suggestion:_ once the telemetry graphs look right, make a commit such as
145145
}
146146
```
147147
Accepting a `Distance` parameter lets callers provide tolerances in any unit.
148-
2. Bind a temporary helper (for instance, `controller.rightBumper().onTrue(Commands.runOnce(() -> fieldVectorTo(...))))`) so you can sample the vector in sim. Watch the `Drive/TargetDirection` log: if the target is forward and left, expect positive X and negative Y. Adjust the math until the signs feel correct, then delete the temporary binding.
148+
2. Bind a temporary helper (for instance, `controller.a().onTrue(Commands.runOnce(() -> fieldVectorTo(...))))`) so you can sample the vector in sim. Watch the `Drive/TargetDirection` log: if the target is forward and left, expect positive X and negative Y. Adjust the math until the signs feel correct, then delete the temporary binding.
149149
3. **Checkpoint 3:** When the logged vector aligns with your intuition from Stage 1, remove the temporary helper and keep this method for the next stage.
150150

151151
## Stage 4 — Drive to a Waypoint

0 commit comments

Comments
 (0)