crossbotics

Pedro Path Builder

Draw a path on the BIOBUZZ field. See where the 18 x 18 in robot goes and what it hits. Then copy the Java for FTC-Helper-Lib's Pedro module.

Work in progress. The red marks come from a simple field model (the field parts seen from above). Always try a new path in the simulator, then slowly on the real field.

Tap the map to add:Tap adds:
your path robot hits something other alliance ○ control point (the path bends toward it)

Checks

    Start spot

    Drag the green dot to move it. x right, y away from your wall, inches. Heading: 0 = facing away, 90 = facing left.

    Parts

    Hold: Pedro keeps the robot on the end point (for scoring). Each part starts where the one before ends. The robot drives the parts with no stop between them.

    Robot and field

    BIOBUZZ's field is turned half a turn between the alliances, not mirrored. So keep mirrorForRed() false: the same numbers work from both walls.

    Java

    
    				

    Edit a path you have

    Paste your PedroPath code (or driveTo steps with their s.start line). Plain numbers only.