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

Implemented communication on port 30001 and 30002 - untested

This commit is contained in:
Thomas Timm Andersen
2015-09-15 17:03:39 +02:00
parent b5a687a54a
commit cb18dd1d96
7 changed files with 26 additions and 8 deletions

View File

@@ -85,6 +85,12 @@ std::vector<bool> RobotStateRT::unpackDigitalInputBits(int64_t data) {
return ret;
}
void RobotStateRT::setVersion(double ver) {
val_lock_.lock();
version_ = ver;
val_lock_.unlock();
}
double RobotStateRT::getVersion() {
double ret;
val_lock_.lock();