mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
added the rtde client class that initializes the rtde handshake and
allows reading of data packages
This commit is contained in:
@@ -181,9 +181,9 @@ public:
|
||||
notifier_.stopped(name_);
|
||||
}
|
||||
|
||||
bool getLatestProduct(std::unique_ptr<URPackage<HeaderT>> product, std::chrono::milliseconds timeout)
|
||||
bool getLatestProduct(std::unique_ptr<URPackage<HeaderT>>& product, std::chrono::milliseconds timeout)
|
||||
{
|
||||
return !queue_.wait_dequeue_timed(product, timeout);
|
||||
return queue_.wait_dequeue_timed(product, timeout);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user