Skip to content
Snippets Groups Projects

Resolve "TDCP batch implementation"

Merged Joan Vallvé Navarro requested to merge 15-tdcp-batch-implementation into devel
1 file
+ 5
6
Compare changes
  • Side-by-side
  • Inline
+ 5
6
@@ -311,13 +311,12 @@ std::set<int> Observations::filterByElevationSnr(const Azels& azels,
{
std::set<int> remove_sats;
//for (int obs_i = 0; obs_i < obs_.size(); obs_i++)
for (auto& azel_pair : azels)
for (auto&& sat_idx_pair : sat_2_idx_)
{
const int& sat_number = azel_pair.first;
const double& elevation(azel_pair.second(1));
assert(hasSatellite(sat_number));
auto&& obs_sat = getObservationBySat(sat_number);
const int& sat_number = sat_idx_pair.first;
assert(azels.count(sat_number) && "azel missing for a satellite of this observation");
const double& elevation(azels.at(sat_number)(1));
auto&& obs_sat = getObservationByIdx(sat_idx_pair.second);
// check elevation
if (elevation < elmin)
Loading