Regarding Getting Data From Optitrack To Simulink

14 ビュー (過去 30 日間)
Shivam Bajpai
Shivam Bajpai 2022 年 12 月 22 日
コメント済み: Roshan Swain 2023 年 1 月 2 日
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 件のコメント
Shivam Bajpai
Shivam Bajpai 2022 年 12 月 30 日
Hello, Sir,
Thank you so much for your response. I have installed the Natnet SDK in my Simulink or MATLAB system and I ran the "NATNetEventHandlingSample" m file, it is connecting to the Optitrack motive software, and plotting the graph of frame VS position and frame Vs rotation, nothing other than that.
I have installed all the zip files and tried to run them all mentioned in the link below.
https://www.mathworks.com/matlabcentral/fileexchange/?q=profileid:5020917
I am sure, I am doing something wrong, I got confused by having so many m files and few Simlink Optritrack files.
I tried using UDP receiver from Instrument Control Toolbox and after inserting the ip address of Motive software contsining system and Simulink system, it verified them but while running it is showing some errors at line 446: I have attached the images below of that.
Roshan Swain
Roshan Swain 2023 年 1 月 2 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by