Differences between revisions 1 and 2
Revision 1 as of 2009-03-23 19:33:24
Size: 2037
Editor: 130-94-160-236-dsl
Comment:
Revision 2 as of 2009-03-23 19:42:42
Size: 2109
Editor: 130-94-160-236-dsl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
    
Line 6: Line 6:
    
Line 13: Line 13:
    
Line 17: Line 17:
    'SxP4Test' directories, and will create:     'SxP4Test' directories, and will create:<<BR>>
Line 22: Line 22:
    
Line 26: Line 26:
    routines in the norad library.     routines in the norad library.<<BR>>
    
Line 29: Line 29:
    
Line 33: Line 33:
        
Line 38: Line 38:
        
Line 41: Line 41:
        
Line 43: Line 43:
        
Line 45: Line 45:
    

The attached tgz file contains gcc/g++ patches and Makefiles for the Windows SGP4/SDP4 algorithm code in SxP4Test.

Here is the README.SxP4 from that tgz file:

  • This is the README file from SxP4Test_linux_patch.tgz .

    The files in this archive are for compiling the SxP4Test software, available at http://www.zeptomoby.com/satellites/SxP4Test.zip, in a Linux build environment. The files in SxP4Test.zip appear to be for a Windows Visual Studio or .NET environment build environment. The SxP4Test.zip file, when extracted, creates two directories, 'norad' and 'SxP4Test'. The files provided here are a single patch file for the original sources, and simple Makefiles for each of the original subdirectories. This tar file should be extracted in the directory that contains the 'norad' and

    'SxP4Test' directories, and will create:

    • norad/Makefile
      SxP4Test/Makefile
      SxP4.patch
      README.SxP4

    The 'norad' Makefile builds a static library, 'norad.a', that contains

    routines implementing the SGP4/SPD4 algorithms. The 'SxP4Test' Makefile builds an example program, SxP4Test, that demonstrates the use of routines in the norad library.
    The linux patch/build process:

    1. Download 'SxP4Test.zip' from http://www.zeptomoby.com/satellites/

      • and extract the contents to a directory of your choice, for example,
      • /SxP4

    2. Place this tar file in that same directory and extract the contents
      • $ cd SxP4
        $ cp <tarfile-path>/SxP4_linux_patch.tgz .
        $ tar xzf SxP4_linux_patch.tgz

    3. Apply the patch file in place thusly:
      • $ patch -p1 < SxP4.patch

    4. In the 'norad' subdirectory, simply do 'make'.
    5. Ditto in the 'SxP4Test' subdirectory.

    The resulting executable 'SxP4Test', when invoked, prints out orbital data from TLEs hardwired in the source.

SxP4TestPatch (last edited 2009-03-23 20:04:15 by 130-94-160-236-dsl)