autoware.universe icon indicating copy to clipboard operation
autoware.universe copied to clipboard

Cannot get Velodyne Lidar UDP packet in docker container ( --host network mode ) by tier4 Velodyne driver

Open xczhanjun opened this issue 2 years ago • 8 comments

Checklist

  • [X] I've read the contribution guidelines.
  • [X] I've searched other issues and no duplicate issues were found.
  • [X] I'm convinced that this is not my fault but a bug.

Description

The perception module cannot get Velodyne UDP packet in docker container ( by --host network mode ) by tier4 Velodyne driver, but the https://github.com/ros-drivers/velodyne/tree/ros2 drive can.

Expected behavior

The perception module cannot get Velodyne UDP packet in docker ( b--host network mode ) by tier4 Velodyne driver, but the https://github.com/ros-drivers/velodyne/tree/ros2 driver can.

Actual behavior

The official https://github.com/ros-drivers/velodyne/tree/ros2 driver can work.

Steps to reproduce

just run ros2 launch velodyne_dirvers 16C.xml in latest -amd64-prebuilt(20220315) docker container.

Versions

No response

Possible causes

No response

Additional context

No response

xczhanjun avatar Mar 20 '22 03:03 xczhanjun

Please write more clear steps to reproduce. For example, what (all and exact) commands you executed, what data you used, etc.

kenji-miyake avatar Mar 20 '22 15:03 kenji-miyake

Please write more clear steps to reproduce. For example, what (all and exact) commands you executed, what data you used, etc.

I will send the log tomorrow.

xczhanjun avatar Mar 20 '22 15:03 xczhanjun

@kenji-miyake hi, today I tested the latest code using docker --net=host mode again, the velodyne_driver can get the udp packet from host network for a while, but it cannot work after a reboot. I will send you a msg when I figured out the root cause.

xczhanjun avatar Mar 22 '22 12:03 xczhanjun

I understand, thank you for your investigation! :smile:

kenji-miyake avatar Mar 22 '22 13:03 kenji-miyake

This pull request has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Jun 18 '22 10:06 stale[bot]

@xczhanjun

hi, today I tested the latest code using docker --net=host mode again, the velodyne_driver can get the udp packet from host network for a while, but it cannot work after a reboot. I will send you a msg when I figured out the root cause.

Were you able to find the root cause of the issue?

mitsudome-r avatar Jun 21 '22 08:06 mitsudome-r

@xczhanjun are there any updates on this issue? Are you still having this issue?

xmfcx avatar Jul 19 '22 08:07 xmfcx

@xczhanjun are there any updates on this issue? Are you still having this issue?

xmfcx avatar Jul 26 '22 16:07 xmfcx

This pull request has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Sep 24 '22 21:09 stale[bot]

Since there are no response, I will close this issue. @xczhanjun Feel free to reopen as necessary.

mitsudome-r avatar Oct 25 '22 08:10 mitsudome-r