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

Absolute positioning #6

Open
fruzyna opened this issue Nov 15, 2022 · 0 comments
Open

Absolute positioning #6

fruzyna opened this issue Nov 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@fruzyna
Copy link
Member

fruzyna commented Nov 15, 2022

Create a new framework system for tracking absolute position on the field using a series of inputs.

Obviously these inputs will change a bit season to season, so it needs to be flexible.

May also need to know its starting position based on the auto program.

@fruzyna fruzyna added the enhancement New feature or request label Nov 15, 2022
@fruzyna fruzyna mentioned this issue Nov 15, 2022
fruzyna pushed a commit that referenced this issue Jan 18, 2023
* Create files, start on AimHelper

limelight program now gets data and outputs distance to target

* Update AimHelper.java

fix typo, start to write value interpolation.

* Update AimHelper.java

first draft finished?? execept for any horizontal interlopation, but I figure another program can handle that

* Errorfixes

forgot to save, also out-of date import, and added getHorzAngle

* Bugfixes

I should install java on computer

* Update AimHelper.java

forgot to save file before making commit :(

* Import class properly

* Attempt bugfix

Does this work?????

* :(

Hopefully last syntax-related bugfix????

* Cleanup

remove extra stuff, add some comments

* Update AimHelper.java

Cleanup, reformatting, and ty is angle not pixel value, formulas updated and removed accordingly.

* big typo

* Update AimHelper.java

keep track of whether target is in view,

* fix conditional

* Comments and cleanup

- also made calcTargetCoords public in case a class is using x to pivot drive base

* Update AimHelper.java

Accidentaly did  not include these changes in last commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant