Regarding Getting Data From Optitrack To Simulink
Ältere Kommentare anzeigen
Good evening, everyone.
I am working on a path following algorithm in Simulink. I am using the Optitrack motion capturing System to stream the data from motion capturing system(motive software) to Simulink. I request gto help me which block should I use in my simulink model to get the data from motive software(motion-capturing system). I checked online about 'Natnet', but still didn't get how to do it. Please help me.
Thank you
5 Kommentare
Roshan Swain
am 28 Dez. 2022
As per my understanding, you are having issues with setting up "NatNet".
You will most likely need to install the "NatNet" SDK for your use case:
You can refer to some files/answers shared by the community as your next step and to understand "NatNet" better:
- How to interface Natural Point Motive (NatNet) with Simulink model? - MATLAB Answers - MATLAB Central (mathworks.com)
- https://www.mathworks.com/matlabcentral/fileexchange/49921-natural-point-motive-optitrack-api-interface-to-matlab-and-simulink-64bit-by-or-hirshfeld
- NatNet (Motive/Arena) simple sample for location data by Or Hirshfeld - File Exchange - MATLAB Central (mathworks.com)
- MotiveExample - File Exchange - MATLAB Central (mathworks.com)
Let me know if this helps.
Shivam Bajpai
am 28 Dez. 2022
Roshan Swain
am 29 Dez. 2022
You will need to install it in your simulink system to access the necessary libraries and functions that allow you to communicate with the Optitrack motion capture system and receive tracking data in real-time.
Shivam Bajpai
am 30 Dez. 2022
Roshan Swain
am 2 Jan. 2023
Not exactly sure about the error but you can :
- Try adjusting the data type and data size settings in the block to match the settings in Motive.
- Try disabling the "Enable Blocking" mode(ON by default). This will wait for the packets to arrive at each specific time stamps.
Antworten (0)
Kategorien
Mehr zu Block Libraries finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!