Time synchronization issue between MATLAB/Simulink and Gazebo during simulation
Mostra commenti meno recenti
I am performing a co-simulation between Simulink and Gazebo to control the position of robotic joints. In the simulation, I am sending desired joint angles (reference signals) to Gazebo and receiving the joint angles back.
However, when I observe the signals in the Scope block, I notice that the desired joint angles and the received joint angles are similar, but the received joint angles from Gazebo are delayed by one sample time (step time).

Any suggestions on how to resolve this time delay issue would be greatly appreciated.
Thank you for your help!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Gazebo Co-Simulation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
