Skip to content

made unit tests#295

Merged
Levercpu merged 2 commits into
LS_MATHZfrom
nh-ls-math-test
Mar 24, 2025
Merged

made unit tests#295
Levercpu merged 2 commits into
LS_MATHZfrom
nh-ls-math-test

Conversation

@noahheller
Copy link
Copy Markdown
Contributor

No description provided.

@Levercpu Levercpu merged commit 61dc0a2 into LS_MATHZ Mar 24, 2025
bengold22 added a commit that referenced this pull request Mar 27, 2025
* initial commit

* fixed pr comments

* fixed pr comments

* fixed pr comments

* added sum

* wow

* fixed completely

* wow

* fixed pathplanner settings?

* even more fixed pathplanner settings

* fixed pr comments?

* made it build

* reset wheels on auto init

* fixed pr comments?

* hopefully fixed

* made pathplanner go to pose with fine adjustments :)

* added comment

* I forgot to build

* adjusted constant

* use swerve drive trajectory

* update

* stuff

* mapped controls

* fixed branch / robot align coordinates + angle with data from the google sheet

* removed autobuilder config duplicate

* removed null pointer exception

* added apriltag focus mode for auto aligning

* built code after merge

* ignore other tags if in focus mode.

* got rid of duplicate logic

* Fixed from Lev's data, didn't touch Center x and y

* subtracked pi

* some small stuff

* added a command to switch to a robot centric drive mode

* MORE linear algebra

* find quaternions are better

* for loops are better

* fixed

* linter

* new pos

* update

* corrected for api

* fixed some sutff

* made code more maintanable and stuff

* all linear algebra now

* linter

* more generilization

* EA SPORTS

* fixed

* added limelight

* update

* added constant vision trustor

* fixes

* small changes

* fixed reflecton issue

* fixed reflecton issue

* fixed reflecton issue

* reset std after autonomous

* removed duplicate method

* build code

* small pr fixed

* made only check closest and neighboring algae, coral.

* made unit tests (#295)

Co-authored-by: codetoad <softwareenginer@pm.me>
Co-authored-by: Lev Strougov <62769580+Levercpu@users.noreply.github.com>

* fixed noah's pr comments

* small fix and linter

* small fix and linter

* added red auto-align

* made it easy to paste new values for AlignmentPosition

* fixed some pr

* fixed some pr

* Nh limelight (#298)

* fixed visionIO

* use limelightHelper to get all vision measurements and not just the one with the most confidence

* get multiple readings and calculate detection

* fixed

---------

Co-authored-by: codetoad <softwareenginer@pm.me>

* small pr fixed, changed from radians to degrees

* small changes

* last

* last

* last

* fixed

* done

* unit test

* fixed algae to be more consistent

* fixed out of range

* use Math.floorMod() because % does not work with negatives in java

* map to right bumper

* wrap in try catch

* fixed tag mirroring

* fixed sign error

* omg it works!!!!

* removed limelight feed

* added more tests

* built code

* I dont know anymore

* added super auto score

* deleted unused

* dont know how simMode got changed

* removed unneeded std change

* use return instead of if.
Will be usefull when we add algae checks

* limelight works!

* update constant

* trust vision rotation less

* added fancy math constant

---------

Co-authored-by: Lev Strougov <62769580+Levercpu@users.noreply.github.com>
Co-authored-by: codetoad <softwareenginer@pm.me>
Co-authored-by: bengold22 <98672229+bengold22@users.noreply.github.com>
Co-authored-by: jamthepersonj <wessjackson93@gmail.com>
Co-authored-by: Michael Kovalev <134699174+michaelk036@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants