setPoseEstimator

fun setPoseEstimator(callback: (Pose2d, Time, Matrix<N3, N1>) -> Unit)

Sets the callback function for updating the robot's pose estimator.

This function will be called with vision measurements from all cameras.

Parameters

callback

Function that accepts (pose, timestamp, stdDevs).