Synchronous mod connection Matlab, delay simulation
Posted: 11 Jun 2019, 12:29
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.
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.