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
Hi @vtikha, I would like to use a data dump with exactly 1 entry of image type. I recorded it with yarpdatadumper (download link at the bottom), but when I try to load it in yarpdataplayer I get this error
There was a problem reading
data.log
please check its validity
I looked at the function Utilities::checkLogValidity(const char *filename) in utils.cpp which raises that error. While the file info.log passes the check (because it has 2 lines), data.log fails it (1 line).
One quick way to fix would be to change L229 from
if (itr >= 1){
to
if (itr >= 0){
(Or remove altogether the if: L229 and L235.)
BTW, this is not urgent for me, I'm running the modification locally. Just wanted to make you aware of this corner case. :) Let me know if I should submit a PR.
PS: the data was acquired with yarpdatadumper --name /left --connect /icub/camcalib/left/out --type image --downsample 30 and hitting ctrl+c after 1 second. Here is the download link.
The text was updated successfully, but these errors were encountered:
Hi @vtikha, I would like to use a data dump with exactly 1 entry of image type. I recorded it with yarpdatadumper (download link at the bottom), but when I try to load it in yarpdataplayer I get this error
I looked at the function
Utilities::checkLogValidity(const char *filename)
inutils.cpp
which raises that error. While the fileinfo.log
passes the check (because it has 2 lines),data.log
fails it (1 line).One quick way to fix would be to change L229 from
to
(Or remove altogether the
if
: L229 and L235.)BTW, this is not urgent for me, I'm running the modification locally. Just wanted to make you aware of this corner case. :) Let me know if I should submit a PR.
PS: the data was acquired with
yarpdatadumper --name /left --connect /icub/camcalib/left/out --type image --downsample 30
and hitting ctrl+c after 1 second. Here is the download link.The text was updated successfully, but these errors were encountered: