Skip to content
Snippets Groups Projects

Add suport for loading SDF scenes generated by blender BIM to robotics addon

Merged Jean Patrick Mathes requested to merge sdf into master
Files
3
@@ -3,7 +3,6 @@ find_package(Simox 2.3.7 QUIET)
armarx_build_if(Simox_FOUND "Simox-VirtualRobot not available")
armarx_build_if(MemoryX_FOUND "MemoryX not available")
if (MujocoX_FOUND)
include_mujoco()
set(MUJOCO_LIBS
@@ -11,6 +10,7 @@ if (MujocoX_FOUND)
)
endif()
find_package(SDFormat REQUIRED)
set(COMPONENT_LIBS
ArmarXSimulationInterfaces
@@ -18,6 +18,7 @@ set(COMPONENT_LIBS
MemoryXCore MemoryXMemoryTypes MemoryXVirtualRobotHelpers
${MUJOCO_LIBS}
SimDynamics
${SDFormat_LIBRARIES}
)
@@ -51,6 +52,9 @@ set(HEADERS
armarx_add_component("${SOURCES}" "${HEADERS}")
target_include_directories(Simulator PUBLIC ${SDFormat_INCLUDE_DIRS})
target_link_directories(Simulator PUBLIC ${SDFormat_LIBRARY_DIRS})
if (MujocoX_FOUND)
target_compile_definitions(Simulator PUBLIC MUJOCO_PHYSICS_WORLD)
endif()
Loading