Jump to content
 
Sign in to follow this  
DsumDave

SRAnipal start calibration from code

Recommended Posts

Hi!

Triggering the HTC calibration is easy - but we don't know when it ends!

There seem to be a IntPtr for callback - but it's not in use I believe.

 

Is there some way for us to know when the user has finished their calibration?

Share this post


Link to post
Share on other sites

When calibration finished, LaunchEyeCalibration() API will return a value. If work properly, It will return ViveSR.Error.WORK; Otherwise, It will return one of ViveSR.Error's error code.

If the error is caused by SteamVR, It will return one of ViveSR.anipal.Eye.CalibrationExitCode's error code

 

The IntPtr is not in use now.

Share this post


Link to post
Share on other sites

Please sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...