INNER CODE UNIT · Python

_warn_command_capabilities_unavailable

unrealcv/unrealcv · client/python/unrealcv/__init__.py:216

    def _warn_command_capabilities_unavailable(self):
        if self._capability_warning_emitted:
            return
        warnings.warn(
            'The connected UnrealCV server is too old to report its supported commands. '
            'Command capability detection requires UnrealCV server 1.1.0 or newer; '
            'requests will continue without capability checks.',
            UserWarning,
            stacklevel=3,
        )
        self._capability_warning_emitted = True

    def _load_command_capabilities(self):
        self._command_capabilities_checked = True
        try:
            response = self._request_without_capability_check(
                'vget /unrealcv/commands'
            )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…