Skip to content
Snippets Groups Projects
Commit 9bdaa7e1 authored by Tobias Gröger's avatar Tobias Gröger
Browse files

Test

parent 2a8cb438
Branches state_memory_get_global_pose
No related tags found
No related merge requests found
Pipeline #19026 passed
This commit is part of merge request !451. Comments created here will be created in the context of that merge request.
......@@ -140,6 +140,11 @@ namespace armarx
float oriFactor = std::abs(delta(2)) / maxOrientationAcceleration / dt;
factor = std::max(factor, oriFactor);
if (factor < 0)
{
throw LocalException("Error factor negative!");
}
state += delta / factor;
return state;
}
......
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