santdiego / simExtSimulink

Plugin and blocks to communicate the CoppeliaSim robotic simulator with the Matlab Simulink environment.
BSD 2-Clause "Simplified" License
21 stars 9 forks source link

Synchronization Between CoppeliaSim and Simulink #2

Closed ZPHuang-ACM closed 3 years ago

ZPHuang-ACM commented 3 years ago

Thank you for creating this work!

I wonder whether there is a synchronization between Simulink and CoppeliaSim?

In other words, are the simulation steps in CoppeliaSim triggered by Simulink? or they are totally independent?

Thank you!

yu-zy11 commented 3 years ago

sorry.I always use CoppeliaSim with matlab

发自我的iPhone

在 2021年4月27日,下午11:27,ZPHuang-ACM @.***> 写道:

 Thank you for creating this work!

I wonder whether there is a synchronization between Simulink and CoppeliaSim?

In other words, are the simulation steps in CoppeliaSim triggered by Simulink? or they are totally independent?

Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

santdiego commented 3 years ago

Thank you for creating this work!

I wonder whether there is a synchronization between Simulink and CoppeliaSim?

In other words, are the simulation steps in CoppeliaSim triggered by Simulink? or they are totally independent?

Thank you!

Hello . Thanks for your interest. In answer to your question, no, at the moment the simulink-coppeliasim steps are not synchronized. Although this could be implemented by script, it would be more practical and easier to add the functionality to the blocks. It is in my plans to implement this in the near future. In any case, the synchronization should be done from the simulink clock, since altering the simulation steps is easier (and less problematic) in CoppeliaSim than in simulink. Greetings!

ZPHuang-ACM commented 3 years ago

Thank you for clarifying it for me!