Function lupnt::ComputeTwoWayRangeLTR

Function Documentation

Real lupnt::ComputeTwoWayRangeLTR(Real epoch_rx, Vec6 rv_target_tr, Vec6 rv_rx_tr, BodyData target_center_body, BodyData rx_center_body, bool is_bodyfixed_target, bool is_bodyfixed_rx, Real hardware_delay, Real additional_delay = 0.0)

Compute the two-way range between two points considering light time delay (rx -> target -> rx) Reference: Grenfell MIT Ph.D. thesis, 2024 (A.2)

Parameters:
  • epoch_rx – Reception epoch (TAI) t_R

  • rv_target_trTransmitter position at reception time t_R (w.r.t to central body)

  • rv_rx_trReceiver position at reception time t_R (w.r.t to central body)

  • target_center_body – Central body of the target

  • rx_center_body – Central body of the receiver

  • is_bodyfixed_target – Flag to indicate if the target state is body-fixed

  • is_bodyfixed_rx – Flag to indicate if the receiver state is body-fixed

  • hardware_delay – Hardware delay

Returns:

Real One-way pseudorange at t_R (clock offset error included)