18 #ifndef DOXYGEN_OMIT_INTERNAL 24 #endif // DOXYGEN_OMIT_INTERNAL 55 const
Info& operator[](
size_t index) const;
61 bool writeGains(const std::
string& file) const;
A list of Info objects that can be received from a Group of modules; the size() must match the number...
struct HebiGroupInfo_ * HebiGroupInfoPtr
The C-style's API representation of a info object for a group of modules.
FunctionCallResult writeSafetyParameters(const std::string &file) const
Export the safety parameters from this GroupInfo object into a file, creating it as necessary...
Info objects have various fields representing the module state; which fields are populated depends on...
bool writeGains(const std::string &file) const
Export the gains from this GroupInfo object into a file, creating it as necessary.
GroupInfo(size_t number_of_modules)
Create a group info with the specified number of modules.
size_t size() const
Returns the number of module infos in this group info.
~GroupInfo() noexcept
Destructor cleans up group info object as necessary.
std::vector< Info > infos_
Eigen::VectorXd getSpringConstant() const
Convenience function for returning spring constant values.
HebiGroupInfoPtr internal_
const char * hebiSafetyParametersGetLastError(void)
Misc Functions.
HebiStatusCode hebiGroupInfoWriteSafetyParameters(HebiGroupInfoPtr info, const char *file)
Export safety parameters from a GroupInfo object into a file.
const size_t number_of_modules_