Hi Coppelia
I implement a code for controlling a mobile robot in synchronous connection with Matlab. I set the target velocity of the joints and then I check the state of the robot process in control conditions and then reset target velocity.
The problem and questions is how can I delay in synchronous the algortihm, from the moment i set the velocity until the timestep of 0.01 s finishes and then check the states of the robot again to send the new command.
Synchronous mod connection Matlab, delay simulation
Re: Synchronous mod connection Matlab, delay simulation
Not sure I correctly understand your question.
Maybe make sure that your simulation step has finished executing, before sending new values or querying values?
Cheers
Maybe make sure that your simulation step has finished executing, before sending new values or querying values?
Cheers