Open sbrodeur opened 7 years ago
The current maximum number of bytes for a JPEG-encoded image is 32768 when exporting a rosbag to HDF5: https://github.com/sbrodeur/ros-icreate-bbb/blob/master/src/action/scripts/record/data/convert_hdf5.py#L124
This led to errors lately because some images were going over this limit. The script could be adapted to automatically increase the shape of the data, similarly to what is done here for the time dimension: https://github.com/sbrodeur/ros-icreate-bbb/blob/master/src/action/scripts/record/data/h5utils.py#L111
Right now, we just use a bigger value of 40000.
The current maximum number of bytes for a JPEG-encoded image is 32768 when exporting a rosbag to HDF5: https://github.com/sbrodeur/ros-icreate-bbb/blob/master/src/action/scripts/record/data/convert_hdf5.py#L124
This led to errors lately because some images were going over this limit. The script could be adapted to automatically increase the shape of the data, similarly to what is done here for the time dimension: https://github.com/sbrodeur/ros-icreate-bbb/blob/master/src/action/scripts/record/data/h5utils.py#L111