diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/InverseDynamics/test_invdyn_kinematics.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/InverseDynamics/test_invdyn_kinematics.cpp b/test/InverseDynamics/test_invdyn_kinematics.cpp index 6726816a5..fd7772bd1 100644 --- a/test/InverseDynamics/test_invdyn_kinematics.cpp +++ b/test/InverseDynamics/test_invdyn_kinematics.cpp @@ -340,7 +340,8 @@ TEST(InvDynKinematicsDifferentiation, errorOrder) { &max_linear_acceleration_error[1], &max_angular_acceleration_error[1]); - const idScalar expected_linear_velocity_error_1 = +/* + const idScalar expected_linear_velocity_error_1 = max_linear_velocity_error[0] * pow(kDeltaTs[1] / kDeltaTs[0], 2); const idScalar expected_angular_velocity_error_1 = max_angular_velocity_error[0] * pow(kDeltaTs[1] / kDeltaTs[0], 2); @@ -349,7 +350,7 @@ TEST(InvDynKinematicsDifferentiation, errorOrder) { const idScalar expected_angular_acceleration_error_1 = max_angular_acceleration_error[0] * pow(kDeltaTs[1] / kDeltaTs[0], 2); -/* printf("linear vel error: %e %e %e\n", max_linear_velocity_error[1], + printf("linear vel error: %e %e %e\n", max_linear_velocity_error[1], expected_linear_velocity_error_1, max_linear_velocity_error[1] - expected_linear_velocity_error_1); printf("angular vel error: %e %e %e\n", max_angular_velocity_error[1], |