Skip to content

Commit

Permalink
[squash] update script to work again.
Browse files Browse the repository at this point in the history
  • Loading branch information
schaubh committed Nov 5, 2023
1 parent bd4dc15 commit bfbed72
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/OpNavScenarios/modelsOpNav/BSK_OpNavDynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,8 @@ def SetGravityEffector(self):
self.mars = 2
self.jupiter = 3

simIncludeGravBody.loadGravFromFile(bskPath + '/supportData/LocalGravData/GGM2BData.txt'
, gravBodies['mars barycenter'].spherHarm
, 2
)
gravBodies['mars barycenter'].useSphericalHarmonicsGravityModel(
bskPath + '/supportData/LocalGravData/GGM2BData.txt', 2)

self.scObject.gravField.gravBodies = spacecraft.GravBodyVector(list(self.gravFactory.gravBodies.values()))
self.gravFactory.createSpiceInterface(bskPath + '/supportData/EphemerisData/',
Expand Down

0 comments on commit bfbed72

Please sign in to comment.