We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a7e5bc commit 0dd4539Copy full SHA for 0dd4539
moveit_core/robot_model/test/test.cpp
@@ -229,15 +229,15 @@ TEST(PlanarJointTest, InterpolateDiffDriveNoNan)
229
{ "Straight line along X", { 0.0, 0.0, 0.0 }, { 0.1, 0.0, 0.0 } },
230
{ "Straight line along Y", { 0.0, 0.0, M_PI / 2 }, { 0.0, 0.1, M_PI / 2 } },
231
{ "180 degree turn in place", { 0.0, 0.0, 0.0 }, { 0.0, 0.0, M_PI } },
232
- { "360 degree turn in place", { 0.0, 0.0, -M_PI}, { 0.0, 0.0, M_PI} },
+ { "360 degree turn in place", { 0.0, 0.0, -M_PI }, { 0.0, 0.0, M_PI } },
233
{ "Diagonal movement", { 0.0, 0.0, -M_PI / 4 }, { 0.1, -0.1, -M_PI / 4 } },
234
{ "Complex move", { 0.5, 1.0, -M_PI / 2 }, { -0.7, -1.0, M_PI / 3 } }
235
};
236
237
// Test interpolation for each case and check for NaN values
238
for (const auto& test_case : test_cases)
239
{
240
- for (double t: { 0.0, 0.5, 1.0 })
+ for (double t : { 0.0, 0.5, 1.0 })
241
242
double state[3];
243
pjm.interpolate(test_case.from, test_case.to, t, state);
0 commit comments