You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understood the yarp::telemetry::experimental::BufferManager is the main class that is used to save the data in a mat file. I noticed that the user should specify a type for a given BufferManager. Now let's assume I want to store in the same mat files both int vector and double vectors is it possible?
we are used to store the data by grouping them into "types". For instance, all the FTs belong to the same Matlab structure called FTs and then each element of the structure is a vector containing the 6 elements of the wrench over time.
See here. Is it possible to replicate this with yarp-telemetry? For instance, it is possible to have multiple BufferManagers in the same mat file? If this would be possible I can create a BufferManager for each "type" of data (e.g. one for FTs, one for JointState, one for the high-level info (CoM ZMP, ...))
I am afraid that this is not possible since according to the documentation there seems that for each BufferManager there exists one Matlab file.
As you mentioned, at this moment each BufferManager is associated with a single .mat file and it handles only one type.
The first point is a known limitation (see #76) that can be addressed with some template black magic or some modern construct like std::any.
The second point you posted could be handled by the "deamon/collector", we discussed about the need to have something that collect all the data and merge it in one mat file and one place (#51)
Hi all, I am trying to use yarp telemetry library in https://github.com/ami-iit/bipedal-locomotion-framework/tree/master/devices/YarpRobotLoggerDevice and I have two questions:
yarp::telemetry::experimental::BufferManager
is the main class that is used to save the data in amat
file. I noticed that the user should specify a type for a givenBufferManager
. Now let's assume I want to store in the samemat
files both int vector and double vectors is it possible?See here. Is it possible to replicate this with yarp-telemetry? For instance, it is possible to have multiple
BufferManagers
in the same mat file? If this would be possible I can create aBufferManager
for each "type" of data (e.g. one forFTs
, one forJointState
, one for the high-level info (CoM ZMP, ...))I am afraid that this is not possible since according to the documentation there seems that for each
BufferManager
there exists oneMatlab
file.cc @traversaro @Nicogene @S-Dafarra
The text was updated successfully, but these errors were encountered: