Skip to content

Determine which field zone we're in #10

@nlaverdure

Description

@nlaverdure

There are several ideas that all relate to dynamically switching the behavior of the robot based on our position on the field:

  • Automatically point the chassis (or the turret) at the Hub when we're in our Alliance Zone and getting ready to shoot
  • Automatically point the chassis (or the turret) at our alliance wall when we're in the Neutral Zone and getting ready to shoot
  • Automatically point the chassis in the direction of travel when we're in the Neutral Zone and intaking balls from the floor
  • Automatically point the chassis at a weird angle when traversing over the Bump

Create a utility method that will return which field area the robot is in, based on its current pose.

The solution could be similar to the methods in the Reef class from last year's code, e.g.

  • getNearestReef()
  • getSector()
  • getNearestFace()

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