Closed TZECHIN6 closed 1 year ago
This usually happens when you do not source the workspace in the new terminal before running ros2 topic ...
.
Thx @JWhitleyWork . I close the bash terminal and source the workspace again... things just work as normal. I will close this issue. Thanks!
Please complete the following information:
Describe the bug I have searched this error message in google... and actually there is no thread talking about this issue :(
The real VLP16 lidar's scan data can be see in Rviz2 in real-time. However, when running
ros2 topic hz/echo /velodyne_packets
, an error messageThe message type 'velodyne_msgs/msg/VelodyneScan' is invalid
appear. I think this indicated this topic has some issues. For other published topics/scan
/velodyne_points
both works as usual, e.g. the message is ~10Hz in default.As I have installed this in another PC with same OS and ROS version, it can echo/hz this topic. And I am also working on autoware project which I think this topic is important, otherwise the pointcloud cannot not be shown/used.
To Reproduce Steps to reproduce the behavior:
Expected behavior The /velodyne_packets can be echo/hz correctly.
Additional context docker_run.script
The ros2 base image is created by myself, over 90% is reference to the official ROS2 document. If it is needed to solve this problem, I will provide it in here.