Great work your rosbag tools! Used your package to export the Point Clouds from a rosbag to PCD files and found a bug related to the set_read_order() function inside reader.py (line 75)
I think it all comes from this fix #1177 from the rosbag2 repository. There was a thrown error: read order can only be set after open() related to what they comment on the issue so my solution was to just comment the whole if loop (line 74 to 76) and your tool perfectly worked!
right, had no time to fix it yet and upon implementation read order was not released yet. Happy to review a pull request, should you have time todo it before me.
Hi all,
Great work your rosbag tools! Used your package to export the Point Clouds from a rosbag to PCD files and found a bug related to the
set_read_order()
function insidereader.py
(line 75)I think it all comes from this fix #1177 from the rosbag2 repository. There was a thrown error:
read order can only be set after open()
related to what they comment on the issue so my solution was to just comment the wholeif
loop (line 74 to 76) and your tool perfectly worked!Best!