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

Adds prefix to all joint names.

This commit is contained in:
Henning Kayser
2017-07-21 17:33:28 +02:00
parent 1e4934a199
commit 54a852305c

View File

@@ -85,6 +85,10 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
//Add prefix to joint names
std::transform (args.joint_names.begin(), args.joint_names.end(), args.joint_names.begin(),
[&args](std::string name){return args.prefix + name;});
std::string local_ip(getLocalIPAccessibleFromHost(args.host));
URFactory factory(args.host);
@@ -156,4 +160,4 @@ int main(int argc, char **argv)
LOG_INFO("Pipelines shutdown complete");
return EXIT_SUCCESS;
}
}