File Exchange

image thumbnail

MotiveExample

version 1.0.0.0 (11.3 KB) by Raphael Cherfan
Level-2 S-function to poll data from Motive trough NatNet

5 Downloads

Updated 19 Jan 2015

View License

This example inspired by an another post on the NaturalPoint Forum allows you to poll the data of a rigid body trough the NatNet librairy offered in Motive.

Cite As

Raphael Cherfan (2020). MotiveExample (https://www.mathworks.com/matlabcentral/fileexchange/49085-motiveexample), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Patricia Coman

What parameters do I need to enter in the S-Function block, and what input should I give? Thanks

minkow38

Thanks for your work,

If you want to use several blocks to simultaneously get the positions for several objects you can add these lines to ProcessFrame methods:

function [D] = ProcessFrame( frameOfData,block )

index_obj = block.InputPort(1).Data;

rigidBodyData = frameOfData.RigidBodies(index_obj);
...

And then don't forget to call :
D=ProcessFrame(data,block);

In Output methods.

Regards

Kidus Guye

Is there anyone who wrote TLC file for this file???

Or Hirshfeld

Great work, really useful
only have an issue while trying to run the model in External mode with Windows Real-Time Target.
It's asking for TLC block file. I'm not sure how I should write this specific file?

Or Hirshfeld

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

ExampleMotive/

ExampleMotive/