Home Forums Software Development Steam Engine Example Codes Reporting Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #22417


    When running example codes abount “tobii_get_track_box” and “tobii_eye_position_normalized_subscribe” on the API documentation page(https://tobiitech.github.io/stream-engine-docs/), error was reported:
    Assertion failed: error == TOBII_ERROR_NO_ERROR.

    So I added “printf( “%s\n”, tobii_error_message( error ) );” after these codes:
    error = tobii_get_track_box( device, &track_box );
    error = tobii_eye_position_normalized_subscribe(device, eye_position_callback, 0);

    Then I got “Attempt to use a feature which is not supported.” My device is Eye Tracker 5.

    Please kindly inform me how could I make these codes work?

    Grant [Tobii]

    Hi @tracyheld, these two functions are now deprecated and replaced accordingly:

    tobii_get_track_box -> user_position_guide
    tobii_eye_position_normalized_subscribe -> tobii_user_position_guide_subscribe

    Best Wishes.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.