1#ifndef BIORBD_RIGIDBODY_IMUS_H
2#define BIORBD_RIGIDBODY_IMUS_H
4#include "biorbdConfig.h"
9namespace BIORBD_NAMESPACE {
59 void addIMU(
bool technical =
true,
bool anatomical =
true);
69 bool technical =
true,
70 bool anatomical =
true);
102 const std::vector<rigidbody::IMU>&
IMU()
const;
125 std::vector<rigidbody::IMU>
IMU(
127 bool updateKin =
true);
151 bool updateKin =
true);
173 bool updateKin =
true);
190 bool updateKin =
true);
207 bool updateKin =
true);
218 bool updateKin =
true);
232 bool lookForTechnical);
234 std::shared_ptr<std::vector<rigidbody::IMU>>
Class GeneralizedCoordinates.
std::vector< utils::String > technicalIMUsNames()
Return the names of the technical inertial measurement units (IMU).
std::vector< rigidbody::IMU > technicalIMU(const GeneralizedCoordinates &Q, bool updateKin=true)
Return all the technical inertial measurement units (IMU).
std::shared_ptr< std::vector< rigidbody::IMU > > m_IMUs
All the inertial Measurement Units.
std::vector< rigidbody::IMU > anatomicalIMU(const GeneralizedCoordinates &Q, bool updateKin=true)
Return all the anatomical inertial measurement units (IMU).
const std::vector< rigidbody::IMU > & IMU() const
Return all the IMU in the local reference of the segment.
size_t nbTechIMUs()
Return the number of technical inertial measurement units (IMU).
std::vector< utils::String > IMUsNames()
Return the names of the inertial measurement units (IMU).
IMUs DeepCopy() const
Deep copy of the inertial measurement units data.
std::vector< utils::Matrix > IMUJacobian(const GeneralizedCoordinates &Q, bool updateKin=true)
Return the jacobian of the inertial measurement units (IMU).
std::vector< utils::String > anatomicalIMUsNames()
Return the names of the anatomical inertial measurement units (IMU).
void addIMU(bool technical=true, bool anatomical=true)
Add a new inertial measurement unit to the set.
IMUs()
Construct inertial measurement units set.
size_t nbIMUs() const
Return the number of inertial measurement units (IMU) in the set.
std::vector< rigidbody::IMU > segmentIMU(const GeneralizedCoordinates &Q, size_t idx, bool updateKin=true)
Return all the inertial measurement units (IMU) on a specified segment.
std::vector< utils::Matrix > TechnicalIMUJacobian(const GeneralizedCoordinates &Q, bool updateKin=true)
Return the jacobian of the technical inertial measurement units (IMU).
size_t nbAnatIMUs()
Return the number of anatomical inertial measurement units (IMU).
A wrapper for the Eigen::MatrixXd.
A RotoTrans which is attached to a segment.
Wrapper around the std::string class with augmented functionality.