-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dev #35
base: main
Are you sure you want to change the base?
Dev #35
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
started review
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/io/AprilTagPhotonCameraIO.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/io/AprilTagPhotonCameraIO.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly reviewed things that matter for the template
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/io/AprilTagPhotonCameraIO.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/io/AprilTagPhotonCameraIO.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/poseestimator/PoseEstimator.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/commands/factories/AutonomousCommands.java
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCameraConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCamera.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCamera.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCamera.java
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCameraConstants.java
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCameraConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/io/AprilTagPhotonCameraIO.java
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/poseestimator/PoseEstimator.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/AprilTagCamera.java
Outdated
Show resolved
Hide resolved
src/main/java/frc/trigon/robot/poseestimation/apriltagcamera/io/AprilTagPhotonCameraIO.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved
|
||
public AlignToNoteCommand() { | ||
addCommands( | ||
getSetCurrentLEDColorCommand().asProxy(), | ||
GeneralCommands.getContinuousConditionalCommand(getDriveWhileAligningToNoteCommand(), GeneralCommands.duplicate(CommandConstants.SELF_RELATIVE_DRIVE_COMMAND), this::hasTarget).asProxy(), | ||
getSetCurrentLEDColorCommand(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not proxy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function I'm calling runs it as a proxy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
Is this fully tested?
@@ -71,6 +75,6 @@ else if (difference > tolerance) | |||
} | |||
|
|||
private Pose2d getCurrentRobotPose() { | |||
return RobotContainer.POSE_ESTIMATOR.getCurrentPose(); | |||
return RobotContainer.POSE_ESTIMATOR.getCurrentEstimatedPose(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function seems rather useless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It cleans it up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It gives more ambiguity on where the pose is coming from
No need
No description provided.