|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
A passive transformation, which expresses the objects of the coordinate system From in the coordinate system To (see Transformation). More...
#include <wuzp/trafo/PassiveTransformation.hpp>
Inherits wuzp::internal::Crtp< DerivedT_, Transformation< DerivedT_ > >.
Inherited by wuzp::Jacobian< ValuesT_, typename QuantitiesT_::ValueT, FromT_, ToT_, Cols< QuantitiesT_ >::value, Rows< QuantitiesT_ >::value, UnitsT_... >, wuzp::PassiveLinearTransformation< ValuesT_, typename QuantitiesT_::ValueT, FromT_, ToT_, Rows< QuantitiesT_ >::value, UnitsT_... >, , wuzp::PassiveProperRigidTransformationTemplate< typename RigidT_::Rotation, typename RigidT_::Translation, NewFromT_, NewToT_ >, wuzp::PassiveProperRigidTransformationTemplate< FromLhsT_, ToLhsT_, RotationLhsT_, TranslationLhsT_ >, wuzp::PassiveProperRigidTransformationTemplate< FromRhsT_, ToRhsT_, RotationRhsT_, TranslationRhsT_ >, wuzp::PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ >, wuzp::PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ >, and wuzp::PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... >.
Public Types | |
| using | From = FromT_ |
| using | To = ToT_ |
Public Member Functions | |
| template<typename ObjectT_> | |
| auto | transform (ObjectT_ &&object) const |
| The object in To. | |
A passive transformation, which expresses the objects of the coordinate system From in the coordinate system To (see Transformation).
The objects it transforms must be expressed in From. PassiveTransformation<From = B, To = A> is X_AB in the monogram notation of Drake (https://drake.mit.edu/doxygen_cxx/group__multibody__notation.html), and ^A_B T in the notation of Craig (Introduction to Robotics, chapter 2): it maps the coordinates of a point in B to its coordinates in A.
Definition at line 23 of file PassiveTransformation.hpp.
| using wuzp::PassiveTransformation< DerivedT_, FromT_, ToT_ >::From = FromT_ |
Definition at line 25 of file PassiveTransformation.hpp.
| using wuzp::PassiveTransformation< DerivedT_, FromT_, ToT_ >::To = ToT_ |
Definition at line 26 of file PassiveTransformation.hpp.
|
inline |
The object in To.
A temporary is passed on as one, so that e.g. the translation of a proper rigid transformation moves the vector that its rotation returns, which it leaves unchanged, instead of copying it (see TransformationTraits).
Definition at line 31 of file PassiveTransformation.hpp.