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

"""
@generated by codestare-proto-plus.  Do not edit manually!
"""
from proto import (
    ENUM,
    Field,
    MESSAGE,
    module,
)

from proto.message import (
    Message,
)

from ubii.proto.v1.dataStructure.handGestureType_pb_plus import (
    HandGestureType,
)

from ubii.proto.v1.dataStructure.quaternion_pb_plus import (
    Quaternion,
)

from ubii.proto.v1.dataStructure.vector3_pb_plus import (
    Vector3,
)

from ubii.proto.v1.dataStructure.vector8_pb_plus import (
    Vector8,
)


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


[docs]class MyoEvent(Message): """ Attributes: emg (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.dataStructure.vector8_pb_plus.Vector8` orientation (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.dataStructure.quaternion_pb_plus.Quaternion` gyroscope (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.dataStructure.vector3_pb_plus.Vector3` accelerometer (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.dataStructure.vector3_pb_plus.Vector3` gesture (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.dataStructure.handGestureType_pb_plus.HandGestureType` """ emg: Vector8 = Field( MESSAGE, number=1, message=Vector8, ) orientation: Quaternion = Field( MESSAGE, number=2, message=Quaternion, ) gyroscope: Vector3 = Field( MESSAGE, number=3, message=Vector3, ) accelerometer: Vector3 = Field( MESSAGE, number=4, message=Vector3, ) gesture: HandGestureType = Field( ENUM, number=5, enum=HandGestureType, )