Add support for actuators to Mujoco USD interop.
PiperOrigin-RevId: 764740692 Change-Id: Ib045653fee840087bc3891ee7e770bdaac08548c
This commit is contained in:
committed by
Copybara-Service
parent
6b919162d1
commit
b2e8589e7a
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user