Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"port" parameter should be handled as integer, not string #29

Merged
merged 4 commits into from
Jan 17, 2025

Conversation

kawk
Copy link
Contributor

@kawk kawk commented Jan 11, 2025

The changes in fix/port-is-integer let the driver and its components handle the TCP/UDP port as an integer, not string as before, thus avoiding irritations about the data type when preparing a *.yaml to configure the sensor and later on.

The change affects both the externally visible driver parameter "port" (to specify a fixed port instead of leaving the choice to the sensor or OS) and its internal representation in multiple places.-

Note that existing *.yaml configuration files and applications that expect the ROS parameter "port" to be a string would become incompatible with the updated driver, but I updating them should be trivial. I guess that applications where a specific port really needs to be set are not that many.

@JnsHndr JnsHndr merged commit 26cabd5 into PepperlFuchs:main Jan 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants