Hi!
2526fa8 which was merged at #31 introduced from builtin_interfaces.msg import Time at
|
from builtin_interfaces.msg import Time |
which from what I've been checking belongs to ROS2. I'm working on a project that involves ROS1 (Noetic), which is not detected (in fact
rosbags is recommended, which at time of writing defaults to ROS2 Dashing).
Pypi-wise, this is present in pypcd4 1.2.0, so I ended up manually commenting out the culprit line in cd /usr/local/lib/python3.8/dist-packages/pypcd4/pypcd4.py and everything works perfectly (in fact, I first tried downgrading to pypcd4 1.1.0 but colors were all messed up in rviz).
I understand that the correct way to go would be a Pull Request, but code-wise it's simply commenting out one line; however, I understand that though it works for me on Noetic, it would require some tests to not break anybody else's workflow (e.g. Melodic, ROS2...), so just writing here as a means of documentation in case anyone else runs into this issue. Cheers and thank you for the great open source!
Hi!
2526fa8 which was merged at #31 introduced
from builtin_interfaces.msg import Timeatpypcd4/src/pypcd4/pypcd4.py
Line 611 in 2526fa8
rosbagsis recommended, which at time of writing defaults to ROS2 Dashing).Pypi-wise, this is present in
pypcd41.2.0, so I ended up manually commenting out the culprit line incd /usr/local/lib/python3.8/dist-packages/pypcd4/pypcd4.pyand everything works perfectly (in fact, I first tried downgrading topypcd41.1.0 but colors were all messed up in rviz).I understand that the correct way to go would be a Pull Request, but code-wise it's simply commenting out one line; however, I understand that though it works for me on Noetic, it would require some tests to not break anybody else's workflow (e.g. Melodic, ROS2...), so just writing here as a means of documentation in case anyone else runs into this issue. Cheers and thank you for the great open source!