Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

Eigen: Affine vs. Isometry #101

@skasperski

Description

@skasperski

Why are *eigenToTF-functions using Eigen::Affine to represent tf::Transformation instead of Eigen::Isometry? Isn't the latter one correct to describe translation+rotation in 3D? Eigen explicitly prohibits conversion from affine to isometry:

// prevent conversions as:
// Isometry = Affine | AffineCompact
EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(OtherMode==int(Affine)||OtherMode==int(AffineCompact), Mode!=int(Isometry)),
                    YOU_PERFORMED_AN_INVALID_TRANSFORMATION_CONVERSION)

So I ask myself if I can somehow still convert it, or if I also should use Affine to represent 3D-Transformations, which doesn't seem right to me.

Best regards,
Sebastian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions