Skip to content

fails to detect ros1 since Feature/rosbags support #31 #35

@jgvictores

Description

@jgvictores

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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions