Commit d1bb4334 authored by Paul Rouanet's avatar Paul Rouanet
Browse files

Modif on write() function

parent 5557a19e
...@@ -691,11 +691,12 @@ SystemBoltHardware::write() ...@@ -691,11 +691,12 @@ SystemBoltHardware::write()
robot_->joints->SetVelocityGains(gain_KD); robot_->joints->SetVelocityGains(gain_KD);
} }
else {
//Chose à faire si le robot n'est pas Ready
}
} }
else
{
std::this_thread::yield();
}
robot_->SendCommand(); robot_->SendCommand();
} }
......
Supports Markdown
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