Simscape Mechanics Explore camera and image processing.

I was wondering if there is a way to do some basic real time image processing of the mechanics explorer output?
I am trying to track a simple moving sphere and use the data to comand my robot to track it. I am aware that you can use the camera manager to create a dynamic camera, but I am unsure if I can analyze the camera feed in real time? Is there perhaps another toolbox or block I can use in simulink to do this?

Risposte (1)

Through release R2021a, the image presented in the Mechanics Explorer cannot be fed during a simulation to an image processing algorithm via a Simulink signal. You could save the animation from the Mechanics explorer to a video file and then in a separate run feed those video images to your algorithm.
--Steve

2 Commenti

Hello, I just wanted to confirm if this is still the case in release R2022b ?
me too. is there any changes in such method or approaches.

Accedi per commentare.

Categorie

Richiesto:

il 23 Mar 2021

Commentato:

il 16 Dic 2022

Community Treasure Hunt

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

Start Hunting!

Translated by