Skip to content

Commit 83d411c

Browse files
committed
move comment
1 parent 63e5339 commit 83d411c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

moveit_core/robot_model/src/planar_joint_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@ void PlanarJointModel::computeVariablePositions(const Eigen::Isometry3d& transf,
355355

356356
ASSERT_ISOMETRY(transf) // unsanitized input, could contain a non-isometry
357357
Eigen::Quaterniond q(transf.linear());
358-
// taken from Bullet
359358
if (q.w() < 0.0) {
360359
q.coeffs() *= -1.0;
361360
}
361+
// taken from Bullet
362362
double s_squared = 1.0 - (q.w() * q.w());
363363
if (s_squared < 10.0 * std::numeric_limits<double>::epsilon())
364364
{

0 commit comments

Comments
 (0)