Skip to content

Add a "Practice Field Mode" #3359

Description

@itsarune

Description of the task

In Robocup, we often only have half a field to test with. In the mezzanine, we only have 1/4 of a field to test with. Implement a way to limit the field size so that we can run smaller games with smaller fields. This should:

  1. Filter out robots that are outside this smaller field size
  2. Prevent the trajectory planner from planning paths outside the given area
  3. Allow us to play full games on smaller field sizes

Possible approach:

  1. Create a new Field type
  2. The parameters of the field object should be adjustable via parameters.proto. This gets rendered in the Parameter configuration widget in Thunderscope.
  3. Add the ability to override the Field object in SensorFusion.

Acceptance criteria

  • Field test a game with a smaller field in the mezzanine with a friendly and enemy net
  • Add unit tests for overriding the Field object in SensorFusion. We should test overridden Fields should not be overwritten by SSLProto::SSL_GeometryData packets

Blocked By

Metadata

Metadata

Assignees

Labels

Difficulty - 13Requires a good understanding of relevant systems and toolsNeeds HardwareThis ticket needs extra hardware, like a robot or development board to work onTestingField testing, test infrastructure, robot tuning

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions