37 :
public SpatialVector<SpatialVelocity<ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_>,
38 AngularVelocityVector3<ValuesT_, ValueT_, ExpressedInT_>, VelocityVector3<ValuesT_, ValueT_, ExpressedInT_>> {
58 template <
typename AngularVelocityOtherT_,
typename VelocityOtherT_>
60 SpatialVelocity(AngularVelocityOtherT_&& angularVelocity, VelocityOtherT_&& velocity)
61 : BaseT(std::forward<AngularVelocityOtherT_>(angularVelocity), std::forward<VelocityOtherT_>(velocity)) {}
69 template <Eucl
ideanCoordinateSystem Po
intOtherT_, AnyTensor OffsetOtherT_>
82 template <AnyTensor OffsetOtherT_,
typename MeasuredInOtherT_,
typename FrameOtherT_,
typename Po
intOtherT_,
typename ExpressedInOtherT_>
84 const OffsetOtherT_& offset,
86 static_assert(std::is_same_v<MeasuredInOtherT_, FrameT_>,
"Adjacent frames do not match.");
87 static_assert(std::is_same_v<ExpressedInOtherT_, ExpressedInT_>,
"Coordinate systems do not match.");
103template <
typename FromT_,
typename ToT_,
typename RotationT_,
typename TranslationT_,
template <
typename,
int,
int>
typename ValuesT_,
104 typename ValueT_,
typename MeasuredInT_,
typename FrameT_,
typename PointT_,
typename ExpressedInT_>
107 return internal::adjointMap(transformation, velocity);
112template <
template <
typename,
int,
int>
typename ValuesT_,
typename ValueT_,
typename MeasuredInT_,
typename FrameT_,
typename PointT_,
113 typename ExpressedInT_,
typename NewExpressedInT_>
114struct WithExpressedIn<SpatialVelocity<ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_>, NewExpressedInT_> {
115 using type = SpatialVelocity<ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, NewExpressedInT_>;
120template <
template <
typename,
int,
int>
typename ValuesT_,
typename ValueT_,
typename MeasuredInT_,
typename FrameT_,
typename PointT_,
121 typename ExpressedInT_>
wuzp::SpatialVector< SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ >, AngularVelocityVector3< ValuesT_, ValueT_, ExpressedInT_ >, VelocityVector3< ValuesT_, ValueT_, ExpressedInT_ > >::getTranslational const TranslationalT & getTranslational() const &
wuzp::SpatialVector< SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ >, AngularVelocityVector3< ValuesT_, ValueT_, ExpressedInT_ >, VelocityVector3< ValuesT_, ValueT_, ExpressedInT_ > >::getRotational const RotationalT & getRotational() const &
wuzp::SpatialVector< SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ >, AngularVelocityVector3< ValuesT_, ValueT_, ExpressedInT_ >, VelocityVector3< ValuesT_, ValueT_, ExpressedInT_ > >::SpatialVector SpatialVector(const SpatialVector &)=default
The spatial velocity (twist) V_MBp_E of the frame B, measured in the frame M, about the point Bp,...
SpatialVelocity()=default
SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointOtherT_, ExpressedInT_ > shift(const OffsetOtherT_ &offset) const
The spatial velocity V_MBq about another point Bq fixed to B, PointOtherT_, given the position vector...
FrameT_ FrameT
The frame B whose motion it is.
ExpressedInT_ ExpressedInT
The coordinate system E both parts are expressed in.
PositionVector3< ValuesT_, ValueT_, ExpressedInT_ > OffsetT
The position vector from one point to another, expressed in E, by which shift() shifts.
SpatialVelocity(AngularVelocityOtherT_ &&angularVelocity, VelocityOtherT_ &&velocity)
The spatial velocity with the angular velocity w_MB and the velocity v_MBp, which are converted into ...
PointT_ PointT
The point Bp the spatial velocity is about, which is fixed to B.
SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameOtherT_, PointOtherT_, ExpressedInT_ > composeWithMovingFrameVelocity(const OffsetOtherT_ &offset, const SpatialVelocity< ValuesT_, ValueT_, MeasuredInOtherT_, FrameOtherT_, PointOtherT_, ExpressedInOtherT_ > &velocity) const
The spatial velocity V_MCq of the frame C, which moves relative to B, measured in M,...
MeasuredInT_ MeasuredInT
The frame M the motion is measured in.
Any tensor: a specialization of Tensor, including points, vectors and their aliases.
The alias template ValueMatrix<ValueT_, RowsV_, ColsV_> of any value matrix backend,...
A coordinate system with the Euclidean metric, the default, e.g. CoordinateSystem<World>: the coordin...
VelocityVector< 3, ValuesT_, ValueT_, CoordinateSystemT_ > VelocityVector3
auto velocityOfBodyFixedPoint(const VelocityT_ &velocity, const AngularVelocityT_ &angularVelocity, const OffsetT_ &offset)
The velocity v_Q = v_P + w x p_PQ of a point Q fixed to a rigid body, from the velocity v_P of a poin...
PositionVector< 3, ValuesT_, ValueT_, CoordinateSystemT_ > PositionVector3
auto adjoint(const PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ > &, const SpatialAcceleration< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ > &)
Rejected with a message: the adjoint map of a rigid transformation maps spatial velocities and spatia...