Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
tsid::contacts::Measured3Dforce Class Reference

#include <measured-3d-force.hpp>

Inheritance diagram for tsid::contacts::Measured3Dforce:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

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

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

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

Detailed Description

Definition at line 27 of file measured-3d-force.hpp.

Member Typedef Documentation

◆ Data

Definition at line 34 of file measured-3d-force.hpp.

◆ Matrix3x

Definition at line 35 of file measured-3d-force.hpp.

◆ RobotWrapper

Definition at line 33 of file measured-3d-force.hpp.

◆ Vector3

Definition at line 32 of file measured-3d-force.hpp.

Constructor & Destructor Documentation

◆ Measured3Dforce()

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

Definition at line 31 of file measured-3d-force.cpp.

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.

Definition at line 45 of file measured-3d-force.cpp.

◆ getMeasuredContactForce()

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

Definition at line 73 of file measured-3d-force.cpp.

◆ setMeasuredContactForce()

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

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

Definition at line 69 of file measured-3d-force.cpp.

◆ useLocalFrame()

void tsid::contacts::Measured3Dforce::useLocalFrame ( bool  local_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.

Definition at line 77 of file measured-3d-force.cpp.

Member Data Documentation

◆ Index

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

Definition at line 31 of file measured-3d-force.hpp.

◆ m_computedTorques

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

Definition at line 65 of file measured-3d-force.hpp.

◆ m_fext

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

Definition at line 62 of file measured-3d-force.hpp.

◆ m_frame_id

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

Definition at line 61 of file measured-3d-force.hpp.

◆ m_frame_name

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

Definition at line 60 of file measured-3d-force.hpp.

◆ m_J

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

Definition at line 63 of file measured-3d-force.hpp.

◆ m_J_rotated

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

Definition at line 64 of file measured-3d-force.hpp.

◆ m_local_frame

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

Definition at line 66 of file measured-3d-force.hpp.


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


tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Sat May 3 2025 02:48:17