Commit 78ab958b authored by Noelie Ramuzat's avatar Noelie Ramuzat

Update indentation of roscontrol-sot-controller.cpp

parent c15c2110
Pipeline #2913 failed with stage
in 4 seconds
......@@ -626,7 +626,7 @@ namespace sot_controller
{
bool notok=true;
SotControlMode lcontrol_mode = control_mode_;
bool failure=false;
bool failure=false;
while (notok)
{
......@@ -652,7 +652,7 @@ namespace sot_controller
}
catch (...)
{
failure=true;
failure=true;
ROS_ERROR_STREAM("Could not find joint "
<< joints_name_[i]);
if (lcontrol_mode==POSITION)
......@@ -665,8 +665,8 @@ namespace sot_controller
else if (lcontrol_mode==EFFORT)
lcontrol_mode = POSITION;
}
if (!failure)
desired_init_pose_[i] = joints_[i].getPosition();
if (!failure)
desired_init_pose_[i] = joints_[i].getPosition();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment