Skip to content

Commit

Permalink
Modify pseudorange calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
fukudakazuya committed Jan 5, 2025
1 parent b693e5f commit b18e9ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/real/aocs/gnss_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ void GnssReceiver::MainRoutine(const int time_count) {
// Pseudorange calculation
size_t number_of_calculated_gnss_satellites = gnss_satellites_->GetNumberOfCalculatedSatellite();
for (size_t i = 0; i < number_of_calculated_gnss_satellites; i++) {
math::Vector<3> gnss_satellite_position_ecef_m = gnss_satellites_->GetPosition_ecef_m(i);
math::Vector<3> position_true_ecef_m = dynamics_->GetOrbit().GetPosition_ecef_m();
// math::Vector<3> gnss_satellite_position_ecef_m = gnss_satellites_->GetPosition_ecef_m(i);
// math::Vector<3> position_true_ecef_m = dynamics_->GetOrbit().GetPosition_ecef_m();
// double geometric_distance_m = (gnss_satellite_position_ecef_m - position_true_ecef_m).CalcNorm();
// randomization::NormalRand pseudorange_random_noise_m;
// pseudorange_random_noise_m.SetParameters(0.0, pseudorange_noise_standard_deviation_m_, randomization::global_randomization.MakeSeed());
Expand Down

0 comments on commit b18e9ea

Please sign in to comment.