Livox-SDK / livox_ros2_driver

Livox device driver under Ros2, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
77 stars 84 forks source link

CustomMsg is invalid. #28

Closed Griwa88 closed 1 year ago

Griwa88 commented 1 year ago

Platform: ROS2 HUMBLE I have both livox_ros2_driver and livox_ros_driver2 in my ws_livox

Livox Avia puts out PointCloud2 messages and Custom messages without issue. PointCloud2 is nicely visualized in RviZ 'ros2 topic echo --once /livox/lidar' returns one custom message without issue under 'livox_interfaces/msg/CustomMsg'

Livox HAP puts out a PointCloud2 message without issue, but I cannot read the Custom message. PointCloud2 is nicely visualized in RviZ 'ros2 topic echo --once /livox/lidar' returns 'The message type "livox_ros_driver2/msg/CustomMsg" is invalid'

Any suggestions?

FPSychotic commented 1 year ago

There is a new driver ROS2 for HAP and mid360

On Wed, 8 Feb 2023, 00:14 Griwa88, @.***> wrote:

Platform: ROS2 HUMBLE I have both livox_ros2_driver and livox_ros_driver2 in my ws_livox

Livox Avia puts out PointCloud2 messages and Custom messages without issue. PointCloud2 is nicely visualized in RviZ 'ros2 topic echo --once /livox/lidar' returns one custom message without issue under 'livox_interfaces/msg/CustomMsg'

Livox HAP puts out a PointCloud2 message without issue, but I cannot read the Custom message. PointCloud2 is nicely visualized in RviZ 'ros2 topic echo --once /livox/lidar' returns 'The message type "livox_ros_driver2/msg/CustomMsg" is invalid'

Any suggestions?

— Reply to this email directly, view it on GitHub https://github.com/Livox-SDK/livox_ros2_driver/issues/28, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITQOVFUGBIZE6B5566CXK3WWLQN3ANCNFSM6AAAAAAUUTLBIQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Griwa88 commented 1 year ago

I am running latest livox_ros2_driver for Avia, and latest livox_ros_driver2 for HAP. Issue is more towards livox_ros_driver2, but I am not sure if they are related as I am running both.

FPSychotic commented 1 year ago

You should to use driver2 for HAP with ros1 or ros2, and ros2_driver only with the Avia, so it looks you are doing right. Good luck in that.

El mié, 8 feb 2023 a las 17:49, Griwa88 @.***>) escribió:

I am running latest livox_ros2_driver for Avia, and latest livox_ros_driver2 for HAP. Issue is more towards livox_ros_driver2, but I am not sure if they are related as I am running both.

— Reply to this email directly, view it on GitHub https://github.com/Livox-SDK/livox_ros2_driver/issues/28#issuecomment-1423012421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITQOVB3L4DYP7Y7JAFLFVTWWPMEDANCNFSM6AAAAAAUUTLBIQ . You are receiving this because you commented.Message ID: @.***>

Griwa88 commented 1 year ago

I rebuilt from scratch, seems to have solved the issue.