blueye.sdk.utils
utils
Functions:
-
deserialize_any_to_message
–Deserialize a protobuf Any message to a concrete message type
-
open_local_documentation
–Open a pre-built local version of the SDK documentation
deserialize_any_to_message
deserialize_any_to_message(
msg: Any,
) -> Tuple[MessageMeta, Message]
Deserialize a protobuf Any message to a concrete message type
Arguments:
- msg: The Any message to deserialize. Needs to be a message defined in the blueye.protocol package.
Returns:
- A tuple with the metatype and the deserialized message
Source code in blueye/sdk/utils.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
open_local_documentation
open_local_documentation()
Open a pre-built local version of the SDK documentation
Useful when you are connected to the drone wifi, and don't have access to the online version.
Source code in blueye/sdk/utils.py
12 13 14 15 16 17 18 19 20 21 22 |
|