AVSLab / basilisk

Astrodynamics simulation framework
https://hanspeterschaub.info/basilisk
ISC License
125 stars 54 forks source link

SPICE (NOLOADEDFILES) #709

Open liuli217217 opened 1 month ago

liuli217217 commented 1 month ago

Describe the bug I have followed the instructions to install Basilisk on Windows 10/Windows 11/Ubuntu 20.04, and I can successfully run multiple examples including scenarioBasicOrbit.py and scenarioGroundLocationImaging.py. However, when I try to run scenarioGroundDownlink.py, it always prompts me with the error message: ' Toolkit version: N0065 SPICE (NOLOADEDFILES) -- At least one SPK file needs to be loaded by SPKLEF before beginning a search. A traceback follows. The name of the highest level module is first.spkezr_c --> SPKEZR --> SPKEZ --> SPKGEO --> SPKSFS.'

Could you please help me understand the reason for this and how to resolve it? Thank you."

屏幕截图 2024-05-31 150917

To reproduce Steps to reproduce the behavior:

  1. Add module '...'
  2. Simulate with the configuration '....'
  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots/plots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem or potential solution paths here.

schaubh commented 2 weeks ago

This means the JPL Spice files were not installed. Be sure to install git-lfs before cloning the repo to ensure the spice file is also pulled. See http://hanspeterschaub.info/basilisk/Install/pullCloneBSK.html.