Skip to content

Commit

Permalink
format check
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiro-0110 committed Oct 30, 2023
1 parent 496e040 commit d9b27ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/simulation_sample/spacecraft/sample_components.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ SampleComponents::SampleComponents(const Dynamics* dynamics, Structure* structur
thruster_ = new SimpleThruster(InitSimpleThruster(clock_generator, pcu_->GetPowerPort(2), 1, file_name, structure_, dynamics));

// Mission
const std::string telescope_ini_path = iniAccess.ReadString("COMPONENT_FILES", "telescope_file");
configuration_->main_logger_->CopyFileToLogDirectory(file_name);
telescope_ = new Telescope(InitTelescope(clock_generator, 1, telescope_ini_path, &(dynamics_->GetAttitude()),
&(global_environment_->GetHipparcosCatalog()), &(local_environment_->GetCelestialInformation()),
&(dynamics_->GetOrbit())));
const std::string telescope_ini_path = iniAccess.ReadString("COMPONENT_FILES", "telescope_file");
configuration_->main_logger_->CopyFileToLogDirectory(file_name);
telescope_ =
new Telescope(InitTelescope(clock_generator, 1, telescope_ini_path, &(dynamics_->GetAttitude()), &(global_environment_->GetHipparcosCatalog()),
&(local_environment_->GetCelestialInformation()), &(dynamics_->GetOrbit())));

// Force Generator
file_name = iniAccess.ReadString("COMPONENT_FILES", "force_generator_file");
Expand Down

0 comments on commit d9b27ad

Please sign in to comment.