Skip to content
Snippets Groups Projects
Commit c1ca68f1 authored by armar-user's avatar armar-user
Browse files

Merge branch 'master' of gitlab.com:ArmarX/RobotAPI

parents 7ecf4166 f2135e09
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@
#include <VirtualRobot/XML/RobotIO.h>
#include <SimoxUtility/json.h>
#include <SimoxUtility/algorithm/string.h>
// Qt headers
#include <Qt>
......@@ -226,7 +227,7 @@ void KinematicUnitWidgetController::onConnectComponent()
}
// check robot name and disable setZero Button if necessary
if (robot->getName() != "Armar3")
if (not simox::alg::starts_with(robot->getName(), "Armar3"))
{
ARMARX_IMPORTANT << "Disable the SetZero button because the robot name is " << robot->getName();
ui.pushButtonKinematicUnitPos1->setDisabled(true);
......
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