Skip to content

Matlab Emio Communicaiton#38

Open
AlessandriniAntoine wants to merge 13 commits into
SofaComplianceRobotics:mainfrom
AlessandriniAntoine:main
Open

Matlab Emio Communicaiton#38
AlessandriniAntoine wants to merge 13 commits into
SofaComplianceRobotics:mainfrom
AlessandriniAntoine:main

Conversation

@AlessandriniAntoine
Copy link
Copy Markdown
Contributor

adds a Matlab/Simulink TP extensions to _depthcamera.py required to support it.

Changes to _depthcamera.py

  • Raw camera coordinates: added access to unprocessed tracker coordinates from the camera frame, used for the front-facing camera mode without noise introduced by post-processing.
  • Frame split: separated get_frame() and process_frame() into two distinct calls, allowing synchronization via multiprocessing events between the camera and motor control processes.

New: examples/matlab/

A complete Python/Simulink bridge for a compliant robotics TP:

  • UDP communication between Python and Simulink (clock-master pattern)
  • Python multiprocessing work:
    • Camera-based marker tracking (top and front modes)
    • Motor control loop synchronized with the camera process
    • Configurable via a single params.py file
  • Includes a hardware-free test script

@HanaeRateau
Copy link
Copy Markdown
Collaborator

HanaeRateau commented May 11, 2026

We won't merge this PR but we will integrate the UDP server #39, and we created a repo with a minimal the matlab example https://github.com/SofaComplianceRobotics/MatlabxEmio.
We will also created another repo with a the full matlab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants