Skip to content
Snippets Groups Projects
Commit b017aa5f authored by Christoph Pohl's avatar Christoph Pohl
Browse files

Fix missing macro under gcc8

parent 1878c827
No related branches found
No related tags found
1 merge request!419Ubuntu 24 Upgrade
Pipeline #16881 failed
......@@ -159,7 +159,7 @@ namespace armarx
getWriterControlStruct().target << x, y;
getWriterControlStruct().targetOrientation =
simox::math::periodic_clamp(yaw, -M_PIf, M_PIf);
simox::math::periodic_clamp(static_cast<double>(yaw), -M_PI, M_PI);
getWriterControlStruct().translationAccuracy = translationAccuracy;
getWriterControlStruct().rotationAccuracy = rotationAccuracy;
......
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