Add SwitchRecordMessage
This commit is contained in:
parent
e4d9ad61d6
commit
accf718407
@ -54,3 +54,7 @@ enum TypeObject {
|
|||||||
BUMP = 2;
|
BUMP = 2;
|
||||||
PLOT = 3;
|
PLOT = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message SwitchRecordMessage {
|
||||||
|
bool enabled = 1;
|
||||||
|
}
|
||||||
|
@ -448,6 +448,45 @@ func (m *Object) GetConfidence() float32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SwitchRecordMessage struct {
|
||||||
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||||||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
XXX_unrecognized []byte `json:"-"`
|
||||||
|
XXX_sizecache int32 `json:"-"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *SwitchRecordMessage) Reset() { *m = SwitchRecordMessage{} }
|
||||||
|
func (m *SwitchRecordMessage) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*SwitchRecordMessage) ProtoMessage() {}
|
||||||
|
func (*SwitchRecordMessage) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_8ec31f2d2a3db598, []int{7}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *SwitchRecordMessage) XXX_Unmarshal(b []byte) error {
|
||||||
|
return xxx_messageInfo_SwitchRecordMessage.Unmarshal(m, b)
|
||||||
|
}
|
||||||
|
func (m *SwitchRecordMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
return xxx_messageInfo_SwitchRecordMessage.Marshal(b, m, deterministic)
|
||||||
|
}
|
||||||
|
func (m *SwitchRecordMessage) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_SwitchRecordMessage.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *SwitchRecordMessage) XXX_Size() int {
|
||||||
|
return xxx_messageInfo_SwitchRecordMessage.Size(m)
|
||||||
|
}
|
||||||
|
func (m *SwitchRecordMessage) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_SwitchRecordMessage.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_SwitchRecordMessage proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *SwitchRecordMessage) GetEnabled() bool {
|
||||||
|
if m != nil {
|
||||||
|
return m.Enabled
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterEnum("robocar.events.DriveMode", DriveMode_name, DriveMode_value)
|
proto.RegisterEnum("robocar.events.DriveMode", DriveMode_name, DriveMode_value)
|
||||||
proto.RegisterEnum("robocar.events.TypeObject", TypeObject_name, TypeObject_value)
|
proto.RegisterEnum("robocar.events.TypeObject", TypeObject_name, TypeObject_value)
|
||||||
@ -458,38 +497,41 @@ func init() {
|
|||||||
proto.RegisterType((*DriveModeMessage)(nil), "robocar.events.DriveModeMessage")
|
proto.RegisterType((*DriveModeMessage)(nil), "robocar.events.DriveModeMessage")
|
||||||
proto.RegisterType((*ObjectsMessage)(nil), "robocar.events.ObjectsMessage")
|
proto.RegisterType((*ObjectsMessage)(nil), "robocar.events.ObjectsMessage")
|
||||||
proto.RegisterType((*Object)(nil), "robocar.events.Object")
|
proto.RegisterType((*Object)(nil), "robocar.events.Object")
|
||||||
|
proto.RegisterType((*SwitchRecordMessage)(nil), "robocar.events.SwitchRecordMessage")
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("events/events.proto", fileDescriptor_8ec31f2d2a3db598) }
|
func init() { proto.RegisterFile("events/events.proto", fileDescriptor_8ec31f2d2a3db598) }
|
||||||
|
|
||||||
var fileDescriptor_8ec31f2d2a3db598 = []byte{
|
var fileDescriptor_8ec31f2d2a3db598 = []byte{
|
||||||
// 446 bytes of a gzipped FileDescriptorProto
|
// 473 bytes of a gzipped FileDescriptorProto
|
||||||
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x8b, 0x8f, 0x63, 0xd9, 0xea, 0x42, 0xf7, 0xfa, 0x6e, 0xb6, 0xf0, 0x6d, 0x59, 0x2d, 0xa4, 0xa6,
|
||||||
|
0x73, 0xed, 0x7e, 0x73, 0xf4, 0x88, 0x12, 0x47, 0x7d, 0xba, 0xef, 0x7e, 0x07, 0x00, 0x00, 0xff,
|
||||||
|
0xff, 0x77, 0x9d, 0xdb, 0x75, 0xd1, 0x03, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
|
|||||||
package='robocar.events',
|
package='robocar.events',
|
||||||
syntax='proto3',
|
syntax='proto3',
|
||||||
serialized_options=_b('Z\006events'),
|
serialized_options=_b('Z\006events'),
|
||||||
serialized_pb=_b('\n\x13\x65vents/events.proto\x12\x0erobocar.events\"$\n\x08\x46rameRef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"C\n\x0c\x46rameMessage\x12$\n\x02id\x18\x01 \x01(\x0b\x32\x18.robocar.events.FrameRef\x12\r\n\x05\x66rame\x18\x02 \x01(\x0c\"d\n\x0fSteeringMessage\x12\x10\n\x08steering\x18\x01 \x01(\x02\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12+\n\tframe_ref\x18\x03 \x01(\x0b\x32\x18.robocar.events.FrameRef\"d\n\x0fThrottleMessage\x12\x10\n\x08throttle\x18\x01 \x01(\x02\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12+\n\tframe_ref\x18\x03 \x01(\x0b\x32\x18.robocar.events.FrameRef\"A\n\x10\x44riveModeMessage\x12-\n\ndrive_mode\x18\x01 \x01(\x0e\x32\x19.robocar.events.DriveMode\"f\n\x0eObjectsMessage\x12\'\n\x07objects\x18\x01 \x03(\x0b\x32\x16.robocar.events.Object\x12+\n\tframe_ref\x18\x02 \x01(\x0b\x32\x18.robocar.events.FrameRef\"\x80\x01\n\x06Object\x12(\n\x04type\x18\x01 \x01(\x0e\x32\x1a.robocar.events.TypeObject\x12\r\n\x05lLeft\x18\x02 \x01(\x05\x12\n\n\x02up\x18\x03 \x01(\x05\x12\r\n\x05right\x18\x04 \x01(\x05\x12\x0e\n\x06\x62ottom\x18\x05 \x01(\x05\x12\x12\n\nconfidence\x18\x06 \x01(\x02*-\n\tDriveMode\x12\x0b\n\x07INVALID\x10\x00\x12\x08\n\x04USER\x10\x01\x12\t\n\x05PILOT\x10\x02*2\n\nTypeObject\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x43\x41R\x10\x01\x12\x08\n\x04\x42UMP\x10\x02\x12\x08\n\x04PLOT\x10\x03\x42\x08Z\x06\x65ventsb\x06proto3')
|
serialized_pb=_b('\n\x13\x65vents/events.proto\x12\x0erobocar.events\"$\n\x08\x46rameRef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"C\n\x0c\x46rameMessage\x12$\n\x02id\x18\x01 \x01(\x0b\x32\x18.robocar.events.FrameRef\x12\r\n\x05\x66rame\x18\x02 \x01(\x0c\"d\n\x0fSteeringMessage\x12\x10\n\x08steering\x18\x01 \x01(\x02\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12+\n\tframe_ref\x18\x03 \x01(\x0b\x32\x18.robocar.events.FrameRef\"d\n\x0fThrottleMessage\x12\x10\n\x08throttle\x18\x01 \x01(\x02\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12+\n\tframe_ref\x18\x03 \x01(\x0b\x32\x18.robocar.events.FrameRef\"A\n\x10\x44riveModeMessage\x12-\n\ndrive_mode\x18\x01 \x01(\x0e\x32\x19.robocar.events.DriveMode\"f\n\x0eObjectsMessage\x12\'\n\x07objects\x18\x01 \x03(\x0b\x32\x16.robocar.events.Object\x12+\n\tframe_ref\x18\x02 \x01(\x0b\x32\x18.robocar.events.FrameRef\"\x80\x01\n\x06Object\x12(\n\x04type\x18\x01 \x01(\x0e\x32\x1a.robocar.events.TypeObject\x12\r\n\x05lLeft\x18\x02 \x01(\x05\x12\n\n\x02up\x18\x03 \x01(\x05\x12\r\n\x05right\x18\x04 \x01(\x05\x12\x0e\n\x06\x62ottom\x18\x05 \x01(\x05\x12\x12\n\nconfidence\x18\x06 \x01(\x02\"&\n\x13SwitchRecordMessage\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08*-\n\tDriveMode\x12\x0b\n\x07INVALID\x10\x00\x12\x08\n\x04USER\x10\x01\x12\t\n\x05PILOT\x10\x02*2\n\nTypeObject\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x43\x41R\x10\x01\x12\x08\n\x04\x42UMP\x10\x02\x12\x08\n\x04PLOT\x10\x03\x42\x08Z\x06\x65ventsb\x06proto3')
|
||||||
)
|
)
|
||||||
|
|
||||||
_DRIVEMODE = _descriptor.EnumDescriptor(
|
_DRIVEMODE = _descriptor.EnumDescriptor(
|
||||||
@ -44,8 +44,8 @@ _DRIVEMODE = _descriptor.EnumDescriptor(
|
|||||||
],
|
],
|
||||||
containing_type=None,
|
containing_type=None,
|
||||||
serialized_options=None,
|
serialized_options=None,
|
||||||
serialized_start=652,
|
serialized_start=692,
|
||||||
serialized_end=697,
|
serialized_end=737,
|
||||||
)
|
)
|
||||||
_sym_db.RegisterEnumDescriptor(_DRIVEMODE)
|
_sym_db.RegisterEnumDescriptor(_DRIVEMODE)
|
||||||
|
|
||||||
@ -75,8 +75,8 @@ _TYPEOBJECT = _descriptor.EnumDescriptor(
|
|||||||
],
|
],
|
||||||
containing_type=None,
|
containing_type=None,
|
||||||
serialized_options=None,
|
serialized_options=None,
|
||||||
serialized_start=699,
|
serialized_start=739,
|
||||||
serialized_end=749,
|
serialized_end=789,
|
||||||
)
|
)
|
||||||
_sym_db.RegisterEnumDescriptor(_TYPEOBJECT)
|
_sym_db.RegisterEnumDescriptor(_TYPEOBJECT)
|
||||||
|
|
||||||
@ -391,6 +391,37 @@ _OBJECT = _descriptor.Descriptor(
|
|||||||
serialized_end=650,
|
serialized_end=650,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
_SWITCHRECORDMESSAGE = _descriptor.Descriptor(
|
||||||
|
name='SwitchRecordMessage',
|
||||||
|
full_name='robocar.events.SwitchRecordMessage',
|
||||||
|
filename=None,
|
||||||
|
file=DESCRIPTOR,
|
||||||
|
containing_type=None,
|
||||||
|
fields=[
|
||||||
|
_descriptor.FieldDescriptor(
|
||||||
|
name='enabled', full_name='robocar.events.SwitchRecordMessage.enabled', index=0,
|
||||||
|
number=1, type=8, cpp_type=7, label=1,
|
||||||
|
has_default_value=False, default_value=False,
|
||||||
|
message_type=None, enum_type=None, containing_type=None,
|
||||||
|
is_extension=False, extension_scope=None,
|
||||||
|
serialized_options=None, file=DESCRIPTOR),
|
||||||
|
],
|
||||||
|
extensions=[
|
||||||
|
],
|
||||||
|
nested_types=[],
|
||||||
|
enum_types=[
|
||||||
|
],
|
||||||
|
serialized_options=None,
|
||||||
|
is_extendable=False,
|
||||||
|
syntax='proto3',
|
||||||
|
extension_ranges=[],
|
||||||
|
oneofs=[
|
||||||
|
],
|
||||||
|
serialized_start=652,
|
||||||
|
serialized_end=690,
|
||||||
|
)
|
||||||
|
|
||||||
_FRAMEMESSAGE.fields_by_name['id'].message_type = _FRAMEREF
|
_FRAMEMESSAGE.fields_by_name['id'].message_type = _FRAMEREF
|
||||||
_STEERINGMESSAGE.fields_by_name['frame_ref'].message_type = _FRAMEREF
|
_STEERINGMESSAGE.fields_by_name['frame_ref'].message_type = _FRAMEREF
|
||||||
_THROTTLEMESSAGE.fields_by_name['frame_ref'].message_type = _FRAMEREF
|
_THROTTLEMESSAGE.fields_by_name['frame_ref'].message_type = _FRAMEREF
|
||||||
@ -405,6 +436,7 @@ DESCRIPTOR.message_types_by_name['ThrottleMessage'] = _THROTTLEMESSAGE
|
|||||||
DESCRIPTOR.message_types_by_name['DriveModeMessage'] = _DRIVEMODEMESSAGE
|
DESCRIPTOR.message_types_by_name['DriveModeMessage'] = _DRIVEMODEMESSAGE
|
||||||
DESCRIPTOR.message_types_by_name['ObjectsMessage'] = _OBJECTSMESSAGE
|
DESCRIPTOR.message_types_by_name['ObjectsMessage'] = _OBJECTSMESSAGE
|
||||||
DESCRIPTOR.message_types_by_name['Object'] = _OBJECT
|
DESCRIPTOR.message_types_by_name['Object'] = _OBJECT
|
||||||
|
DESCRIPTOR.message_types_by_name['SwitchRecordMessage'] = _SWITCHRECORDMESSAGE
|
||||||
DESCRIPTOR.enum_types_by_name['DriveMode'] = _DRIVEMODE
|
DESCRIPTOR.enum_types_by_name['DriveMode'] = _DRIVEMODE
|
||||||
DESCRIPTOR.enum_types_by_name['TypeObject'] = _TYPEOBJECT
|
DESCRIPTOR.enum_types_by_name['TypeObject'] = _TYPEOBJECT
|
||||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||||
@ -458,6 +490,13 @@ Object = _reflection.GeneratedProtocolMessageType('Object', (_message.Message,),
|
|||||||
))
|
))
|
||||||
_sym_db.RegisterMessage(Object)
|
_sym_db.RegisterMessage(Object)
|
||||||
|
|
||||||
|
SwitchRecordMessage = _reflection.GeneratedProtocolMessageType('SwitchRecordMessage', (_message.Message,), dict(
|
||||||
|
DESCRIPTOR = _SWITCHRECORDMESSAGE,
|
||||||
|
__module__ = 'events.events_pb2'
|
||||||
|
# @@protoc_insertion_point(class_scope:robocar.events.SwitchRecordMessage)
|
||||||
|
))
|
||||||
|
_sym_db.RegisterMessage(SwitchRecordMessage)
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTOR._options = None
|
DESCRIPTOR._options = None
|
||||||
# @@protoc_insertion_point(module_scope)
|
# @@protoc_insertion_point(module_scope)
|
||||||
|
Loading…
Reference in New Issue
Block a user