Skip to content
Snippets Groups Projects
Commit 32e08a86 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add semicolon after ARMARX_CHECK_EXPRESSION_W_HINT

parent 835ef6f3
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ namespace armarx
void ControlDevice::rtSetActiveJointController(JointController* jointCtrl)
{
ARMARX_CHECK_EXPRESSION_W_HINT(jointCtrl, "Called ControlDevice::rtSetActiveJointController with a nullptr (Don't do this)")
ARMARX_CHECK_EXPRESSION_W_HINT(jointCtrl, "Called ControlDevice::rtSetActiveJointController with a nullptr (Don't do this)");
if (activeJointController == jointCtrl)
{
return;
......
......@@ -684,9 +684,9 @@ namespace armarx
void EDifferentialIK::setGoal(const Matrix4f& goal, RobotNodePtr tcp, IKSolver::CartesianSelection mode, float tolerancePosition, float toleranceRotation, VectorXf tcpWeight)
{
if (mode <= IKSolver::Z)
ARMARX_CHECK_EXPRESSION_W_HINT(tcpWeight.rows() == 1, "The tcpWeight vector must be of size 1")
ARMARX_CHECK_EXPRESSION_W_HINT(tcpWeight.rows() == 1, "The tcpWeight vector must be of size 1");
else if (mode <= IKSolver::Orientation)
ARMARX_CHECK_EXPRESSION_W_HINT(tcpWeight.rows() == 3, "The tcpWeight vector must be of size 3")
ARMARX_CHECK_EXPRESSION_W_HINT(tcpWeight.rows() == 3, "The tcpWeight vector must be of size 3");
else if (mode == IKSolver::All)
{
ARMARX_CHECK_EXPRESSION_W_HINT(tcpWeight.rows() == 6, "The tcpWeight vector must be of size 6");
......
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