Returns a tuple containing the model XML string and a dict of assets. Args: n_joints: An integer specifying the number of joints in the swimmer. Returns: A tuple `(model_xml_string, assets)`, where `assets` is a dict consisting of `{filename: contents_string}` pairs.
(n_joints)
| 33 | |
| 34 | |
| 35 | def get_model_and_assets(n_joints): |
| 36 | """Returns a tuple containing the model XML string and a dict of assets. |
| 37 | |
| 38 | Args: |
| 39 | n_joints: An integer specifying the number of joints in the swimmer. |
| 40 | |
| 41 | Returns: |
| 42 | A tuple `(model_xml_string, assets)`, where `assets` is a dict consisting of |
| 43 | `{filename: contents_string}` pairs. |
| 44 | """ |
| 45 | return _make_model(n_joints), common.ASSETS |
| 46 | |
| 47 | |
| 48 | @SUITE.add('benchmarking') |
no test coverage detected
searching dependent graphs…