-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding minimal support for CSM (#4195)
* Added Community Sensor Model as a dependency (#4130) * Added Community Sensor Model as a dependency * Added new keyword for CSM plugin locations * Fixed csm entry to allow the 4th version number to float * Csm plugin (#4142) * Added Community Sensor Model as a dependency * Added new keyword for CSM plugin locations * Fixed csm entry to allow the 4th version number to float * Load CSM plugin libraries * Adds csminit and csmpt as prototype CSM support (#4143) * Partial csminit code * Update csminit to get compiling, update label based on discussion to store csm information in the Archive group, and write the state string out to the cube * Removed Thanksgiving-themed debug output * Updated StringBlob override methods * Fixed some build errors * Fixed header * Working? * Now working? * First pass at csmpt application * Better error checking * Modified to use the plugin specification * Addressed PR comments Co-authored-by: Kristin <[email protected]> * Update Test plugin and model to get partway to using a second sensor model * Adds tests for csminit (#4151) * Update Test plugin and model to get partway to using a second sensor model * Add tests for csminit * Fixed stream buffer flushing issue to fix json file issues * Fix issue with reading/writing blobs to test cube and general cleanup and documentation * Update PR based on comments * Remove full path * Update based on feedback * modified csminit to put model info in a separate group (#4171) * Added test model parameters * Added geometric model stuff to alternate * Moved csm info to new group * Updated tests for csminit clean-up * Changed test states to hold params * Fixed param names and removed hardcoding * Add documentation for testing plugin and sensosr model classes * Added the ability to run spiceinit and csminit in any order (#4180) * Added csminit cleanup * spiceinit clean up * Added no clean up test * Added a new comment and fixed test name * Update Test CSM Plugin to act more like a real plugin (#4187) * Add documentation for testing plugin and sensosr model classes * Update Test Plugin to act more like a functional plugin * Remove comments * Clean up * Fix failing tests * Update TestCsmPlugin based on feedback and add back in model construction from state based on name * Switch to use comparison with static plugin name rather than hardcoded state * Remove json include and unnecessary model_name from test * Csm branch clean up (#4191) * Removed csmpt * General cleanup * Review feedback * Updated based on feedback * Fix faulty spiceinit merge Co-authored-by: Stuart Sides <[email protected]> Co-authored-by: Kristin <[email protected]>
- Loading branch information
1 parent
3e127e6
commit fab3a9e
Showing
26 changed files
with
2,627 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ dependencies: | |
- bzip2 | ||
- cmake >=3.15 | ||
- cspice | ||
- csm>=3.0.3,<3.0.4 | ||
- curl | ||
- doxygen | ||
- eigen | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# CMake module for find_package(CSM) aka Community Sensor Model | ||
# Finds include directory and all applicable libraries | ||
# | ||
# Sets the following: | ||
# CSM_INCLUDE_DIR | ||
# CSM_LIBRARY | ||
|
||
find_path(CSM_INCLUDE_DIR | ||
NAME csm.h | ||
PATH_SUFFIXES csm | ||
) | ||
|
||
find_library(CSM_LIBRARY | ||
NAMES csmapi | ||
) | ||
|
||
message(STATUS "CSM INCLUDE: " ${CSM_INCLUDE_DIR} ) | ||
message(STATUS "CSM LIB: " ${CSM_LIBRARY} ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ifeq ($(ISISROOT), $(BLANK)) | ||
.SILENT: | ||
error: | ||
echo "Please set ISISROOT"; | ||
else | ||
include $(ISISROOT)/make/isismake.apps | ||
endif |
Oops, something went wrong.