Skip to content

Create Paths #13

Description

@cuttestkittensrule

Named commands

Named commands are used in PathPlanner autos and paths to call robot code. Here is the list of named commands

  • ScoreL1 - Score coral in L1 (aka "trough")
  • ScoreL2 - Score coral in L2
  • ScoreL3 - Score coral in L3
  • BumpAlgaeLow - Bump algae off of the lower level
  • BumpAlgaeHigh - Bump algae off of the higher level
  • IntakeCoral - Intake coral (from the coral station)

Naming scheme

[a-zA-Z-]+-[1-9a-c]{4}(-A[1-6])*
[a-zA-z-]+ - name of path; describes what it does or where it starts eg. mid
[1-9a-c]{4} - number of coral scored at each level (starting at L1) in hexadecimal eg. 12C -> 1 L1, 2 L2, 12 L3, and 0 L4.
(-A[1-6])* - which pieces of algae are taken off of the reef. From the same perspective as the drawings, the rightmost one is A1, and they are numbered incrementally counter-clockwise. eg. -A1-A2-A6 -> algae 1 (rightmost algae), algae 2 (algae above rightmost), and algae 6 (algae below rightmost)

Full example

mid-do-everything-2813-A2-A5-A4
name: mid-do-everything
2 scores in L1
8 scores in L2
1 scores in L3
3 scores L4
takes algae numbers 2, 4, and 5 off of the reef

Autonomous Routines

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions