SICKAG / sick_safetyscanners_base

CPP (C++) Driver for SICK safety laser scanners
https://www.sick.com/de/en/opto-electronic-protective-devices/safety-laser-scanners/c/g187225
Apache License 2.0
12 stars 32 forks source link

Using only the Cola2-functionalitiy #17

Closed LukasStu closed 1 year ago

LukasStu commented 1 year ago

Hi,

thanks for this great SICK MS3 driver. I want to use it to request some meta data without having to configure a UDP connection. Requesting meta data works great with the SyncSickSafteyScanner class when setting comm_settings.host_udp_port = 0. However this causes a warning in the SICK Saftey Designer:

image

Is there a way/ a constructor that doesn't change the upd port?

Thx Lukas

puck-fzi commented 1 year ago

Hi,

currently the driver always sets a UDP port for the output. You probably could achieve the desired output by setting the comm_settings.host_udp_port to your desired port (same as in the safety designer). Otherwise you would need to implement the functionality.

puck-fzi commented 1 year ago

Closing this, since no further action seems to be needed