rofunc.utils.robolab.formatter.mjcf_parser.util#
Various helper functions and classes.
1. Module Contents#
1.1. Functions#
Convert text string to binary. |
|
Convert a text or binary string to the native string format. |
|
Wraps np.ctypeslib.ndpointer to allow passing None for NULL pointers. |
1.2. Data#
1.3. API#
- rofunc.utils.robolab.formatter.mjcf_parser.util.ENV_MJLIB_PATH = 'MJLIB_PATH'#
- rofunc.utils.robolab.formatter.mjcf_parser.util.DEFAULT_ENCODING = None#
- rofunc.utils.robolab.formatter.mjcf_parser.util.to_binary_string(s)[source]#
Convert text string to binary.
- rofunc.utils.robolab.formatter.mjcf_parser.util.to_native_string(s)[source]#
Convert a text or binary string to the native string format.
- rofunc.utils.robolab.formatter.mjcf_parser.util.ndptr(*args, **kwargs)#
Wraps np.ctypeslib.ndpointer to allow passing None for NULL pointers.