Skip to content

Determine whether HUB is active #4

@nlaverdure

Description

@nlaverdure

Create a utility method that returns true when our alliance's hub is active.

Use the following data sources:

  • Our alliance color
    • AllianceSelector.getAllianceColor() or DriverStation.getAlliance()
  • The match elapsed time
    • DriverStation.getMatchTime()
  • The alliance which has won the auto period and whose goal will go inactive first
  • The timing chart of active/inactive hubs (given to us in the game manual)

Consider timing adjustments to account for the latency between a shot and a processed ball

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions