Any plans to offer rosbag-like API? #818
Replies: 3 comments
-
Just to complete your search results. These are the high level C++ HDF5/Protobuf API samples: https://github.com/eclipse-ecal/ecal/blob/master/samples/cpp/measurement/measurement_write/src/measurement_write.cpp Here a python sample writing and reading hdf5 files using the basic measurement API: https://github.com/eclipse-ecal/ecal/blob/master/samples/python/ecalhdf5_rw/ecalhdf5_rw.py And finally a python sample reading HDF5 using a higher level API: https://github.com/eclipse-ecal/ecal/blob/master/samples/python/measurement_read/measurement_read.py Would be interesting to know what you are missing or would like to add. |
Beta Was this translation helpful? Give feedback.
-
Thanks @rex-schilasky , the last one, python high level API of measurement looks very interesting. I have also found its documentation here https://eclipse-ecal.github.io/ecal/_api_python/ecal.measurement.measurement.html However from its description, only extract (deserialize) is currently supported. May i know if there is ability in Python to write .hdf5 measurements? Similar to rosbag.write(topic, ts, obj) |
Beta Was this translation helpful? Give feedback.
-
Hi eCAL team, My question still stands, while the Probably need to extend the functionality of this. As an outsider, I have little idea how to proceed. |
Beta Was this translation helpful? Give feedback.
-
I understand eCAL relies on HDF5 standard to save its measurement / frames into files.
I would like to know if there is a designed way to programmatically read / write the content of the recorded files? something like rosbag.write() / rosbag::View
http://wiki.ros.org/rosbag/Code%20API
My search gives me some clue like:
https://eclipse-ecal.github.io/ecal/_api/classeCAL_1_1eh5_1_1HDF5Meas.html#class-hdf5meas
ecal/app/rec/rec_client_core/src/job/hdf5_writer_thread.cpp
Line 183 in 67cf3ec
But it does not look like a high level API to use yet. Out of curiousity, any suggestions on what's the best way to go about read / write .hdf5 in eCAL, similar to read / write .bag in ROS?
Beta Was this translation helpful? Give feedback.
All reactions