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

Wannebo pathing #15

Open
wants to merge 117 commits into
base: main
Choose a base branch
from
Open

Wannebo pathing #15

wants to merge 117 commits into from

Conversation

jwannebo3524
Copy link
Contributor


Subsystem: auto sub-paths

Description:

Add subpaths and subpath step (a.k.a. PathFollowerStep with stop at end removed so that a series subpaths can be run without stopping)

Tested: Nope. Todo: make actual programs

Collaborators:


potatomasqer and others added 30 commits January 11, 2023 18:53
still figuring out how the org.json stuff works
still learning how to use pathing program
^its just a string. i added the code for getting json from limelight/networktables
into the jsonparser because i had nowhere else to put it.
it will be moved later.
Co-authored-by: JPWaters111 <jwaters3457@users.noreply.github.com>
Start at top, score preload cone pos 1, pick up cone stage1, score cone pos 3, pick up cube stage2, score cube pos 2, engage
Start at top, score preload cone pos 1, pick up cone stage1, score cone pos 3, pick up cube stage2, score cube pos 2, pick up cube stage3
Start at bot, score preload cone pos 9, pick up cone stage4, score cone pos 7, pick up cube stage3, engage
Start at bot, score preload cone pos 9, pick up cone stage4, score cone pos 7, pick up cube stage3, score cube pos 8
Tech layoffs reached 150000 by now. Looks like our parsing thingamajig here is the next thing out.
Position PID for the sparkmax can now select which PID slot you want, as well as methods to choose which PID slot you are using and assign values to extra PID slots
I figured out how to use the org.json.simple library!
I made a few things, all of which funnel into the final main "getDoubleProperty()" method
That method is public and *automagically* fetches info about the currently
tracked object
for you.
The subsystem constantly keeps parsing new up-to-date JSON and the method uses
the most newly-parsed JSON each time so the numbers
you get will always be current.
If you want more details talk to me!
-Drew M.
smccrorie and others added 30 commits February 18, 2023 14:32
this is painful
Oh my god we have to make this better to type in next year it's 100 lines of steps
slow down intake cube expel, arm slow down, slight fix, wrist and arm resets, correcting cone auto aim
LED fixes
fixed smart cone detection
slowed arm speed
Added game piece in auto
added limelight auto-drive override
Adding in framework for switching between red/blue alliances wrt odometry, as well as putting absolute odometry back in code for auto
actually not too bad. Minor changes to other paths, too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants