Choreonoid  1.8
Classes | Public Member Functions | Protected Member Functions | List of all members
cnoid::ForceSensor Class Reference

#include <ForceSensor.h>

Inheritance diagram for cnoid::ForceSensor:
cnoid::Device cnoid::DeviceState cnoid::ClonableReferenced cnoid::Referenced

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW ForceSensor ()
 
 ForceSensor (const ForceSensor &org, bool copyStateOnly=false)
 
virtual const char * typeName () const override
 
void copyStateFrom (const ForceSensor &other)
 
virtual void copyStateFrom (const DeviceState &other) override
 
virtual DeviceStatecloneState () const override
 
virtual void forEachActualType (std::function< bool(const std::type_info &type)> func) override
 
virtual void clearState () override
 
virtual int stateSize () const override
 
virtual const double * readState (const double *buf) override
 
virtual double * writeState (double *out_buf) const override
 
const Vector6wrench () const
 
Vector6wrench ()
 
const Vector6maxWrench () const
 
Vector6maxWrench ()
 
const Vector6F () const
 
Vector6F ()
 
const Vector6F_max () const
 
Vector6F_max ()
 
Vector6::FixedSegmentReturnType< 3 >::Type force ()
 
Vector6::ConstFixedSegmentReturnType< 3 >::Type force () const
 
Vector6::FixedSegmentReturnType< 3 >::Type f ()
 
Vector6::ConstFixedSegmentReturnType< 3 >::Type f () const
 
Vector6::FixedSegmentReturnType< 3 >::Type torque ()
 
Vector6::ConstFixedSegmentReturnType< 3 >::Type torque () const
 
Vector6::FixedSegmentReturnType< 3 >::Type tau ()
 
Vector6::ConstFixedSegmentReturnType< 3 >::Type tau () const
 
bool readSpecifications (const Mapping *info)
 
bool writeSpecifications (Mapping *info) const
 
- Public Member Functions inherited from cnoid::Device
virtual ~Device ()
 
Deviceclone () const
 
Deviceclone (CloneMap &cloneMap) const
 
virtual bool copyFrom (const Device *other)
 
void setIndex (int index)
 
void setId (int id)
 
void setName (const std::string &name)
 
void setLink (Link *link)
 
bool hasStateOnly () const
 
int index () const
 
int id () const
 
const std::string & name () const
 
const Linklink () const
 
Linklink ()
 
const Bodybody () const
 
Bodybody ()
 
Isometry3T_local ()
 
const Isometry3T_local () const
 
const Isometry3localPosition () const
 
template<class Scalar , int Mode, int Options>
void setLocalPosition (const Eigen::Transform< Scalar, 3, Mode, Options > &T)
 
Isometry3::ConstLinearPart R_local () const
 
Isometry3::LinearPart R_local ()
 
Isometry3::ConstLinearPart localRotation () const
 
template<typename Derived >
void setLocalRotation (const Eigen::MatrixBase< Derived > &R)
 
Isometry3::ConstTranslationPart p_local () const
 
Isometry3::TranslationPart p_local ()
 
Isometry3::ConstTranslationPart localTranslation () const
 
template<typename Derived >
void setLocalTranslation (const Eigen::MatrixBase< Derived > &p)
 
virtual bool on () const
 
virtual void on (bool on)
 
SignalProxy< void()> sigStateChanged ()
 
void notifyStateChange ()
 
SignalProxy< void(double time)> sigTimeChanged ()
 
void notifyTimeChange (double time)
 
const Isometry3T_local_org () const
 
void setLocalAttitude (const Isometry3 &Ta)
 
double cycle () const
 
void setCycle (double msec)
 
- Public Member Functions inherited from cnoid::DeviceState
virtual ~DeviceState ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Protected Member Functions

virtual ReferenceddoClone (CloneMap *cloneMap) const override
 
- Protected Member Functions inherited from cnoid::Device
 Device ()
 
 Device (const Device &org, bool copyStateOnly=false)
 
void copySpecFrom (const Device *other)
 
- Protected Member Functions inherited from cnoid::DeviceState
 DeviceState ()
 
 DeviceState (const DeviceState &)
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Constructor & Destructor Documentation

