get returns a variety of data structs
This method provides a variety of selectors to return info, feedback,
or gain data in a variety of formats. It always returns immediately
and may return the same data more than once. In practice you should
use an appropriate convenience wrapper.
See also
getInfo
getGains
getSafetyParams
getNextFeedback
getNextFeedbackFull
getNextFeedbackIO
getNextFeedbackMobile
If a struct returns empty or full of NaN, make sure that the
appropriate polling rate has been set.
Example
% Request info/gains at 5Hz and feedback at 100Hz
HebiLookup.setLookupFrequency(5);
group.setFeedbackFrequency(100);
DataType argument
'Info' returns meta information about the module, such
as versions, addresses, names, etc.
'Gains' returns the gains for the active control strategy.
Gains that are disabled, are set to NaN.
'SafetyParams' returns safety parameters such as limits
'Feedback' returns aggregated sensor feedback
'View' Parameter ('Feedback' only)
'Simple' returns basic feedback. This is appropriate for most
users. (default)
'Full' returns all available feedback. This is appropriate
for advanced users that care about additional
timestamps and less common sensors.
'IO' returns feedback fields specific to I/O devices,
such as analog and digital pins, or the button and
slider states of the HEBI Mobile I/O app.
'Mobile' returns feedback fields specific to mobile devices,
such as GPS and ARKit/ARCore estimates.