Lines Matching refs:outEstimator
349 bool VelocityTracker::getEstimator(uint32_t id, Estimator* outEstimator) const { in getEstimator()
350 return mStrategy->getEstimator(id, outEstimator); in getEstimator()
561 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
562 outEstimator->clear(); in getEstimator()
603 if (solveLeastSquares(time, x, w, m, n, outEstimator->xCoeff, &xdet) in getEstimator()
604 && solveLeastSquares(time, y, w, m, n, outEstimator->yCoeff, &ydet)) { in getEstimator()
605 outEstimator->time = newestMovement.eventTime; in getEstimator()
606 outEstimator->degree = degree; in getEstimator()
607 outEstimator->confidence = xdet * ydet; in getEstimator()
610 int(outEstimator->degree), in getEstimator()
611 vectorToString(outEstimator->xCoeff, n).string(), in getEstimator()
612 vectorToString(outEstimator->yCoeff, n).string(), in getEstimator()
613 outEstimator->confidence); in getEstimator()
620 outEstimator->xCoeff[0] = x[0]; in getEstimator()
621 outEstimator->yCoeff[0] = y[0]; in getEstimator()
622 outEstimator->time = newestMovement.eventTime; in getEstimator()
623 outEstimator->degree = 0; in getEstimator()
624 outEstimator->confidence = 1; in getEstimator()
731 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
732 outEstimator->clear(); in getEstimator()
736 populateEstimator(state, outEstimator); in getEstimator()
799 VelocityTracker::Estimator* outEstimator) const { in populateEstimator()
800 outEstimator->time = state.updateTime; in populateEstimator()
801 outEstimator->confidence = 1.0f; in populateEstimator()
802 outEstimator->degree = state.degree; in populateEstimator()
803 outEstimator->xCoeff[0] = state.xpos; in populateEstimator()
804 outEstimator->xCoeff[1] = state.xvel; in populateEstimator()
805 outEstimator->xCoeff[2] = state.xaccel / 2; in populateEstimator()
806 outEstimator->yCoeff[0] = state.ypos; in populateEstimator()
807 outEstimator->yCoeff[1] = state.yvel; in populateEstimator()
808 outEstimator->yCoeff[2] = state.yaccel / 2; in populateEstimator()
851 VelocityTracker::Estimator* outEstimator) const { in getEstimator()
852 outEstimator->clear(); in getEstimator()
916 outEstimator->time = newestMovement.eventTime; in getEstimator()
917 outEstimator->confidence = 1; in getEstimator()
918 outEstimator->xCoeff[0] = newestPosition.x; in getEstimator()
919 outEstimator->yCoeff[0] = newestPosition.y; in getEstimator()
921 outEstimator->xCoeff[1] = accumVx; in getEstimator()
922 outEstimator->yCoeff[1] = accumVy; in getEstimator()
923 outEstimator->degree = 1; in getEstimator()
925 outEstimator->degree = 0; in getEstimator()