File Exchange

image thumbnail

SharedTransform

version 1.0.0.0 (4.56 KB) by

Shares a 4x4 homogeneous transform among MATLAB instances

1 Download

Updated

View License

SharedTransform provides a low overhead way to share a 4x4 transform between MATLAB instances using memory mapped files. The original use case was a need for asynchronously updating the target pose of a robot that is controlled at >100 Hz with input data from a computer vision algorithm running at 30 Hz. Memory mapped files provide a simpler way to share data than using sockets or e.g. ROS messages using the robotics toolbox.

% MATLAB instance (writer)
blob = SharedTransform('blob');
blob.setTransform(eye(4));

% MATLAB instance (reader)
blob = SharedTransform('blob');
T = blob.getTransform();

Please consult the help documentation for more info.

Comments and Ratings (0)

Updates

1.0.0.0

added help note

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

Inspired: SharedData

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video