-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
epc.tofCam660.tofCam660.TOFcam660
allows specifying the UDP port to which the camera should stream data. When selecting a port other than the default port, no data can be received.
Minimum (not) working example:
from epc.tofCam660.tofCam660 import TOFcam660
cam = TOFcam660(udp_port=45455)
data = cam.get_distance_image()
leads to the following error message: 2025-06-19 13:44:49,183: ERROR [TOFcam660] - Failed to receive image data: list index out of range (tofCam660.py:332)
Looking into the code it is quite clear that locally, the UDP port is opened at the right port but the port number is never transmitted to the camera, which consequently streams to the default UDP port 45454, regardless of the configuration.
Metadata
Metadata
Assignees
Labels
No labels