◆ ForceSensor() [1/2]

ForceSensor::ForceSensor ( )

◆ ForceSensor() [2/2]

ForceSensor::ForceSensor ( const ForceSensor org,
bool  copyStateOnly = false 
)

Member Function Documentation

◆ clearState()

void ForceSensor::clearState ( )
overridevirtual

Reimplemented from cnoid::Device.

◆ cloneState()

DeviceState * ForceSensor::cloneState ( ) const
overridevirtual

Implements cnoid::DeviceState.

◆ copyStateFrom() [1/2]

void ForceSensor::copyStateFrom ( const DeviceState other)
overridevirtual

Implements cnoid::DeviceState.

◆ copyStateFrom() [2/2]

void ForceSensor::copyStateFrom ( const ForceSensor other)

◆ doClone()

Referenced * ForceSensor::doClone ( CloneMap cloneMap) const
overrideprotectedvirtual

◆ F() [1/2]

Vector6& cnoid::ForceSensor::F ( )
inline

◆ f() [1/2]

Vector6::FixedSegmentReturnType<3>::Type cnoid::ForceSensor::f ( )
inline

◆ F() [2/2]

const Vector6& cnoid::ForceSensor::F ( ) const
inline

◆ f() [2/2]

Vector6::ConstFixedSegmentReturnType<3>::Type cnoid::ForceSensor::f ( ) const
inline

◆ F_max() [1/2]

Vector6& cnoid::ForceSensor::F_max ( )
inline

◆ F_max() [2/2]

const Vector6& cnoid::ForceSensor::F_max ( ) const
inline

◆ force() [1/2]

Vector6::FixedSegmentReturnType<3>::Type cnoid::ForceSensor::force ( )
inline

◆ force() [2/2]

Vector6::ConstFixedSegmentReturnType<3>::Type cnoid::ForceSensor::force ( ) const
inline

◆ forEachActualType()

void ForceSensor::forEachActualType ( std::function< bool(const std::type_info &type)>  func)
overridevirtual

Reimplemented from cnoid::Device.

◆ maxWrench() [1/2]

Vector6& cnoid::ForceSensor::maxWrench ( )
inline

◆ maxWrench() [2/2]

const Vector6& cnoid::ForceSensor::maxWrench ( ) const
inline

◆ readSpecifications()

bool ForceSensor::readSpecifications ( const Mapping info)

◆ readState()

const double * ForceSensor::readState ( const double *  buf)
overridevirtual
Returns
The position in the buf after reading. The value is used when the super class's readState is called by the inherited class.

Implements cnoid::DeviceState.

◆ stateSize()

int ForceSensor::stateSize ( ) const
overridevirtual

Size of the double-precision floating numbers for representing the state.

Implements cnoid::DeviceState.

◆ tau() [1/2]

Vector6::FixedSegmentReturnType<3>::Type cnoid::ForceSensor::tau ( )
inline

◆ tau() [2/2]

Vector6::ConstFixedSegmentReturnType<3>::Type cnoid::ForceSensor::tau ( ) const
inline

◆ torque() [1/2]

Vector6::FixedSegmentReturnType<3>::Type cnoid::ForceSensor::torque ( )
inline

◆ torque() [2/2]

Vector6::ConstFixedSegmentReturnType<3>::Type cnoid::ForceSensor::torque ( ) const
inline

◆ typeName()

const char * ForceSensor::typeName ( ) const
overridevirtual

Implements cnoid::DeviceState.

◆ wrench() [1/2]

Vector6& cnoid::ForceSensor::wrench ( )
inline

◆ wrench() [2/2]

const Vector6& cnoid::ForceSensor::wrench ( ) const
inline

◆ writeSpecifications()

bool ForceSensor::writeSpecifications ( Mapping info) const

◆ writeState()

double * ForceSensor::writeState ( double *  out_buf) const
overridevirtual
Returns
The position in the buf after reading. The value is used when the super class's readState is called by the inherited class.

Implements cnoid::DeviceState.


The documentation for this class was generated from the following files: