-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reworked `PoseEstimator6328` as `SwervePoseEstimator` * Removed `PoseEstimator6328` * Removed unused variable * Removed unnecessary records and added new ones 😁 * Moved it all to one file * The Copilot thing aint too smart * Jd * Update src/main/java/frc/trigon/robot/poseestimation/poseestimator/PoseEstimator.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * 🤦♂️ * ALWAYS MAKE SURE TO UPDATE BEFORE READING!!!!!!!!!!! * Added T265 * Small cleaning * Removed command that shouldn't be here * Removed whitespace * Updated logging * Logic changes * Optimization * Moved T265 to CameraConstants * Cleaned AprilTagCamera stddevs * Update CameraConstants.java * Finally fixed logic!!!!!!!!!!!!!!! (I think) * LLL * Small clean * Swerve isn't working, but the other stuff should be * Removed stupid indent that looks like a change * Logic works!!! Swerve rotation has no hope * IT IS NOT WORKING RIGHT NOW, JUST COMMITING * Fixed half of problem * Fixed other problem * Actually fixed logic * Added letency prevention logci i have no idea what im doingggggggggggggggggggg * Updated jd * Squashed commit of the following: commit 68756ee Author: Strflightmight09 <148347057+Strflightmight09@users.noreply.github.com> Date: Mon Dec 23 12:58:26 2024 +0200 Updated for quickorttrigonlib commit 04cc361 Author: Strflightmight09 <148347057+Strflightmight09@users.noreply.github.com> Date: Mon Dec 23 09:09:39 2024 +0200 Small cleaning commit de329a9 Author: Strflightmight09 <148347057+Strflightmight09@users.noreply.github.com> Date: Sat Dec 21 18:58:55 2024 +0200 Cleaned null translation check commit e4fa986 Author: Strflightmight09 <148347057+Strflightmight09@users.noreply.github.com> Date: Thu Dec 19 12:55:32 2024 +0200 Fixed swerve problem and odometry update problem commit b297f61 Author: Strflightmight09 <148347057+Strflightmight09@users.noreply.github.com> Date: Thu Dec 19 12:50:43 2024 +0200 Cleaning * Fixed error * Use Stddevs record function * Fixed stddevs bug * Lowered tolerance * jd + small stuff * jd robotcentertocam cleaning * refactor * Added stuff -JSON * jd * Removed Pinhole * Generalized and cleaned * Json stuff * Maybe fixed json stuff? * Update RelativeRobotPoseSourceT265IO.java * Update RelativeRobotPoseSourceConstants.java * Update JSON stuff * Added replay support + fixes * 😧 * Lots * Correct JsonDump logic * Fixed bugs (updated) * nnnnnnnnnnnnn * me made fix * We don't need this * Reverted logic (conflicts suck ig) * oops * jd * Simplified * Update PoseEstimator.java * Update PoseEstimator.java * Resolve error * Made variable that can be final final * Remove unused command * Be more efficient with cameraToRobot and explain with a jdoc * Clean, optimize, and fix logic * jolbijlb * quick * oops * fps * Update photonlib.json * Update TRIGONLib * Cleaned some of the camera logic * Extra newline * Added proper getters * Fixed pose estimator logic * Removed non-existent camera * Cleaned, and added more checks --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Yishai Levy <96019039+levyishai@users.noreply.github.com>
- Loading branch information
1 parent
cabfca9
commit dee9806
Showing
20 changed files
with
455 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
src/main/java/frc/trigon/robot/constants/CameraConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
package frc.trigon.robot.constants; | ||
|
||
public class CameraConstants { | ||
public static final double | ||
TRANSLATIONS_STD_EXPONENT = 0.02, | ||
THETA_STD_EXPONENT = 0.02; | ||
//TODO: implement CameraConstants | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
216 changes: 63 additions & 153 deletions
216
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCamera.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.