Tracking Tools Synced Start
Posted: Tue Nov 03, 2015 7:20 am
Hello,
I have a setup with tracking tools V2.5.3 with 6 flex 3 cameras using a single optihub.
I need to write an application to start and stop the data recording upon command. I have a trigger signal which will start the experiment and data acquisition. I am not interested in streaming the data, for an initial application it is fine to save it in csv format. I have a preference for python, matlab or visual basic in order of preference.
I have been studying the forums and manual for 2 days and have identified three different ways to achieve a solution for my problem:
1 - Use the tracking tools API (either with a wrapper like ctypes on python, equivalent on matlab or straight in visual studio). The issue I am having is finding a reference guide on what are the available functions, parameters and how the API work in general. Is there such a thing? I have found some examples but I am a C illiterate (would prefer to avoid learning a new programing language for this project).
2 - Use NatNet SDK on matlab (which is intended for streaming but I have no problem with that as long as I can synch the start and stop). The problem is that the most current version of NatNet(2.7) has some good examples with matlab, but the version I am directed to download at TrackingTools page is an older one(2.2) with no matlab support. I have tried them both (after configuring folder and ip) and I get a blank figure and no error message. I don't know if NatNet SDK v. 2.2 does support matlab or not and if it does what could be my error, since I get no error message.
3 - An analog trigger frame by frame. This is my fallback option, Send a pulse frame by frame on the external synch on optihub.
Can anyone provide any advice or sample code on what is the easiest way to achieve my objective? Or just any feedback on the problems I have described.
thank you,
Thiago
I have a setup with tracking tools V2.5.3 with 6 flex 3 cameras using a single optihub.
I need to write an application to start and stop the data recording upon command. I have a trigger signal which will start the experiment and data acquisition. I am not interested in streaming the data, for an initial application it is fine to save it in csv format. I have a preference for python, matlab or visual basic in order of preference.
I have been studying the forums and manual for 2 days and have identified three different ways to achieve a solution for my problem:
1 - Use the tracking tools API (either with a wrapper like ctypes on python, equivalent on matlab or straight in visual studio). The issue I am having is finding a reference guide on what are the available functions, parameters and how the API work in general. Is there such a thing? I have found some examples but I am a C illiterate (would prefer to avoid learning a new programing language for this project).
2 - Use NatNet SDK on matlab (which is intended for streaming but I have no problem with that as long as I can synch the start and stop). The problem is that the most current version of NatNet(2.7) has some good examples with matlab, but the version I am directed to download at TrackingTools page is an older one(2.2) with no matlab support. I have tried them both (after configuring folder and ip) and I get a blank figure and no error message. I don't know if NatNet SDK v. 2.2 does support matlab or not and if it does what could be my error, since I get no error message.
3 - An analog trigger frame by frame. This is my fallback option, Send a pulse frame by frame on the external synch on optihub.
Can anyone provide any advice or sample code on what is the easiest way to achieve my objective? Or just any feedback on the problems I have described.
thank you,
Thiago