Skip to content

Setup SGP4 Propagator #366

@Yarik-Popov

Description

@Yarik-Popov

Background

We will need to use the SGP4 Progagator to get the CubeSats position in orbit.

Requirements

Set it up using this package (https://pypi.org/project/sgp4/) so that we can retrieve the current position of the CubeSat given the TLE data

  • Checkout yarik/tle-data-api branch

  • Update the branch with main via a rebase

  • Move gs/positioning/tle.py to gs/backend/positioning/tle.py and work inside of the gs/backend/positioning directory (this so that there are no issues when the gs frontend PR gets merged in)

  • Add tests to functions in the tle.py functions that can be unit tested:

    • calculate_checksum
    • convert_decimal_point_assumed
    • parse_tle_data
  • Add a method to the TLEData class to return the data as a 2 line format

  • Create a file called sgp4.py and work there for the rest of the

  • Setup sgp4 to use accelerated mode

  • Create a data class to hold the returned SGP4 data (see usage in the documentation for data returned)

  • Make a function that takes in a TLEData object and datetime or julian date and returns the sgp4 progagator data as an most likely a custom object

  • Add tests for functions/methods that can be unit tested in the python_test directory under a new positioning directory

Response format:

{
	"data" : [...telemetry data]
}

Important Information

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions