Skip to content

Commit

Permalink
change order
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiro-0110 committed May 15, 2024
1 parent df94c79 commit 21cdbdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/components/real/mission/telescope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Telescope::Telescope(ClockGenerator* clock_generator, const libra::Quaternion& q
const double y_fov_per_pix_rad, const char* start_imaging_ymdhms, const double line_rate_sec, const int stage_mode,
const int number_of_lines_per_frame, const int number_of_frames_per_mission, size_t number_of_logged_stars,
const Attitude* attitude, const HipparcosCatalogue* hipparcos, const LocalCelestialInformation* local_celestial_information,
const Orbit* orbit, const SimulationTime* simulation_time)
const SimulationTime* simulation_time, const Orbit* orbit)
: Component(1, clock_generator),
quaternion_b2c_(quaternion_b2c),
sun_forbidden_angle_rad_(sun_forbidden_angle_rad),
Expand All @@ -40,8 +40,8 @@ Telescope::Telescope(ClockGenerator* clock_generator, const libra::Quaternion& q
attitude_(attitude),
hipparcos_(hipparcos),
local_celestial_information_(local_celestial_information),
orbit_(orbit),
simulation_time_(simulation_time) {
simulation_time_(simulation_time),
orbit_(orbit) {
sscanf(start_imaging_ymdhms, "%d/%d/%d %d:%d:%lf", &start_imaging_year_, &start_imaging_month_, &start_imaging_day_, &start_imaging_hour_,
&start_imaging_minute_, &start_imaging_sec_);
jday(start_imaging_year_, start_imaging_month_, start_imaging_day_, start_imaging_hour_, start_imaging_minute_, start_imaging_sec_,
Expand Down Expand Up @@ -425,6 +425,6 @@ Telescope InitTelescope(ClockGenerator* clock_generator, int sensor_id, const st
Telescope telescope(clock_generator, quaternion_b2c, sun_forbidden_angle_rad, earth_forbidden_angle_rad, moon_forbidden_angle_rad, x_number_of_pix,
y_number_of_pix, pixel_size_m, focal_length_m, x_fov_per_pix_rad, y_fov_per_pix_rad, start_imaging_ymdhms.c_str(),
line_rate_sec, stage_mode, number_of_lines_per_frame, number_of_frames_per_mission, number_of_logged_stars, attitude, hipparcos,
local_celestial_information, orbit, simulation_time);
local_celestial_information, simulation_time, orbit);
return telescope;
}
4 changes: 2 additions & 2 deletions src/components/real/mission/telescope.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ class Telescope : public Component, public ILoggable {
* @param [in] attitude: Attitude Information
* @param [in] hipparcos: Hipparcos catalogue information
* @param [in] local_celestial_information: Local celestial information
* @param [in] orbit: Orbit information
* @param [in] simulation_time: Simulation time information
* @param [in] orbit: Orbit information
*/
Telescope(ClockGenerator* clock_generator, const libra::Quaternion& quaternion_b2c, const double sun_forbidden_angle_rad,
const double earth_forbidden_angle_rad, const double moon_forbidden_angle_rad, const int x_number_of_pix, const int y_number_of_pix,
const double pixel_size_m, const double focal_length_m, const double x_fov_per_pix_rad, const double y_fov_per_pix_rad,
const char* start_imaging_ymdhms, const double line_rate_sec, const int stage_mode, const int number_of_lines_per_frame,
const int number_of_frames_per_mission, size_t number_of_logged_stars, const Attitude* attitude, const HipparcosCatalogue* hipparcos,
const LocalCelestialInformation* local_celestial_information, const Orbit* orbit, const SimulationTime* simulation_time);
const LocalCelestialInformation* local_celestial_information, const SimulationTime* simulation_time, const Orbit* orbit);
/**
* @fn ~Telescope
* @brief Destructor
Expand Down

0 comments on commit 21cdbdc

Please sign in to comment.