rofunc.utils.robolab.formatter.mjcf_parser.physics_test#

Tests for dm_control.mjcf.physics.

1.  Module Contents#

1.1.  Classes#

PhysicsTest

Tests for mjcf.Physics.

1.2.  Data#

mjlib

ARM_MODEL

1.3.  API#

rofunc.utils.robolab.formatter.mjcf_parser.physics_test.mjlib = None#
rofunc.utils.robolab.formatter.mjcf_parser.physics_test.ARM_MODEL = None#
class rofunc.utils.robolab.formatter.mjcf_parser.physics_test.PhysicsTest(*args, **kwargs)#

Bases: absl.testing.parameterized.TestCase

Tests for mjcf.Physics.

Initialization

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()#
sample_elements(namespace, single_element)#
test_construct_and_reload_from_mjcf_model()#
test_id(namespace, single_element)#
assertCanGetAndSetBindingArray(binding, attribute_name, named_indexer, full_identifiers)#
test_attribute_access(namespace, attribute_name, model_or_data, field_name, single_element)#
test_indexing(namespace, attribute_name, model_or_data, field_name, single_element, column_index)#
test_bind_mocap_body()#
test_bind_worldbody()#
test_bind_stateful_actuator()#
test_caching()#
test_exceptions()#
test_dirty()#
test_assign_while_dirty(assign_via_slice)#
test_setitem_on_binding_attr()#
test_empty_binding()#
test_actuator_state_binding(model_or_data, attribute_name)#
test_bind_stateless_actuators_only()#
make_simple_model()#
quat2mat(quat)#
test_write_to_pos(entity_type)#
test_write_to_quat(entity_type)#
test_write_to_ipos()#
test_write_to_iquat()#
test_copy_synchronizing_array_wrapper(order)#
test_error_when_pickling_synchronizing_array_wrapper()#
test_plugins_elasticity()#
test_plugins_sdf()#