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

Fix missing F32 error (c++2b)

parent 5e03237b
No related branches found
No related tags found
1 merge request!419Ubuntu 24 Upgrade
......@@ -17,6 +17,7 @@ armarx_add_component(
# Add unit tests
add_subdirectory(test)
target_compile_options("${LIB_NAME}" PRIVATE -std=c++2b)
# Generate the application
armarx_generate_and_add_component_executable(
......
......@@ -40,6 +40,7 @@ set(HEADERS
armarx_add_component("${SOURCES}" "${HEADERS}")
target_compile_options("DynamicObstacleManager" PRIVATE -std=c++2b)
armarx_generate_and_add_component_executable()
......@@ -15,6 +15,8 @@ armarx_add_component(
VirtualRobotWriterExample.h
)
target_compile_options("${LIB_NAME}" PRIVATE -std=c++2b)
# Generate the application
armarx_generate_and_add_component_executable(
# If your component is not defined in ::armarx, specify its namespace here:
......
......@@ -159,7 +159,7 @@ namespace armarx
getWriterControlStruct().target << x, y;
getWriterControlStruct().targetOrientation =
simox::math::periodic_clamp(yaw, -M_PIf32, M_PIf32);
simox::math::periodic_clamp(yaw, -M_PIf, M_PIf);
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