Skip to content

The ephemeris in JsonObsGen.cpp has not been updated. #64

@layfolk1999

Description

@layfolk1999

Hi author, thank you for your open-source work on GNSS signal simulation.

I have discovered an issue while using JsonObsGen.cpp, where the ephemeris of each GNSS system (such as GpsEph/BdsEph/GalEph/GloEph) was not updated during a long simulation period (such as 1 day). The code that may have issues is while (Trajectory. GetNextPosVelECEF (OutputParam. Interval/1000., PosVel) {...}, which requires adding the ‘gpst2bdst’ function to convert GPS time to BDS time and calling NavData.FindEphemeris and NavData.FindGloEphemeris again.

I hope this feedback will be helpful for your future work.

raw code
Image

changed code
Image

gpst2bdst
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions