BerkeleyAutomation / FogROS2

An Adaptive and Extensible Platform for Cloud and Fog Robotics Using ROS 2
https://berkeleyautomation.github.io/FogROS2
Apache License 2.0
171 stars 29 forks source link

Kubernetes Remote Node not receiveing image messages from local publisher #116

Closed drewskoots closed 1 year ago

drewskoots commented 1 year ago

Describe the bug Subscriber in a kubernetes pod only captures first ~20 messages from the local publisher (with image topic).

To Reproduce Steps to reproduce the behavior: Launch realsense camera publisher node and a cloud node subscriber listening to image topic.

Expected behavior The subscriber receives constant messages at the rate they are published.

Desktop (please complete the following information):

Additional context The subscriber/publisher example works fine, however with this image publisher, it seems that the remote node 'undiscovers' the local publisher. (rostopic info shows only 1 subscriber, 0 publishers)

drewskoots commented 1 year ago

By adding "hostNetwork":true to the pod spec this issue was resolved