MARSProgramming / MARSProgramming/M15

Advanced Shooter Behavior

Offen
#6 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

better method/nice to have
Vorherrschende Sprache
LabVIEW
Sterne
2
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

This is gonna be a toughie, how do we get the ball to the upper goal? Once again, Pratham, Shawn, and Kenneth have some theoretical equations (and so does Andrew/Ryan) for this problem, but there are a few things we need to get right before this happens. We need to somehow accurately know what angle the ball will release from the robot based on the cowl angle and the flywheel speed, which is not as linear as one would hope (or at least, it wasn't on M14). An idea I had for this was to use something like this (https://markrober.store/products/40mph-speed-square-blanket) to record data (like in slow motion video) about the ball's trajectory based on cowl and flywheel speed, then create a table or hopefully a nice equation to find the ball's angle. While this is technically empirical, it would be actual data instead of just guess and check, and could give something genuinely useful. Of course, we also need to accurately know the distance from the target for this to be useful information.

I wouldn't want to do this, but if this is inaccurate enough, we might have to do the good ol' look-up table converting from distance to cowl angle and flywheel speed based on empirical testing. I would love to actually have some sort of sophisticated approach to this, because this would allow for much easier shooting while moving implementation, but this is a very real possibility.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die Cowl- und Flywheel-Steuerungen des Roboters zu lokalisieren, und überprüfe dann, wie Distanz und Ballflugbahn derzeit behandelt werden. Erledigt wäre die Aufgabe erst mit einem validierten Schussmodell oder einer Nachschlagetabelle, das bzw. die das obere Tor über relevante Distanzen und Einstellungen hinweg zuverlässig erreicht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
robotics
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.