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

Example Rewrites #1310

Closed
gerth2 opened this issue Apr 27, 2024 · 1 comment · Fixed by #1408
Closed

Example Rewrites #1310

gerth2 opened this issue Apr 27, 2024 · 1 comment · Fixed by #1408
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@gerth2
Copy link
Contributor

gerth2 commented Apr 27, 2024

Is your feature request related to a problem? Please describe.
Examples are out of date.

Describe the solution you'd like
Better examples (see below).

Describe alternatives you've considered
No.

Additional context

Per some discord/champs discussion, there is a need to rewrite the examples to be more modern. Here's my initial list of wants:

  1. Support C++, Java, Python
  2. Support apriltags (only)
  3. Support 4-module swerve drive
  4. Be simulatable out of the box
  5. "Hide" the simulation code as best as possible so the new users aren't distracted
  6. Continue paradigm of demonstrate in Timed-based (and let user convert to command if needed)

Label/order examples from "Simple" to "Advanced" with some supporting docs indicating that Simple isn't bad, Simple still scores points, Advanced has more capability but might need more effort/debug, etc...

But otherwise.... keep the flow similar to what we have today.

  1. Point at Target (button for switching rotation control to center a certain ID tag in the field of view)
  2. Translate to Target (button switching x/y vel to get a certain tag id in a certain spot in the field of view)
  3. Estimate pose & Drive to Position (P control)
  4. ?? wpilib trajectory plan to position?
@gerth2 gerth2 added the enhancement New feature or request label Apr 27, 2024
@gerth2
Copy link
Contributor Author

gerth2 commented Sep 8, 2024

Closed by #1408

@gerth2 gerth2 linked a pull request Sep 8, 2024 that will close this issue
@gerth2 gerth2 added the documentation Improvements or additions to documentation label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant