Skip to main content
Up and Coming
October 13, 2013

Cant run latest SDK

Hi!
I cant run latest SDK, I get

Unhandled exception at 0x00F37BE1 in SensorBoxTest.exe: 0xC0000005: Access violation reading location 0x00000000.


Any other users having problems?

    8 replies

    Up and Coming
    October 13, 2013
    I'm having issues as well, it seems the new circular buffer class in ovr_sensorfilter is throwing access violation errors at run time...any ideas?
    Participant
    October 13, 2013
    I'm having problems with it too. The config util won't allow me to complete the calibration for head-tracking and wants me to spin around like a damn gyro-scope, yet it still fails!
    Inspiring
    October 13, 2013
    The crash bug and the calibration problems are two different things. The crash bug was already reported here: viewtopic.php?f=34&t=4655 but the response was 'don't allocate the SensorFusion objects on the stack before running the SDK init command'. I didn't realize it had broken the built in sensor box test though.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Inspiring
    October 13, 2013
    Actually I just tested the SensorBox sample on my system and it doesn't crash, and reading the way they initialize the SDK, I wouldn't expect it to, so you must be having a different problem. Can you provide a stack trace?
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    Up and Coming
    October 13, 2013
    I cant run the calibration tool on my virtual dev machine because it wont let me calibrate it since the device ID on the monitor is wrong (The USB part works but there is a cehck in the calibariton tool). If i ran the SensorBox on my real machine it worked. But my real program that is based on the minimal example does not, will have to try your link and see if it helps, thanks
    Up and Coming
    October 13, 2013
    Up and Coming
    October 13, 2013
    mmm, I call init before the FusionResult.AttachToSensor(pSensor);

    int ovr_freepie_init(float dt)
    {
    OVR::System::Init();

    pManager = *DeviceManager::Create();
    pHMD = *pManager->EnumerateDevices<HMDDevice>().CreateDevice();

    if (!pHMD)
    return 1;

    sensorPrediction = dt;
    enableSensorPrediction = sensorPrediction > 0;


    pSensor = *pHMD->GetSensor();

    HMDInfo hmdInfo;
    pHMD->GetDeviceInfo(&hmdInfo);

    if (pSensor)
    FusionResult.AttachToSensor(pSensor);
    if(enableSensorPrediction)
    FusionResult.SetPrediction(sensorPrediction);

    return 0;
    }
    Up and Coming
    October 13, 2013
    Got it to work using the updated wiki, thanks for the pointers jherico!