@@ -80,11 +80,11 @@ std::pair< std::shared_ptr< PodOutput< StateScalarType, TimeType > >, Eigen::Vec
80
80
// Set accelerations between bodies that are to be taken into account.
81
81
SelectedAccelerationMap accelerationMap;
82
82
std::map< std::string, std::vector< std::shared_ptr< AccelerationSettings > > > accelerationsOfEarth;
83
- accelerationsOfEarth[ " Sun" ].push_back ( std::make_shared< AccelerationSettings >( central_gravity ) );
84
- accelerationsOfEarth[ " Moon" ].push_back ( std::make_shared< AccelerationSettings >( central_gravity ) );
85
- accelerationsOfEarth[ " Mars" ].push_back ( std::make_shared< AccelerationSettings >( central_gravity ) );
86
- accelerationsOfEarth[ " Jupiter" ].push_back ( std::make_shared< AccelerationSettings >( central_gravity ) );
87
- accelerationsOfEarth[ " Saturn" ].push_back ( std::make_shared< AccelerationSettings >( central_gravity ) );
83
+ accelerationsOfEarth[ " Sun" ].push_back ( std::make_shared< AccelerationSettings >( point_mass_gravity ) );
84
+ accelerationsOfEarth[ " Moon" ].push_back ( std::make_shared< AccelerationSettings >( point_mass_gravity ) );
85
+ accelerationsOfEarth[ " Mars" ].push_back ( std::make_shared< AccelerationSettings >( point_mass_gravity ) );
86
+ accelerationsOfEarth[ " Jupiter" ].push_back ( std::make_shared< AccelerationSettings >( point_mass_gravity ) );
87
+ accelerationsOfEarth[ " Saturn" ].push_back ( std::make_shared< AccelerationSettings >( point_mass_gravity ) );
88
88
89
89
accelerationMap[ " Earth" ] = accelerationsOfEarth;
90
90
@@ -411,11 +411,11 @@ Eigen::VectorXd executeEarthOrbiterParameterEstimation(
411
411
std::map< std::string, std::vector< std::shared_ptr< AccelerationSettings > > > accelerationsOfVehicle;
412
412
accelerationsOfVehicle[ " Earth" ].push_back ( std::make_shared< SphericalHarmonicAccelerationSettings >( 8 , 8 ) );
413
413
accelerationsOfVehicle[ " Sun" ].push_back ( std::make_shared< AccelerationSettings >(
414
- basic_astrodynamics::central_gravity ) );
414
+ basic_astrodynamics::point_mass_gravity ) );
415
415
accelerationsOfVehicle[ " Moon" ].push_back ( std::make_shared< AccelerationSettings >(
416
- basic_astrodynamics::central_gravity ) );
416
+ basic_astrodynamics::point_mass_gravity ) );
417
417
accelerationsOfVehicle[ " Mars" ].push_back ( std::make_shared< AccelerationSettings >(
418
- basic_astrodynamics::central_gravity ) );
418
+ basic_astrodynamics::point_mass_gravity ) );
419
419
accelerationsOfVehicle[ " Sun" ].push_back ( std::make_shared< AccelerationSettings >(
420
420
basic_astrodynamics::cannon_ball_radiation_pressure ) );
421
421
accelerationsOfVehicle[ " Earth" ].push_back ( std::make_shared< AccelerationSettings >(
@@ -704,7 +704,7 @@ std::pair< Eigen::VectorXd, bool > executeEarthOrbiterBiasEstimation(
704
704
// Set accelerations on Vehicle that are to be taken into account.
705
705
SelectedAccelerationMap accelerationMap;
706
706
std::map< std::string, std::vector< std::shared_ptr< AccelerationSettings > > > accelerationsOfVehicle;
707
- accelerationsOfVehicle[ " Earth" ].push_back ( std::make_shared< AccelerationSettings >( central_gravity ) );
707
+ accelerationsOfVehicle[ " Earth" ].push_back ( std::make_shared< AccelerationSettings >( point_mass_gravity ) );
708
708
accelerationMap[ " Vehicle" ] = accelerationsOfVehicle;
709
709
710
710
// Set bodies for which initial state is to be estimated and integrated.
0 commit comments