1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 10:00:48 +02:00

Verified all functionality on all simulators

This commit is contained in:
Thomas Timm Andersen
2015-09-22 13:40:03 +02:00
parent fdcf4936de
commit d5ea350145

View File

@@ -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();
} }