updateStdDev3d

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.

This function updates the estimated 3d standard deviations of the robot pose using the provided estimated robot pose and the targets from the PhotonPipelineResult.

Receiver

Pair The pair of PhotonModule and PhotonPipelineResult.

Parameters

estimatedRobotPose

Optional The estimated robot pose to use for updating the standard deviations.