-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement an example function that takes the data from the buffer and the saves it to a .mat file #7
Comments
I have been implementing some things about this issue, and some points came up in the meantime:
For reference, what I am currently doing is having the |
In #27 @AlexAntn and I implemented the first example of usage of the API we implemented. The next step would be to make the In particular, it would be nice also to change this constructor storeData(std::shared_ptr<boost::circular_buffer<Record<vector<int> > > > _cb, const double& _period) : cb(_cb), period(_period)
{
closing = false;
} to something like storeData(const yarp::telemetry::Buffer<T> >& _cb, const double& _period) : cb(_cb.getBufferSharedPtr()), period(_period)
{
closing = false;
} In order to hide to the user the Opinions? |
What about creating an interface for the circular buffer? |
I guess eventually ideally the user should have an API in which he can pass a vector/span directly, without needing to adapt their code to have use custom types such as |
Fixed by #27 . |
No description provided.
The text was updated successfully, but these errors were encountered: