mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
Verified all functionality on all simulators
This commit is contained in:
@@ -184,8 +184,8 @@ void UrDriver::doTraj(std::vector<double> inp_timestamps,
|
|||||||
buf[7 * 4 + 3] = (tmp >> 24) & 0xff;
|
buf[7 * 4 + 3] = (tmp >> 24) & 0xff;
|
||||||
bytes_written = write(new_sockfd, buf, 32);
|
bytes_written = write(new_sockfd, buf, 32);
|
||||||
|
|
||||||
// oversample with 2 * sample_time
|
// oversample with 4 * sample_time
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(4));
|
std::this_thread::sleep_for(std::chrono::milliseconds(2));
|
||||||
|
|
||||||
t = std::chrono::high_resolution_clock::now();
|
t = std::chrono::high_resolution_clock::now();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user