Package-level declarations
Types
Properties
Functions
Link copied to clipboard
fun List<PhotonModule>.getDecentResultPairs(condition: (PhotonPipelineResult) -> Boolean = { it.hasTargets() }): List<Pair<PhotonModule, PhotonPipelineResult>>
Extension function for a list of PhotonModule objects to get the best PhotonPipelineResult.
Link copied to clipboard
fun Pair<PhotonModule, PhotonPipelineResult>.getEstimatedPose(prevEstimatedRobotPose: Pose2d): EstimatedRobotPose?
Extension function for a Pair of PhotonModule and PhotonPipelineResult to get estimated poses.
Link copied to clipboard
Extension function for a list of Pair of PhotonModule and PhotonPipelineResult to check if any have targets.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Pair<PhotonModule, PhotonPipelineResult>.updateStdDev(estimatedRobotPose: Optional<EstimatedRobotPose>)
Extension function for a Pair of PhotonModule and PhotonPipelineResult to update the standard deviations of the estimated robot pose.
Link copied to clipboard
fun Pair<PhotonModule, PhotonPipelineResult>.updateStdDev3d(estimatedRobotPose: Optional<EstimatedRobotPose>)
Extension function for a Pair of PhotonModule and PhotonPipelineResult to update the 3d standard deviations of the estimated robot pose.