MATLAB Answers

Storing Transformation Matrices from Tracked Objects in Real Time

18 views (last 30 days)
Marcus Tatum
Marcus Tatum on 22 Jan 2019
Answered: ntinoson on 24 Jan 2020 at 20:13
I am using an electromagnetic tracker that I can read in and display object positions in real time in Matlab (about 20 fps) with 4x4 transformation matrices supplied by an external source. The question I have is how to efficiently save this data for future analysis (any format works so long as I have the tranformation matrix and time stamp). The recording window can be anywhere from 1-5 minutes and I am tracking three objects simultaniously. I do not know how to efficiently save this data without making a growing structure that appends after each loop. If it helps, I am using the TrakSTAR system by NDI with a Matlab API to communicate with it.
EDIT: I would like to ultimately store the data as a CSV or text file.

  0 Comments

Sign in to comment.

Answers (1)

ntinoson
ntinoson on 24 Jan 2020 at 20:13
trakSTAR comes with a ready-to-go software for recording data.
Bytheway, I'm desperately looking for the MATLAB API of TrakStar. We have a quite old C driver, and we want to use MATLAB. I've asked the company but not reply yet. If you could share the MATLAB API, i would be grateful!
Just let me now in case you read this and I could give you my email!

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by