Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define waypoint locations based on other waypoints #297

Closed
nlaverdure opened this issue Jan 28, 2024 · 3 comments
Closed

Define waypoint locations based on other waypoints #297

nlaverdure opened this issue Jan 28, 2024 · 3 comments
Labels
component: ui UI frontend type: enhancement New feature or request

Comments

@nlaverdure
Copy link
Member

nlaverdure commented Jan 28, 2024

Real-world FRC fields are often assembled with errors and asymmetries (sometimes far in excess of the assembly tolerance listed in the game manual).

To account for this, teams frequently need to tweak and tune their paths when they arrive at events. This can be difficult, given that their only resources are:

  • A brief window for accessing the field and taking measurements by hand
  • Opportunities to witness the success/failure of their auto modes in matches
  • (If teams have some kind of mapping technology, they could also use that during matches and/or during the official measurement period)

ZCZ_6151
photo credit: Zach Clarke

We can increase the competitive success of teams using Choreo if we can help them complete this tuning activity faster, enabling their autos to work as designed earlier in the event. One way to do this is to decrease the number of by-hand measurements that teams would need to take to ensure their waypoints align with the critical field geometry.

In Choreo and other pathplanning software, waypoints are typically placed with respect to the global coordinate system. If waypoints could optionally be be defined relative to another waypoint, we can reduce the number of independent references to the global coordinate system.
image

A special kind of waypoint, an anchor point, could also be created for the purpose of anchoring these relative waypoint definitions. An anchor point would have no affect on the trajectory.
image

Teams could construct their paths such that when they arrive at a new event, they'd simply need to adjust the position of a few anchor points to get a high degree of confidence that their autos will hit. In the 2024 game, these anchor points might be:

  • The center of the base of the two Speakers
  • The center of the base of the two Amps
  • The position of the 11 "spike marks" where field resetters will stage the Notes
@nlaverdure nlaverdure added the type: enhancement New feature or request label Jan 28, 2024
@nlaverdure
Copy link
Member Author

Choreo would need to prevent the creation of circular dependencies (chaining together a closed loop of relative waypoint definitions)

@calcmogul calcmogul changed the title [Feature request] Define waypoint locations based on other waypoints Define waypoint locations based on other waypoints Mar 3, 2024
@calcmogul calcmogul added the component: ui UI frontend label Mar 3, 2024
@shueja
Copy link
Collaborator

shueja commented Aug 25, 2024

Is this addressed by #566

@shueja shueja closed this as completed Aug 25, 2024
@shueja shueja reopened this Aug 25, 2024
@shueja
Copy link
Collaborator

shueja commented Sep 24, 2024

Considering this addressed by expressions/variables, with future QOL/usability enhancements possibly to come

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ui UI frontend type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants