    }
  
    if ((rot_device.norm() > ROTATION_SANITY_CHECK) || (trans_device.norm() > TRANS_SANITY_CHECK)) {
      return;
    }
  
    VectorXd rot_calib_std = floatlist2vector(log.getRotStd());
 
</s>
    this->observation_values_invalid["cameraOdometry"] += 1.0;
    }
  
    if ((rot_device.norm() > ROTATION_SANITY_CHECK) || (trans_device.norm() > TRANS_SANITY_CHECK)) {
    this->observation_values_invalid["cameraOdometry"] += 1.0;
      return;
    }
  
    VectorXd rot_calib_std = floatlist2vector(log.getRotStd());
keep keep add keep keep keep keep
 [locationd] Add input checks (#26460)

* add input checks with same decay as reset_tracker

* add observation timings check

* typo

* bugfix

* improve offline locationd visibility

* sbugfix offline lld

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
selfdrive/locationd/locationd.cc