update Std Dev
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.
This function updates the estimated standard deviations of the robot pose using the provided EstimatedRobotPose and the targets from the PhotonPipelineResult.
Receiver
Pair of PhotonModule and PhotonPipelineResult The pair of PhotonModule and PhotonPipelineResult.
Parameters
estimated Robot Pose
Optional<EstimatedRobotPose> The estimated robot pose to use for updating the standard deviations.