Skip to content
Snippets Groups Projects
Commit 3973f129 authored by Fabian Reister's avatar Fabian Reister
Browse files

fix: explicit template argument to avoid compile errors on GCC 13 / Ubuntu 24

parent 40e919da
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ namespace devices::ethercat::common::sanity_checking
const float absPosError = std::abs(posError);
const float sanitizedAbsPosError =
params_.isRotationalJoint ? simox::math::periodic_clamp(absPosError, -M_PIf32, M_PIf32)
params_.isRotationalJoint ? simox::math::periodic_clamp<float>(absPosError, -M_PIf32, M_PIf32)
: absPosError;
return Status{.encoderError = posError,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment