Motive API - Camera Location and Orientation from TTP or CAL

Post Reply
rlong
Posts: 2
Joined: Thu Oct 06, 2016 10:46 am

Motive API - Camera Location and Orientation from TTP or CAL

Post 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
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 720
Joined: Mon Jan 19, 2015 11:52 am

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

Post 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
Post Reply