Add support for actuators to Mujoco USD interop.

PiperOrigin-RevId: 764740692
Change-Id: Ib045653fee840087bc3891ee7e770bdaac08548c
This commit is contained in:
Sam Haves
2025-05-29 08:28:52 -07:00
committed by Copybara-Service
parent 6b919162d1
commit b2e8589e7a
10 changed files with 1952 additions and 6 deletions
+8
View File
@@ -66,6 +66,14 @@
#define EXPECT_ATTRIBUTE_HAS_NO_VALUE(stage, path) \
EXPECT_FALSE((stage)->GetAttributeAtPath(SdfPath(path)).HasValue());
#define EXPECT_REL_HAS_TARGET(stage, path, target_path) \
{ \
pxr::SdfPathVector targets; \
(stage)->GetRelationshipAtPath(SdfPath(path)).GetTargets(&targets); \
EXPECT_TRUE(std::find(targets.begin(), targets.end(), \
SdfPath(target_path)) != targets.end()); \
}
namespace mujoco {
namespace usd {