Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit 3f7a452

Browse files
author
Olav de Haas
committed
Fix test joint names
1 parent bbeacf3 commit 3f7a452

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

march_hardware_builder/include/march_hardware_builder/AllowedRobot.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class AllowedRobot
1111
{
1212
march4,
1313
march3,
14-
testjoint_rotational,
15-
testjoint_linear,
14+
test_joint_rotational,
15+
test_joint_linear,
1616
pdb,
1717
};
1818

@@ -27,13 +27,13 @@ class AllowedRobot
2727
{
2828
this->value = march3;
2929
}
30-
else if (robotName == "testjoint_rotational")
30+
else if (robotName == "test_joint_rotational")
3131
{
32-
this->value = testjoint_rotational;
32+
this->value = test_joint_rotational;
3333
}
34-
else if (robotName == "testjoint_linear")
34+
else if (robotName == "test_joint_linear")
3535
{
36-
this->value = testjoint_linear;
36+
this->value = test_joint_linear;
3737
}
3838
else if (robotName == "pdb")
3939
{
@@ -42,7 +42,7 @@ class AllowedRobot
4242
else
4343
{
4444
ROS_ASSERT_MSG(false, "Unknown robot %s", robotName.c_str());
45-
this->value = AllowedRobot::testjoint_rotational;
45+
this->value = AllowedRobot::test_joint_rotational;
4646
}
4747
}
4848

@@ -57,11 +57,11 @@ class AllowedRobot
5757
{
5858
return basePath.append("/robots/march3.yaml");
5959
}
60-
else if (this->value == AllowedRobot::testjoint_rotational)
60+
else if (this->value == AllowedRobot::test_joint_rotational)
6161
{
6262
return basePath.append("/robots/test_joint_rotational.yaml");
6363
}
64-
else if (this->value == AllowedRobot::testjoint_linear)
64+
else if (this->value == AllowedRobot::test_joint_linear)
6565
{
6666
return basePath.append("/robots/test_joint_linear.yaml");
6767
}

0 commit comments

Comments
 (0)