Skip to content

Conversation

AugusteBourgois
Copy link
Contributor

Hi everyone,

This PR fixes #199. Since ROS uses int64_t to store integer parameters, int64_t numeric limits should be used instead of int.

i simply corrected the template files and the associated unit tests.

Any thoughts ?

@AugusteBourgois AugusteBourgois force-pushed the pr-fix-numeric-limits-int branch from 833b8bd to 2e359de Compare August 7, 2024 10:43
Copy link
Collaborator

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable, thx for fixing.

@AugusteBourgois
Copy link
Contributor Author

My pleasure, happy to help.

@pac48 pac48 merged commit 28b1870 into PickNikRobotics:main Aug 23, 2024
7 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.

gt<> sets a maximum numeric limit to std::numeric_limits<int>::max() instead of std::numeric_limits<int64_t>::max()
3 participants