Skip to content

[Thunderscope] Improve ball_is_off_ground.py Validation Test Visual #3244

@Andrewyx

Description

@Andrewyx

Description of the task

The current ball_is_off_ground.py PyTest Validation uses a flat 2D circle around the ball as its only visualization indicator. The test checks for whenever the ball is off the ground (eg. used when we test for chipping), and should have a better visual for this.

Most of our current tests use 2D shapes to indicate when conditions such as when the ball enters a region occur or if a robot moves the ball. Since chipping occurs in the z-axis, we need a more creative implementation of current tools to achieve an effective visualization. Below is the folder containing commonly used geometry.
https://github.com/UBC-Thunderbots/Software/tree/master/src/software/geom

Acceptance criteria

  • An intuitive visual is made
  • Thunderscope runs
  • All simulated tests pass

Blocked By

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions