mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
Adds prefix to all joint names.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user