High delay and high simulation step

Typically: "How do I... ", "How can I... " questions
Post Reply
Jyri

High delay and high simulation step

Post by Jyri » 25 Jun 2014, 14:16

Hi,

I want to visualize my robot movements in V-REP and get back laser sensor data. But my problem is that there is a high delay between Matlab and V-REP.
I use 0.001s simulation step in Matlab Simulink and I would want to have that in V-REP too. But the lowest one to choose is 0.010s. Why there is no lower simulation step in V-REP? I need my total delay to be less than 0.020s, and now it doesn't seem achievable...
I had to select 0.050s simulation step from V-REP, because for some reason the delay kept increasing and increasing if I chose anything lower. And in Simulink, I had to send the data to V-REP only every 0.070s. This way the delay remained between 0.001s...0.070s and didn't keep rising, but this kind of delay is still too high for me.

Does anyone know why the lowest simulation step in V-REP is 0.010s and why it doesn't seem to work properly when I choose it?

Thanks for any help!

Jyri

Post Reply