Export Tracking Data

Post Reply
ypleong
Posts: 5
Joined: Tue Apr 29, 2014 2:18 pm

Export Tracking Data

Post by ypleong »

I have multiple takes in a session. In each take, the rigid bodies recorded are not always the same. Some might have more, some might have less.

Is there a way to export tracking data for different take into CSV without export the whole library of rigid bodies?

For example, if Take 1 has rigid bodies 1, 2, and 3, and Take 2 has rigid bodies 3, 4, and 5. When I export data into CSV by right clicking on Take 1, rigid bodies 1 to 5 are all exported. Is it possible to have only rigid bodies 1-3 exported and not 4-5 for Take 1? And, similarly, for the other takes.

Also, is there a way to export all data at once for all takes in one session? For example, export Take 1 as Take 1.csv, Take 2 as Take 2.csv, etc.
NaturalPoint-Dustin
Posts: 609
Joined: Tue Mar 19, 2013 5:03 pm

Re: Export Tracking Data

Post by NaturalPoint-Dustin »

Hi Ypleong,

What you are asking is not possible. However, it would be easy to delete the columns in the CSV file after you have exported. You could automate this process by creating a macro in excel.

Regarding your second question, I recommend using our new Motive Batch Processor. You can read more about this here:

http://wiki.optitrack.com/index.php?tit ... _Processor
Dustin
Technical Support Engineer
OptiTrack | TrackIR | SmartNav
ypleong
Posts: 5
Joined: Tue Apr 29, 2014 2:18 pm

Re: Export Tracking Data

Post by ypleong »

I tried the Batch Processing. For some reason, it doesn't export some of the rigid bodies in some of the takes. I export them as CSV files. What could be wrong?

These are my settings in the code:

CSVExporter exporter = new CSVExporter
{
RotationType = Rotation.XYZ,
WriteBones = false,
WriteBoneMarkers = false,
WriteMarkers = false
};

Everything else in the script is the same as the sample given online at
http://wiki.optitrack.com/index.php?tit ... _Processor
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 718
Joined: Mon Jan 19, 2015 11:52 am

Re: Export Tracking Data

Post by steven.andrews »

Hi ypleong,

I tried running some batch exports, myself, and am having trouble recreating this issue.

Could you go to go to the Help menu at the top of Motive and select "About Motive..." ? What is the full version number for the Motive you are running?
ypleong
Posts: 5
Joined: Tue Apr 29, 2014 2:18 pm

Re: Export Tracking Data

Post by ypleong »

Motive 1.7.2 Final 64-bit
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 718
Joined: Mon Jan 19, 2015 11:52 am

Re: Export Tracking Data

Post by steven.andrews »

Thank you for this information. I would like to look into this further for you.

Could you please submit a support ticket at help.naturalpoint.com
If you don't mind, I would like you to include a copy of the script you are running as well as any smaller .tak files you have recorded that are exhibiting this behavior upon export.

Thanks,
Steven
--
Steven Andrews
OptiTrack | Customer Support Engineer
ypleong
Posts: 5
Joined: Tue Apr 29, 2014 2:18 pm

Re: Export Tracking Data

Post by ypleong »

I submitted a ticket. Thank you for looking into this.
Post Reply