Source code for ubii.proto.v1.dataStructure.quaternion_pb_plus

"""
@generated by codestare-proto-plus.  Do not edit manually!
"""
from builtins import (
    float,
)

from proto import (
    DOUBLE,
    Field,
    MESSAGE,
    RepeatedField,
    module,
)

from proto.message import (
    Message,
)

from typing import (
    MutableSequence,
)


__protobuf__ = module(
    package="ubii.proto.v1.dataStructure",
    marshal="ubii.proto.v1",
    manifest={
        "Quaternion",
        "QuaternionList",
    }
)


[docs]class Quaternion(Message): """ Attributes: x (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.DOUBLE` y (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.DOUBLE` z (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.DOUBLE` w (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.DOUBLE` """ x: float = Field( DOUBLE, number=1, ) y: float = Field( DOUBLE, number=2, ) z: float = Field( DOUBLE, number=3, ) w: float = Field( DOUBLE, number=4, )
[docs]class QuaternionList(Message): """ Attributes: elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type :obj:`~.Quaternion` """ elements: MutableSequence[Quaternion] = RepeatedField( MESSAGE, number=1, message=Quaternion, )