38 RANSACKalmanPoseEstimator::RANSACKalmanPoseEstimator(
39 double positionVarianceScale,
double orientationVariance)
40 : m_positionVarianceScale(positionVarianceScale),
41 m_orientationVariance(orientationVariance) {}
47 Eigen::Vector3d xlate;
48 Eigen::Quaterniond quat;
51 auto ret = m_ransac(p.camParams, leds, p.beacons, p.beaconDebug,
63 kalman::predict(p.state, p.processModel, dt);
69 quat, Eigen::Vector3d::Constant(m_orientationVariance));
76 xlate, Eigen::Vector3d::Constant(m_positionVarianceScale *
77 xlate.z() * xlate.z()));
bool operator()(EstimatorInOutParams const &p, LedPtrList const &leds, osvr::util::time::TimeValue const &frameTime)
double duration(TimeValue const &a, TimeValue const &b)
Get a double containing seconds between the time points.
bool correct(StateType &state, ProcessModelType &processModel, MeasurementType &meas, bool cancelIfNotFinite=true)
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Header for measurements of absolute orientation.
osvr::util::time::TimeValue const & startingTime
Time that the state is coming in at.