tsid 1.9.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
Loading...
Searching...
No Matches
tsid::contacts::Measured3Dforce Class Reference

#include <tsid/contacts/measured-3d-force.hpp>

Inheritance diagram for tsid::contacts::Measured3Dforce:
Collaboration diagram for tsid::contacts::Measured3Dforce:

Public Types

typedef math::Vector3 Vector3
typedef robots::RobotWrapper RobotWrapper
typedef pinocchio::Data Data
typedef pinocchio::Data::Matrix3x Matrix3x
Public Types inherited from tsid::contacts::MeasuredForceBase
typedef pinocchio::Data Data
typedef robots::RobotWrapper RobotWrapper

Public Member Functions

 Measured3Dforce (const std::string &name, RobotWrapper &robot, const std::string &frameName)
const VectorcomputeJointTorques (Data &data) override
void setMeasuredContactForce (const Vector3 &fext)
const Vector3getMeasuredContactForce () const
void useLocalFrame (bool local_frame)
 Specifies if the external force and jacobian is expressed in the local frame or the local world-oriented frame.
Public Member Functions inherited from tsid::contacts::MeasuredForceBase
 MeasuredForceBase (const std::string &name, RobotWrapper &robot)
virtual ~MeasuredForceBase ()=default
const std::string & name () const
void name (const std::string &name)

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Index Index
Public Attributes inherited from tsid::contacts::MeasuredForceBase
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector Vector

Protected Attributes

std::string m_frame_name
Index m_frame_id
Vector3 m_fext
Matrix3x m_J
Matrix3x m_J_rotated
Vector m_computedTorques
bool m_local_frame
Protected Attributes inherited from tsid::contacts::MeasuredForceBase
std::string m_name
RobotWrapperm_robot
 Reference on the robot model.

Member Typedef Documentation

◆ Data

◆ Matrix3x

typedef pinocchio::Data::Matrix3x tsid::contacts::Measured3Dforce::Matrix3x

◆ RobotWrapper

◆ Vector3

Constructor & Destructor Documentation

◆ Measured3Dforce()

tsid::contacts::Measured3Dforce::Measured3Dforce(const std::string &name,
RobotWrapper &robot,
const std::string &frameName )

Member Function Documentation

◆ computeJointTorques()

const Vector & tsid::contacts::Measured3Dforce::computeJointTorques(Data &data)
overridevirtual

Compute the bias force (J^t F) associated to the external measured force.

Implements tsid::contacts::MeasuredForceBase.

◆ getMeasuredContactForce()

const Vector3 & tsid::contacts::Measured3Dforce::getMeasuredContactForce()const

◆ setMeasuredContactForce()

void tsid::contacts::Measured3Dforce::setMeasuredContactForce(const Vector3 &fext)

Set the value of the external wrench applied by the environment on the robot.

◆ useLocalFrame()

void tsid::contacts::Measured3Dforce::useLocalFrame(boollocal_frame)

Specifies if the external force and jacobian is expressed in the local frame or the local world-oriented frame.

Parameters
local_frameIf true, represent external force and jacobian in the local frame. If false, represent them in the local world-oriented frame.

Member Data Documentation

◆ Index

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Index tsid::contacts::Measured3Dforce::Index

◆ m_computedTorques

Vector tsid::contacts::Measured3Dforce::m_computedTorques
protected

◆ m_fext

Vector3 tsid::contacts::Measured3Dforce::m_fext
protected

◆ m_frame_id

Index tsid::contacts::Measured3Dforce::m_frame_id
protected

◆ m_frame_name

std::string tsid::contacts::Measured3Dforce::m_frame_name
protected

◆ m_J

Matrix3x tsid::contacts::Measured3Dforce::m_J
protected

◆ m_J_rotated

Matrix3x tsid::contacts::Measured3Dforce::m_J_rotated
protected

◆ m_local_frame

bool tsid::contacts::Measured3Dforce::m_local_frame
protected

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