Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #31: Don't load extra Spice files #102

Merged
merged 1 commit into from
Dec 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
exponentialAtmosphere,
groundLocation,
)
from Basilisk.topLevelModules import pyswice
from Basilisk.utilities import macros as mc
from Basilisk.utilities import orbitalMotion, simIncludeGravBody

Expand Down Expand Up @@ -132,20 +131,6 @@ def _set_gravity_bodies(
)
self.gravFactory.spiceObject.zeroBase = "earth"

# Add pyswice instances
pyswice.furnsh_c(
self.gravFactory.spiceObject.SPICEDataPath + "de430.bsp"
) # solar system bodies
pyswice.furnsh_c(
self.gravFactory.spiceObject.SPICEDataPath + "naif0012.tls"
) # leap second file
pyswice.furnsh_c(
self.gravFactory.spiceObject.SPICEDataPath + "de-403-masses.tpc"
) # solar system masses
pyswice.furnsh_c(
self.gravFactory.spiceObject.SPICEDataPath + "pck00010.tpc"
) # generic Planetary Constants

self.simulator.AddModelToTask(
self.env_task_name, self.gravFactory.spiceObject, ModelPriority=priority
)
Expand Down