Skip to content

Can't run simulator #340

@awoodthomas

Description

@awoodthomas

Describe the bug
Cannot run the simulator.

./bin/survive-cli --simulator
Info: Setting up Simulator driver.
Info: Adding tracked object SM0 from SIM
Info: Loaded drivers: Simulator, GlobalSceneSolver
Segmentation fault (core dumped)

Looking at the failure with lldb:

* thread #1, name = 'survive-cli', stop reason = signal SIGSEGV: invalid address (fault address: 0x1350)
    frame #0: 0x00007ffff7f09c34 libsurvive.so.0`survive_kalman_lighthouse_ootx(tracker=0x0000000000000000) at survive_kalman_lighthouses.c:221:22
   218          }
   219  }
   220  void survive_kalman_lighthouse_ootx(SurviveKalmanLighthouse *tracker) {
-> 221          tracker->state.BSD0 = tracker->ctx->bsd[tracker->lh].fcal[0];
   222          tracker->state.BSD1 = tracker->ctx->bsd[tracker->lh].fcal[1];
   223  }
   224  void minimize_error_state_model_fn(void *user, const struct CnMat *x0, const struct CnMat *x1,

Desktop (please complete the following information):

  • OS: WSL Ubuntu 22.04.5 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions