Skip to content
Snippets Groups Projects

Improve armar7 platform movement

Merged Tobias Gröger requested to merge feature/improve-armar7-platform-movement into master
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -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;
}
Loading