-
Notifications
You must be signed in to change notification settings - Fork 31
Description
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-apibranch -
Update the branch with main via a rebase
-
Move
gs/positioning/tle.pytogs/backend/positioning/tle.pyand work inside of thegs/backend/positioningdirectory (this so that there are no issues when the gs frontend PR gets merged in) -
Add tests to functions in the
tle.pyfunctions 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.pyand 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_testdirectory under a new positioning directory
Response format:
{
"data" : [...telemetry data]
}Important Information
- SGP4 package: https://pypi.org/project/sgp4/