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

TimeControl is initialized too late #390

Open
JonasGilg opened this issue Nov 22, 2024 · 0 comments
Open

TimeControl is initialized too late #390

JonasGilg opened this issue Nov 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JonasGilg
Copy link
Member

Describe the Bug

I wanted to set the initial observer position to the ISS, but this uncovered a bug. When the observer is moved to the starting position the simulation time is still at 2000-01-01 00:00:00.000.

Steps to reproduce the behavior:

  1. Load a spice kernel with a satellite (that doesn't exist in 2000)
  2. Set the start position to the satellites center and the frame to J2000 in the config
  3. Launch CosmoScout VR
  4. An error is thrown in the console: [W] cs-scene .......... CelestialObserver::moveTo failed: Insufficient ephemeris data has been loaded to compute the state of 0 (SOLAR SYSTEM BARYCENTER) relative to -125544 (ISS) at the ephemeris epoch 2000 JAN 01 12:00:00.000.

Expected Behavior

The simulation time should be set before the observer is moved.

@JonasGilg JonasGilg added the bug Something isn't working label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant