Skip to content
Snippets Groups Projects
Commit 30ede799 authored by Raphael's avatar Raphael
Browse files

change the makeRNSComboBox function to take a name for the selected rns as param

parent 3b5840c0
No related branches found
No related tags found
No related merge requests found
......@@ -28,11 +28,12 @@ namespace armarx
{
StringComboBoxPtr makeRNSComboBox(
const VirtualRobot::RobotPtr& robot,
const std::string& name,
const std::set<std::string>& preferredSet,
const std::string& mostPreferred)
{
StringComboBoxPtr rns = new StringComboBox;
rns->name = "rns";
rns->name = name;
std::string currentPreferred;
for (const auto& name : robot->getRobotNodeSetNames())
{
......
......@@ -36,6 +36,7 @@ namespace armarx
{
StringComboBoxPtr makeRNSComboBox(
const VirtualRobot::RobotPtr& robot,
const std::string& name = "RobotNodeSet",
const std::set<std::string>& preferredSet = {},
const std::string& mostPreferred = "");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment