Go to the documentation of this file.
    6 #ifndef __pinocchio_spatial_force_base_hpp__ 
    7 #define __pinocchio_spatial_force_base_hpp__ 
   22   template<
class Derived>
 
   23   class ForceBase : NumericalBase<Derived>
 
   30       return *
static_cast<Derived *
>(
this);
 
   34       return *
static_cast<const Derived *
>(
this);
 
   39       return *
const_cast<Derived *
>(&
derived());
 
   49       return derived().angular_impl();
 
   65       return derived().angular_impl();
 
   81     template<
typename V3Like>
 
   82     void angular(
const Eigen::MatrixBase<V3Like> & 
n)
 
   94     template<
typename V3Like>
 
   95     void linear(
const Eigen::MatrixBase<V3Like> & 
f)
 
  110       return derived().toVector_impl();
 
  116       return derived().toVector_impl();
 
  123     operator Vector6()
 const 
  132     template<
typename F2>
 
  135       return derived().isEqual_impl(other.derived());
 
  140     template<
typename F2>
 
  143       return !(
derived() == other.derived());
 
  149       const Derived & other,
 
  150       const Scalar & prec = Eigen::NumTraits<Scalar>::dummy_precision())
 const 
  152       return derived().isApprox_impl(other, prec);
 
  158     bool isZero(
const Scalar & prec = Eigen::NumTraits<Scalar>::dummy_precision())
 const 
  160       return derived().isZero_impl(prec);
 
  168       return derived().setFrom(other.derived());
 
  177       return derived().__pequ__(phi.derived());
 
  186       return derived().__mequ__(phi.derived());
 
  193       return derived().__plus__(phi.derived());
 
  198     template<
typename OtherScalar>
 
  206     template<
typename OtherScalar>
 
  216       return derived().__opposite__();
 
  223       return derived().__minus__(phi.derived());
 
  228     template<
typename MotionDerived>
 
  246     template<
typename S2, 
int O2>
 
  264     template<
typename S2, 
int O2>
 
  267       return derived().se3ActionInverse_impl(
m);
 
  270     template<
typename M1>
 
  274       return derived().motionAction(
v.derived());
 
  277     void disp(std::ostream & os)
 const 
  291 #endif // ifndef __pinocchio_spatial_force_base_hpp__ 
  
ConstLinearType linear() const
Return the linear part of the force vector.
Derived operator-(const ForceBase< Derived > &phi) const
Base interface for forces representation.
Derived & operator-=(const ForceBase< Derived > &phi)
Replaces *this by *this - other.
Derived & operator=(const ForceBase< Derived > &other)
Copies the Derived Force into *this.
MotionAlgebraAction< Derived, M1 >::ReturnType motionAction(const MotionDense< M1 > &v) const
SE3GroupAction< Derived >::ReturnType se3Action(const SE3Tpl< S2, O2 > &m) const
Transform from A to B coordinates the Force represented by *this such that.
Derived & operator+=(const ForceBase< Derived > &phi)
Replaces *this by *this + other.
Derived operator-() const
void disp(std::ostream &os) const
ToVectorReturnType toVector()
Return the force as an Eigen vector.
SE3GroupAction< Derived >::ReturnType se3ActionInverse(const SE3Tpl< S2, O2 > &m) const
Transform from B to A coordinates the Force represented by *this such that.
FORCE_TYPEDEF_TPL(Derived)
Scalar dot(const MotionDense< MotionDerived > &m) const
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > const Eigen::MatrixBase< TangentVectorType > & v
bool isZero(const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
Derived & const_cast_derived() const
ToVectorConstReturnType toVector() const
Return the force as an Eigen vector.
Derived operator+(const ForceBase< Derived > &phi) const
bool operator!=(const ForceBase< F2 > &other) const
ForcePlain operator/(const OtherScalar &alpha) const
bool isApprox(const Derived &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
ConstAngularType angular() const
Return the angular part of the force vector.
friend std::ostream & operator<<(std::ostream &os, const ForceBase< Derived > &X)
const Derived & derived() const
bool operator==(const ForceBase< F2 > &other) const
Main pinocchio namespace.
ForcePlain operator*(const OtherScalar &alpha) const
pinocchio
Author(s): 
autogenerated on Wed May 28 2025 02:41:18