SharedTransform
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.
Citar como
Florian Enner (2024). SharedTransform (https://www.mathworks.com/matlabcentral/fileexchange/60689-sharedtransform), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspiración para: SharedData
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 | added help note |