Skip to content

JHUAPL/ODTKSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ODTKSD is a Matlab library used to facilitate access to the Ansys ODTK (Orbit Determination Tool Kit) software's state-dump utility. The library has a command to interface with ODTK's API to generate a state-dump file, and then a series of commands to read, access, and plot the data contained in the file. 

The state dump data is especially helpful when a user wants to access a full state covariance (not just position and velocity). 

To get started, check the test_odtksd_com_api or test_odtksd_cp_api files. These files differ in their method of interacting with ODTK. The former uses the COM API and the latter uses the "cross-platform" API. (They both give the same results.)

To generate a state dump file, the user needs to have ODTK open, and if necessary -- listening for commands. The user then specifies an ODTK run file (filrun, smtrun, simrun, or lsrun). The file does not need to be active in an ODTK scenario. In fact, no scenario even needs to be loaded in ODTK. 

The odtksd.dumpState command will take these inputs, along with other optional inputs specifying details of the desired data, and pass them into ODTK. ODTK will produce a text file with the state history that meets the specified criteria. 

The odtksd.readStateDump command then parses the text file and populates a Matlab struct, which the user can interface with directly, or via other commands in the odtksd library (e.g. getStateAtEpoch, plotAllStates, plotState).

The Matlab code requires Matlab version 2022b or later, because of the use of arguments input blocks. It is not clear what version of ODTK is required for the state dump API calls.

About

ODTK State Dump Matlab Interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages