20 #ifndef DOXYGEN_OMIT_INTERNAL 25 std::shared_ptr<GroupFeedbackWrapper> internal_;
26 #endif // DOXYGEN_OMIT_INTERNAL 32 const size_t number_of_modules_;
36 std::vector<Feedback> feedbacks_;
40 const bool is_subview_{};
45 GroupFeedback(std::shared_ptr<GroupFeedbackWrapper>, std::vector<int> indices);
52 #ifndef DOXYGEN_OMIT_INTERNAL 59 #endif // DOXYGEN_OMIT_INTERNAL 194 Eigen::MatrixX3d
getGyro()
const;
252 void getEffort(Eigen::VectorXd& out)
const;
274 void getGyro(Eigen::MatrixX3d& out)
const;
A list of Feedback objects that can be received from a Group of modules; the size() must match the nu...
Definition: group_feedback.hpp:18
Eigen::VectorXd getVelocity() const
Convenience function for returning feedback velocity values.
Definition: group_feedback.cpp:158
Eigen::MatrixX3d getGyro() const
Convenience function for returning feedback gyroscope values.
Definition: group_feedback.cpp:217
GroupFeedback subview(std::vector< int > indices) const
Creates a "subview" of this group feedback object, with shared access to a subset of the Feedback ele...
Definition: group_feedback.cpp:24
Eigen::VectorXd getDeflection() const
Convenience function for returning feedback deflection values.
Definition: group_feedback.cpp:84
Eigen::VectorXd getVelocityCommand() const
Convenience function for returning commanded velocity values.
Definition: group_feedback.cpp:183
Eigen::VectorXd getMotorCurrent() const
Convenience function for returning feedback motor current values.
Definition: group_feedback.cpp:108
Eigen::VectorXd getBoardTemperature() const
Convenience function for returning feedback board temperature values.
Definition: group_feedback.cpp:59
Eigen::VectorXd getPosition() const
Convenience function for returning feedback position values.
Definition: group_feedback.cpp:150
Eigen::VectorXd getEffort() const
Convenience function for returning feedback effort values.
Definition: group_feedback.cpp:166
Eigen::VectorXd getMotorWindingTemperature() const
Convenience function for returning feedback motor winding temperature values.
Definition: group_feedback.cpp:133
double getTime() const
Gets a single wall-clock timestamp (in seconds since the epoch) associated with the entire group feed...
Definition: group_feedback.cpp:36
Eigen::MatrixX3d getAccelerometer() const
Convenience function for returning feedback accelerometer values.
Definition: group_feedback.cpp:200
Feedback objects have various fields representing feedback from modules; which fields are populated d...
Definition: feedback.hpp:32
~GroupFeedback() noexcept=default
Destructor cleans up group feedback object as necessary.
Eigen::VectorXd getEffortCommand() const
Convenience function for returning commanded effort values.
Definition: group_feedback.cpp:191
Eigen::VectorXd getVoltage() const
Convenience function for returning feedback voltage values.
Definition: group_feedback.cpp:75
const Feedback & operator[](size_t index) const
Access the feedback for an individual module.
Definition: group_feedback.cpp:34
Eigen::VectorXd getMotorHousingTemperature() const
Convenience function for returning feedback motor housing temperature values.
Definition: group_feedback.cpp:141
uint64_t getTimeUs() const
Gets a single wall-clock timestamp (in microseconds since the epoch) associated with the entire group...
Definition: group_feedback.cpp:48
size_t size() const
Returns the number of module feedbacks in this group feedback.
Definition: group_feedback.cpp:32
Eigen::VectorXd getPositionCommand() const
Convenience function for returning commanded position values.
Definition: group_feedback.cpp:175
bool isSubview() const
Was this created as a subview of another GroupFeedback?
Definition: group_feedback.hpp:84
Eigen::VectorXd getProcessorTemperature() const
Convenience function for returning feedback processor temperature values.
Definition: group_feedback.cpp:67
Eigen::VectorXd getMotorWindingCurrent() const
Convenience function for returning feedback motor winding current values.
Definition: group_feedback.cpp:124
Eigen::VectorXd getMotorVelocity() const
Convenience function for returning feedback motor velocity values.
Definition: group_feedback.cpp:100
Eigen::VectorXd getDeflectionVelocity() const
Convenience function for returning feedback deflection velocity values.
Definition: group_feedback.cpp:92
Eigen::VectorXd getMotorSensorTemperature() const
Convenience function for returning feedback motor sensor temperature values.
Definition: group_feedback.cpp:116