team581 / 2024-offseason-comp

Team 581's robot software for our competition robot from the 2024 FRC offseason
2 stars 0 forks source link

Use a bounding box for scoring in note map #54

Closed simonstoryparker closed 4 weeks ago

simonstoryparker commented 3 months ago

Currently, we have fixed scoring positions. However, it takes time to pathfinding to a scoring position, which is unnecessary when we're already in a place we can shoot from. We should make a simple bounding box around the area we can shoot from, and we can add a .unless() to the scoreCommand() that checks if our robot is in the scoring box.

jonahsnider commented 1 month ago

Probably something like this is what we want it to be. Goals:

Drawn zone of valid shots in red wing

jonahsnider commented 1 month ago

I will also add that this only really matters for scoring notes that aren't from the midline. So honestly, this probably isn't going to be that useful unless we're running cleanup mode. Keep this in mind when evaluating priorities on what to add to note map.