Skip to content

Commit

Permalink
Moving to develop for test
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed Dec 13, 2024
1 parent ace740d commit 9bd0845
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class DirectFirstOrderDopplerProperTimeRateInterface:
*/
DirectFirstOrderDopplerProperTimeRateInterface(
const LinkEndType computationPointLinkEndType,
const std::function< double( ) > gravitationalParameterFunction,
const std::vector< std::function< double( ) > > gravitationalParameterFunction,
const std::string& referenceBody,
const LinkEndType referencePointLinkEndType = unidentified_link_end,
const std::vector< std::function< Eigen::Vector6d( const double ) > > referencePointStateFunction =
Expand Down Expand Up @@ -386,44 +386,44 @@ class DirectFirstOrderDopplerProperTimeRateInterface:
return ( ( referencePointLinkEndType_ == transmitter ) ? linkEndStates.at( 0 ) : linkEndStates.at( 1 ) );
}
}

//! Function to retrieve central body gravitational parameter
/*!
* Function to retrieve central body gravitational parameter
* \return Central body gravitational parameter
*/
double getGravitationalParameter( )
{
return gravitationalParameterFunction_( );
}

//! Function to return the name of body generating the gravity field.
/*!
* Function to return the name of body generating the gravity field
* \return Name of body generating the gravity field
*/
std::string getCentralBody( )
{
return referenceBody_;
}
//
// //! Function to retrieve central body gravitational parameter
// /*!
// * Function to retrieve central body gravitational parameter
// * \return Central body gravitational parameter
// */
// double getGravitationalParameter( )
// {
// return gravitationalParameterFunction_( );
// }
//
// //! Function to return the name of body generating the gravity field.
// /*!
// * Function to return the name of body generating the gravity field
// * \return Name of body generating the gravity field
// */
// std::string getCentralBody( )
// {
// return referenceBodies_;
// }

private:

//! Function that returns the gravitational parameter of the central body.
std::function< double( ) > gravitationalParameterFunction_;
std::vector< std::function< double( ) > > gravitationalParameterFunctions_;

//! Name of body generating the gravity field.
std::string referenceBody_;
std::vector< std::string > referenceBodies_;

//! Link end type of central body (unidentified_link_end if central body is not one of the link ends)
LinkEndType referencePointLinkEndType_;
std::vector< LinkEndType > referencePointLinkEndType_;

//! Function that returns the state of the central body as a function of time.
/*!
* Function that returns the state of the central body as a function of time, must be provided if
* referencePointLinkEndType equals unidentified_link_end.
*/
std::function< Eigen::Vector6d( const double ) > referencePointStateFunction_;
std::vector< std::function< Eigen::Vector6d( const double ) > > referencePointStateFunctions_;


};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2499,7 +2499,6 @@ class ObservationModelCreator< 1, ObservationScalarType, TimeType >
"Error when making n-way differenced range observation model, input "
"type inconsistent" );
}
<<<<<<< HEAD
}

std::shared_ptr< ground_stations::GroundStationState > receivingStationState =
Expand Down Expand Up @@ -2534,13 +2533,6 @@ class ObservationModelCreator< 1, ObservationScalarType, TimeType >
ObservationModelCreator< 1, ObservationScalarType, TimeType >::createObservationModel(
twoWaySettings, bodies ) );
if( twoWayDopplerModel == nullptr )
=======
std::shared_ptr< NWayRangeObservationModel< ObservationScalarType, TimeType > >
arcStartObservationModel;
std::shared_ptr< NWayRangeObservationModel< ObservationScalarType, TimeType > >
arcEndObservationModel;
try
>>>>>>> develop
{
std::shared_ptr< ObservationModelSettings > undifferencedObservationSettings =
nWayDifferencedRangeObservationSettings
Expand Down Expand Up @@ -2586,7 +2578,8 @@ class ObservationModelCreator< 1, ObservationScalarType, TimeType >
observationBias );
break;
}
case dsn_n_way_averaged_doppler: {
case dsn_n_way_averaged_doppler:
{
std::shared_ptr< DsnNWayAveragedDopplerObservationSettings >
dsnNWayAveragedDopplerObservationSettings = std::dynamic_pointer_cast<
DsnNWayAveragedDopplerObservationSettings >( observationSettings );
Expand Down

0 comments on commit 9bd0845

Please sign in to comment.