52 throw ReferenceFrameException(
"Cannot perform -= operation on spatial motion vectors due to a reference frame mismatch!");
MotionVector operator%=(const MotionVector &v)
Operator for performing the RBDA operator for two motion vectors, i.e. .
ReferenceFramePtr getReferenceFrame() const
Get a pointer to the reference frame this FrameObject is expressed in.
A custom exception for frame operations.
void operator-=(const SpatialMotion &v)
Overloaded -= operator. Frame checks are performed.
void operator%=(const SpatialMotion &v)
This is an operator for performing what is referred to in Featherstone as the spatial vector cross( )...
EIGEN_STRONG_INLINE double & vz()
Get a reference to the linear-z component.
EIGEN_STRONG_INLINE double & wx()
Get a reference to the angular-x component.
EIGEN_STRONG_INLINE double & wy()
Get a reference to the angular-y component.
ReferenceFramePtr bodyFrame
void checkReferenceFramesMatch(const FrameObject *frameObject) const
Check if two ReferenceFrameHolders hold the same ReferenceFrame.
void operator+=(const SpatialMotion &v)
Overloaded += operator. Frame checks are performed.
EIGEN_STRONG_INLINE double & vx()
Get a reference to the linear-x component.
A SpatialMotion vector is a MotionVector with a RobotDynamics::ReferenceFrame it is expressed in...
ReferenceFramePtr getBaseFrame() const
Get a SpatialMotions SpatialMotion::baseFrame.
EIGEN_STRONG_INLINE double & wz()
Get a reference to the angular-z component.
EIGEN_STRONG_INLINE double & vy()
Get a reference to the linear-y component.
ReferenceFramePtr baseFrame
Namespace for all structures of the RobotDynamics library.