Closed
Description
Describe the bug
The functions below generate compilation errors.
Both equal operators are ambiguous. ROS2 message types have automatically generated equal operator member function. Any usage of the aforementioned functions results in a compilation error.
It is unnecessary to keep functions that cannot be used, so I suggest removing these functions.
Context:
I am adding unit tests for the geometry
package and wanted to add tests for these functions as well, but as it turns out they cannot be used.
To Reproduce
Steps to reproduce the behavior:
- Edit any source code file or add a new one
- Include the
linear_algebra.hpp
header file - Write any code that uses the equal operator
- Try to compile
- See error
Expected behavior
Using Point
and Vector3
equal operator should result in a correct evaluation and not in a compilation error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]: Ubuntu
- Browser [e.g. chrome, safari]: Firefox
- Version [e.g. 22]: 22
- ROS 2 version: Humble
- DDS: CycloneDDS