#include <ForceTorqueCalibration.hpp>
|
Eigen::MatrixXd | createMeasurementMat (const Eigen::Vector3d &acc, const Eigen::Vector3d &gravity, Eigen::Vector3d angVel, Eigen::Vector3d angAcc) |
|
Eigen::Matrix3d | skewMatrix (Eigen::Vector3d inVec) |
|
Definition at line 9 of file ForceTorqueCalibration.hpp.
rokubimini::calibration::ForceTorqueCalibration::ForceTorqueCalibration |
( |
| ) |
|
rokubimini::calibration::ForceTorqueCalibration::~ForceTorqueCalibration |
( |
| ) |
|
void rokubimini::calibration::ForceTorqueCalibration::addMeasurement |
( |
const Eigen::Vector3d & |
acc, |
|
|
const Eigen::Vector3d & |
gravity, |
|
|
Eigen::Vector3d |
angVel, |
|
|
Eigen::Vector3d |
angAcc, |
|
|
const Eigen::VectorXd & |
ftRaw |
|
) |
| |
Add measurements to the calibration process as one data point for the LS estimate.
- Parameters
-
acc | IMU reading of the EE linear acceleration in the EE frame as Eigen::Vector3d |
gravity | Direction of gravity [0, 0, -9.81] expressed in the EE frame as Eigen::Vector3d |
angVel | IMU reading of the EE angular velocity in the EE frame as Eigen::Vector3d |
angAcc | Angular acceleration of the EE expressed in the EE frame as Eigen::Vector3d |
ftRaw | F/T sensor readings in EE frame as Eigen::VectorXd (size must be equal 6) |
Definition at line 17 of file ForceTorqueCalibration.cpp.
Eigen::MatrixXd rokubimini::calibration::ForceTorqueCalibration::createMeasurementMat |
( |
const Eigen::Vector3d & |
acc, |
|
|
const Eigen::Vector3d & |
gravity, |
|
|
Eigen::Vector3d |
angVel, |
|
|
Eigen::Vector3d |
angAcc |
|
) |
| |
|
protected |
Creates a date point which gets added to the measurement matrix for the LS estimate.
- Parameters
-
- Returns
- Data point for measurement matrix for the LS estimate as a Eigen::MatrixXd of size (6, 10)
Definition at line 48 of file ForceTorqueCalibration.cpp.
Eigen::VectorXd rokubimini::calibration::ForceTorqueCalibration::getCalibParams |
( |
| ) |
|
Execute LS estimation based on the data points of the measurement matrix and F/T sensor readings. Method to apply the Least Squares Algorithm to estimate the calibration parameters: the load's mass, its center of mass(multiplied by the mass to ensure linearity) and the internal force and torque sensor offsets.
- Returns
- Vector of estimated calibration parameters as Eigen::VectorXd of size 10
Definition at line 93 of file ForceTorqueCalibration.cpp.
void rokubimini::calibration::ForceTorqueCalibration::resetCalibration |
( |
| ) |
|
Eigen::Matrix3d rokubimini::calibration::ForceTorqueCalibration::skewMatrix |
( |
Eigen::Vector3d |
inVec | ) |
|
|
protected |
Creates a skew matrix as an equivalent to a cross product.
- Parameters
-
inVec | Vector of which the skew matrix is created as Eigen::Vector3d |
- Returns
- Skew matrix as a Eigen::Matrix3d
Definition at line 78 of file ForceTorqueCalibration.cpp.
Eigen::VectorXd rokubimini::calibration::ForceTorqueCalibration::ftReadings_ |
|
protected |
Eigen::MatrixXd rokubimini::calibration::ForceTorqueCalibration::measurementMat_ |
|
protected |
int rokubimini::calibration::ForceTorqueCalibration::numMeasurements_ |
|
protected |
The documentation for this class was generated from the following files: