Page 1 of 1

Motive API - Camera Location and Orientation from TTP or CAL

Posted: Thu Oct 06, 2016 11:17 am
by rlong
Is it safe to assume that camera location and orientation information are saved in .TTP and .CAL files along with the camera calibration data?

I need to be able to retrieve camera location and orientation information from .TTP and .CAL files even when the cameras are not actually connected to the system. This is to aid with the configuration of overlays that come into play long before the OptiTrack cameras are used within our software.

I know about the TT_CameraXLocation and TT_CameraOrientationMatrix functions but they seem to require the cameras to be actively connected and initialized.

Is there another way to accomplish this (such as reading the data directly from the .TTP or .CAL files) or can an alternate method be added to the API?

Thanks

Re: Motive API - Camera Location and Orientation from TTP or

Posted: Fri Oct 07, 2016 10:31 am
by steven.andrews
Hello rlong,

Thank you for reaching out to the community regarding this question.

You have found everything that is currently available to you with regards to accessing the camera positions. It is required that the cameras are connected and powered on in order to retrieve this information.
If it is useful to you, it should be possible for you to retrieve the camera positions while you are connected, and write them to your own file, utilizing the API.

We do not currently have plans to make these values available offline, but please feel free to contact us directly if you wish to submit a feature request.
help.naturalpoint.com

Best regards,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer