Public Member Functions | Public Attributes | Private Attributes | List of all members
hebi::GroupFeedback Class Referencefinal

A list of Feedback objects that can be received from a Group of modules; the size() must match the number of modules in the group. More...

#include <group_feedback.hpp>

Public Member Functions

Eigen::MatrixX3d getAccelerometer () const
 Convenience function for returning feedback accelerometer values. More...
 
void getAccelerometer (Eigen::MatrixX3d &out) const
 Convenience function for returning feedback accelerometer values. More...
 
Eigen::VectorXd getBoardTemperature () const
 Convenience function for returning feedback board temperature values. More...
 
void getBoardTemperature (Eigen::VectorXd &out) const
 Convenience function for returning feedback board temperature values. More...
 
Eigen::VectorXd getDeflection () const
 Convenience function for returning feedback deflection values. More...
 
void getDeflection (Eigen::VectorXd &out) const
 Convenience function for returning feedback deflection values. More...
 
Eigen::VectorXd getDeflectionVelocity () const
 Convenience function for returning feedback deflection velocity values. More...
 
void getDeflectionVelocity (Eigen::VectorXd &out) const
 Convenience function for returning feedback deflection velocity values. More...
 
Eigen::VectorXd getEffort () const
 Convenience function for returning feedback effort values. More...
 
void getEffort (Eigen::VectorXd &out) const
 Convenience function for returning feedback effort values. More...
 
Eigen::VectorXd getEffortCommand () const
 Convenience function for returning commanded effort values. More...
 
void getEffortCommand (Eigen::VectorXd &out) const
 Convenience function for returning commanded effort values. More...
 
Eigen::MatrixX3d getGyro () const
 Convenience function for returning feedback gyroscope values. More...
 
void getGyro (Eigen::MatrixX3d &out) const
 Convenience function for returning feedback gyroscope values. More...
 
Eigen::VectorXd getMotorCurrent () const
 Convenience function for returning feedback motor current values. More...
 
void getMotorCurrent (Eigen::VectorXd &out) const
 Convenience function for returning feedback motor current values. More...
 
Eigen::VectorXd getMotorHousingTemperature () const
 Convenience function for returning feedback motor housing temperature values. More...
 
void getMotorHousingTemperature (Eigen::VectorXd &out) const
 Convenience function for returning feedback motor housing temperature values. More...
 
Eigen::VectorXd getMotorSensorTemperature () const
 Convenience function for returning feedback motor sensor temperature values. More...
 
void getMotorSensorTemperature (Eigen::VectorXd &out) const
 Convenience function for returning feedback motor sensor temperature values. More...
 
Eigen::VectorXd getMotorVelocity () const
 Convenience function for returning feedback motor velocity values. More...
 
void getMotorVelocity (Eigen::VectorXd &out) const
 Convenience function for returning feedback motor velocity values. More...
 
Eigen::VectorXd getMotorWindingCurrent () const
 Convenience function for returning feedback motor winding current values. More...
 
void getMotorWindingCurrent (Eigen::VectorXd &out) const
 Convenience function for returning feedback motor winding current values. More...
 
Eigen::VectorXd getMotorWindingTemperature () const
 Convenience function for returning feedback motor winding temperature values. More...
 
void getMotorWindingTemperature (Eigen::VectorXd &out) const
 Convenience function for returning feedback motor winding temperature values. More...
 
Eigen::VectorXd getPosition () const
 Convenience function for returning feedback position values. More...
 
void getPosition (Eigen::VectorXd &out) const
 Convenience function for returning feedback position values. More...
 
Eigen::VectorXd getPositionCommand () const
 Convenience function for returning commanded position values. More...
 
void getPositionCommand (Eigen::VectorXd &out) const
 Convenience function for returning commanded position values. More...
 
Eigen::VectorXd getProcessorTemperature () const
 Convenience function for returning feedback processor temperature values. More...
 
void getProcessorTemperature (Eigen::VectorXd &out) const
 Convenience function for returning feedback processor temperature values. More...
 
Eigen::VectorXd getVelocity () const
 Convenience function for returning feedback velocity values. More...
 
void getVelocity (Eigen::VectorXd &out) const
 Convenience function for returning feedback velocity values. More...
 
Eigen::VectorXd getVelocityCommand () const
 Convenience function for returning commanded velocity values. More...
 
void getVelocityCommand (Eigen::VectorXd &out) const
 Convenience function for returning commanded velocity values. More...
 
Eigen::VectorXd getVoltage () const
 Convenience function for returning feedback voltage values. More...
 
void getVoltage (Eigen::VectorXd &out) const
 Convenience function for returning feedback voltage values. More...
 
 GroupFeedback (size_t number_of_modules)
 Create a group feedback with the specified number of modules. More...
 
 GroupFeedback (HebiGroupFeedbackPtr group_feedback)
 
const Feedbackoperator[] (size_t index) const
 Access the feedback for an individual module. More...
 
size_t size () const
 Returns the number of module feedbacks in this group feedback. More...
 
 ~GroupFeedback () noexcept
 Destructor cleans up group feedback object as necessary. More...
 

Public Attributes

HebiGroupFeedbackPtr internal_
 

Private Attributes

std::vector< Feedbackfeedbacks_
 
const bool manage_pointer_lifetime_
 
const size_t number_of_modules_
 

Detailed Description

A list of Feedback objects that can be received from a Group of modules; the size() must match the number of modules in the group.

Definition at line 14 of file group_feedback.hpp.

Constructor & Destructor Documentation

hebi::GroupFeedback::GroupFeedback ( size_t  number_of_modules)

Create a group feedback with the specified number of modules.

Definition at line 5 of file group_feedback.cpp.

hebi::GroupFeedback::GroupFeedback ( HebiGroupFeedbackPtr  group_feedback)

Wraps an existing C-style feedback object; object lifetime is assumed to be managed by the caller. NOTE: this should not be used except by internal library functions!

Definition at line 14 of file group_feedback.cpp.

hebi::GroupFeedback::~GroupFeedback ( )
noexcept

Destructor cleans up group feedback object as necessary.

Definition at line 23 of file group_feedback.cpp.

Member Function Documentation

Eigen::MatrixX3d hebi::GroupFeedback::getAccelerometer ( ) const

Convenience function for returning feedback accelerometer values.

Definition at line 214 of file group_feedback.cpp.

void hebi::GroupFeedback::getAccelerometer ( Eigen::MatrixX3d &  out) const

Convenience function for returning feedback accelerometer values.

Definition at line 485 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getBoardTemperature ( ) const

Convenience function for returning feedback board temperature values.

Definition at line 39 of file group_feedback.cpp.

void hebi::GroupFeedback::getBoardTemperature ( Eigen::VectorXd &  out) const

Convenience function for returning feedback board temperature values.

Definition at line 259 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getDeflection ( ) const

Convenience function for returning feedback deflection values.

Definition at line 70 of file group_feedback.cpp.

void hebi::GroupFeedback::getDeflection ( Eigen::VectorXd &  out) const

Convenience function for returning feedback deflection values.

Definition at line 299 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getDeflectionVelocity ( ) const

Convenience function for returning feedback deflection velocity values.

Definition at line 80 of file group_feedback.cpp.

void hebi::GroupFeedback::getDeflectionVelocity ( Eigen::VectorXd &  out) const

Convenience function for returning feedback deflection velocity values.

Definition at line 312 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getEffort ( ) const

Convenience function for returning feedback effort values.

Definition at line 172 of file group_feedback.cpp.

void hebi::GroupFeedback::getEffort ( Eigen::VectorXd &  out) const

Convenience function for returning feedback effort values.

Definition at line 431 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getEffortCommand ( ) const

Convenience function for returning commanded effort values.

Definition at line 203 of file group_feedback.cpp.

void hebi::GroupFeedback::getEffortCommand ( Eigen::VectorXd &  out) const

Convenience function for returning commanded effort values.

Definition at line 471 of file group_feedback.cpp.

Eigen::MatrixX3d hebi::GroupFeedback::getGyro ( ) const

Convenience function for returning feedback gyroscope values.

Definition at line 236 of file group_feedback.cpp.

void hebi::GroupFeedback::getGyro ( Eigen::MatrixX3d &  out) const

Convenience function for returning feedback gyroscope values.

Definition at line 510 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getMotorCurrent ( ) const

Convenience function for returning feedback motor current values.

Definition at line 100 of file group_feedback.cpp.

void hebi::GroupFeedback::getMotorCurrent ( Eigen::VectorXd &  out) const

Convenience function for returning feedback motor current values.

Definition at line 338 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getMotorHousingTemperature ( ) const

Convenience function for returning feedback motor housing temperature values.

Definition at line 141 of file group_feedback.cpp.

void hebi::GroupFeedback::getMotorHousingTemperature ( Eigen::VectorXd &  out) const

Convenience function for returning feedback motor housing temperature values.

Definition at line 391 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getMotorSensorTemperature ( ) const

Convenience function for returning feedback motor sensor temperature values.

Definition at line 110 of file group_feedback.cpp.

void hebi::GroupFeedback::getMotorSensorTemperature ( Eigen::VectorXd &  out) const

Convenience function for returning feedback motor sensor temperature values.

Definition at line 351 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getMotorVelocity ( ) const

Convenience function for returning feedback motor velocity values.

Definition at line 90 of file group_feedback.cpp.

void hebi::GroupFeedback::getMotorVelocity ( Eigen::VectorXd &  out) const

Convenience function for returning feedback motor velocity values.

Definition at line 325 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getMotorWindingCurrent ( ) const

Convenience function for returning feedback motor winding current values.

Definition at line 120 of file group_feedback.cpp.

void hebi::GroupFeedback::getMotorWindingCurrent ( Eigen::VectorXd &  out) const

Convenience function for returning feedback motor winding current values.

Definition at line 364 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getMotorWindingTemperature ( ) const

Convenience function for returning feedback motor winding temperature values.

Definition at line 131 of file group_feedback.cpp.

void hebi::GroupFeedback::getMotorWindingTemperature ( Eigen::VectorXd &  out) const

Convenience function for returning feedback motor winding temperature values.

Definition at line 378 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getPosition ( ) const

Convenience function for returning feedback position values.

Definition at line 152 of file group_feedback.cpp.

void hebi::GroupFeedback::getPosition ( Eigen::VectorXd &  out) const

Convenience function for returning feedback position values.

Definition at line 405 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getPositionCommand ( ) const

Convenience function for returning commanded position values.

Definition at line 183 of file group_feedback.cpp.

void hebi::GroupFeedback::getPositionCommand ( Eigen::VectorXd &  out) const

Convenience function for returning commanded position values.

Definition at line 445 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getProcessorTemperature ( ) const

Convenience function for returning feedback processor temperature values.

Definition at line 49 of file group_feedback.cpp.

void hebi::GroupFeedback::getProcessorTemperature ( Eigen::VectorXd &  out) const

Convenience function for returning feedback processor temperature values.

Definition at line 272 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getVelocity ( ) const

Convenience function for returning feedback velocity values.

Definition at line 162 of file group_feedback.cpp.

void hebi::GroupFeedback::getVelocity ( Eigen::VectorXd &  out) const

Convenience function for returning feedback velocity values.

Definition at line 418 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getVelocityCommand ( ) const

Convenience function for returning commanded velocity values.

Definition at line 193 of file group_feedback.cpp.

void hebi::GroupFeedback::getVelocityCommand ( Eigen::VectorXd &  out) const

Convenience function for returning commanded velocity values.

Definition at line 458 of file group_feedback.cpp.

Eigen::VectorXd hebi::GroupFeedback::getVoltage ( ) const

Convenience function for returning feedback voltage values.

Definition at line 59 of file group_feedback.cpp.

void hebi::GroupFeedback::getVoltage ( Eigen::VectorXd &  out) const

Convenience function for returning feedback voltage values.

Definition at line 285 of file group_feedback.cpp.

const Feedback & hebi::GroupFeedback::operator[] ( size_t  index) const

Access the feedback for an individual module.

Definition at line 34 of file group_feedback.cpp.

size_t hebi::GroupFeedback::size ( ) const

Returns the number of module feedbacks in this group feedback.

Definition at line 29 of file group_feedback.cpp.

Member Data Documentation

std::vector<Feedback> hebi::GroupFeedback::feedbacks_
private

The list of Feedback subobjects

Definition at line 38 of file group_feedback.hpp.

HebiGroupFeedbackPtr hebi::GroupFeedback::internal_

C-style group feedback object. NOTE: this should not be used except by library functions!

Definition at line 22 of file group_feedback.hpp.

const bool hebi::GroupFeedback::manage_pointer_lifetime_
private

True if this object is responsible for creating and destroying the underlying C pointer; false otherwise.

Definition at line 30 of file group_feedback.hpp.

const size_t hebi::GroupFeedback::number_of_modules_
private

The number of modules in this group feedback.

Definition at line 34 of file group_feedback.hpp.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:11:00