788 lines
26 KiB
Go
788 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: events/events.proto
|
|
|
|
package events
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type DriveMode int32
|
|
|
|
const (
|
|
DriveMode_INVALID DriveMode = 0
|
|
DriveMode_USER DriveMode = 1
|
|
DriveMode_PILOT DriveMode = 2
|
|
)
|
|
|
|
var DriveMode_name = map[int32]string{
|
|
0: "INVALID",
|
|
1: "USER",
|
|
2: "PILOT",
|
|
}
|
|
|
|
var DriveMode_value = map[string]int32{
|
|
"INVALID": 0,
|
|
"USER": 1,
|
|
"PILOT": 2,
|
|
}
|
|
|
|
func (x DriveMode) String() string {
|
|
return proto.EnumName(DriveMode_name, int32(x))
|
|
}
|
|
|
|
func (DriveMode) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{0}
|
|
}
|
|
|
|
type TypeObject int32
|
|
|
|
const (
|
|
TypeObject_ANY TypeObject = 0
|
|
TypeObject_CAR TypeObject = 1
|
|
TypeObject_BUMP TypeObject = 2
|
|
TypeObject_PLOT TypeObject = 3
|
|
)
|
|
|
|
var TypeObject_name = map[int32]string{
|
|
0: "ANY",
|
|
1: "CAR",
|
|
2: "BUMP",
|
|
3: "PLOT",
|
|
}
|
|
|
|
var TypeObject_value = map[string]int32{
|
|
"ANY": 0,
|
|
"CAR": 1,
|
|
"BUMP": 2,
|
|
"PLOT": 3,
|
|
}
|
|
|
|
func (x TypeObject) String() string {
|
|
return proto.EnumName(TypeObject_name, int32(x))
|
|
}
|
|
|
|
func (TypeObject) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{1}
|
|
}
|
|
|
|
type FrameRef struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FrameRef) Reset() { *m = FrameRef{} }
|
|
func (m *FrameRef) String() string { return proto.CompactTextString(m) }
|
|
func (*FrameRef) ProtoMessage() {}
|
|
func (*FrameRef) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{0}
|
|
}
|
|
|
|
func (m *FrameRef) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FrameRef.Unmarshal(m, b)
|
|
}
|
|
func (m *FrameRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FrameRef.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FrameRef) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FrameRef.Merge(m, src)
|
|
}
|
|
func (m *FrameRef) XXX_Size() int {
|
|
return xxx_messageInfo_FrameRef.Size(m)
|
|
}
|
|
func (m *FrameRef) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FrameRef.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FrameRef proto.InternalMessageInfo
|
|
|
|
func (m *FrameRef) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FrameRef) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *FrameRef) GetCreatedAt() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FrameMessage struct {
|
|
Id *FrameRef `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Frame []byte `protobuf:"bytes,2,opt,name=frame,proto3" json:"frame,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *FrameMessage) Reset() { *m = FrameMessage{} }
|
|
func (m *FrameMessage) String() string { return proto.CompactTextString(m) }
|
|
func (*FrameMessage) ProtoMessage() {}
|
|
func (*FrameMessage) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{1}
|
|
}
|
|
|
|
func (m *FrameMessage) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_FrameMessage.Unmarshal(m, b)
|
|
}
|
|
func (m *FrameMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_FrameMessage.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *FrameMessage) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_FrameMessage.Merge(m, src)
|
|
}
|
|
func (m *FrameMessage) XXX_Size() int {
|
|
return xxx_messageInfo_FrameMessage.Size(m)
|
|
}
|
|
func (m *FrameMessage) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_FrameMessage.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_FrameMessage proto.InternalMessageInfo
|
|
|
|
func (m *FrameMessage) GetId() *FrameRef {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *FrameMessage) GetFrame() []byte {
|
|
if m != nil {
|
|
return m.Frame
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SteeringMessage struct {
|
|
Steering float32 `protobuf:"fixed32,1,opt,name=steering,proto3" json:"steering,omitempty"`
|
|
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
|
|
FrameRef *FrameRef `protobuf:"bytes,3,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SteeringMessage) Reset() { *m = SteeringMessage{} }
|
|
func (m *SteeringMessage) String() string { return proto.CompactTextString(m) }
|
|
func (*SteeringMessage) ProtoMessage() {}
|
|
func (*SteeringMessage) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{2}
|
|
}
|
|
|
|
func (m *SteeringMessage) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SteeringMessage.Unmarshal(m, b)
|
|
}
|
|
func (m *SteeringMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SteeringMessage.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SteeringMessage) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SteeringMessage.Merge(m, src)
|
|
}
|
|
func (m *SteeringMessage) XXX_Size() int {
|
|
return xxx_messageInfo_SteeringMessage.Size(m)
|
|
}
|
|
func (m *SteeringMessage) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SteeringMessage.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SteeringMessage proto.InternalMessageInfo
|
|
|
|
func (m *SteeringMessage) GetSteering() float32 {
|
|
if m != nil {
|
|
return m.Steering
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SteeringMessage) GetConfidence() float32 {
|
|
if m != nil {
|
|
return m.Confidence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SteeringMessage) GetFrameRef() *FrameRef {
|
|
if m != nil {
|
|
return m.FrameRef
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ThrottleMessage struct {
|
|
Throttle float32 `protobuf:"fixed32,1,opt,name=throttle,proto3" json:"throttle,omitempty"`
|
|
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
|
|
FrameRef *FrameRef `protobuf:"bytes,3,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ThrottleMessage) Reset() { *m = ThrottleMessage{} }
|
|
func (m *ThrottleMessage) String() string { return proto.CompactTextString(m) }
|
|
func (*ThrottleMessage) ProtoMessage() {}
|
|
func (*ThrottleMessage) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{3}
|
|
}
|
|
|
|
func (m *ThrottleMessage) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ThrottleMessage.Unmarshal(m, b)
|
|
}
|
|
func (m *ThrottleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ThrottleMessage.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ThrottleMessage) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ThrottleMessage.Merge(m, src)
|
|
}
|
|
func (m *ThrottleMessage) XXX_Size() int {
|
|
return xxx_messageInfo_ThrottleMessage.Size(m)
|
|
}
|
|
func (m *ThrottleMessage) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ThrottleMessage.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ThrottleMessage proto.InternalMessageInfo
|
|
|
|
func (m *ThrottleMessage) GetThrottle() float32 {
|
|
if m != nil {
|
|
return m.Throttle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ThrottleMessage) GetConfidence() float32 {
|
|
if m != nil {
|
|
return m.Confidence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ThrottleMessage) GetFrameRef() *FrameRef {
|
|
if m != nil {
|
|
return m.FrameRef
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DriveModeMessage struct {
|
|
DriveMode DriveMode `protobuf:"varint,1,opt,name=drive_mode,json=driveMode,proto3,enum=robocar.events.DriveMode" json:"drive_mode,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DriveModeMessage) Reset() { *m = DriveModeMessage{} }
|
|
func (m *DriveModeMessage) String() string { return proto.CompactTextString(m) }
|
|
func (*DriveModeMessage) ProtoMessage() {}
|
|
func (*DriveModeMessage) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{4}
|
|
}
|
|
|
|
func (m *DriveModeMessage) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DriveModeMessage.Unmarshal(m, b)
|
|
}
|
|
func (m *DriveModeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DriveModeMessage.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DriveModeMessage) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DriveModeMessage.Merge(m, src)
|
|
}
|
|
func (m *DriveModeMessage) XXX_Size() int {
|
|
return xxx_messageInfo_DriveModeMessage.Size(m)
|
|
}
|
|
func (m *DriveModeMessage) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DriveModeMessage.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DriveModeMessage proto.InternalMessageInfo
|
|
|
|
func (m *DriveModeMessage) GetDriveMode() DriveMode {
|
|
if m != nil {
|
|
return m.DriveMode
|
|
}
|
|
return DriveMode_INVALID
|
|
}
|
|
|
|
type ObjectsMessage struct {
|
|
Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
|
|
FrameRef *FrameRef `protobuf:"bytes,2,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ObjectsMessage) Reset() { *m = ObjectsMessage{} }
|
|
func (m *ObjectsMessage) String() string { return proto.CompactTextString(m) }
|
|
func (*ObjectsMessage) ProtoMessage() {}
|
|
func (*ObjectsMessage) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{5}
|
|
}
|
|
|
|
func (m *ObjectsMessage) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ObjectsMessage.Unmarshal(m, b)
|
|
}
|
|
func (m *ObjectsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ObjectsMessage.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ObjectsMessage) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ObjectsMessage.Merge(m, src)
|
|
}
|
|
func (m *ObjectsMessage) XXX_Size() int {
|
|
return xxx_messageInfo_ObjectsMessage.Size(m)
|
|
}
|
|
func (m *ObjectsMessage) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ObjectsMessage.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ObjectsMessage proto.InternalMessageInfo
|
|
|
|
func (m *ObjectsMessage) GetObjects() []*Object {
|
|
if m != nil {
|
|
return m.Objects
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ObjectsMessage) GetFrameRef() *FrameRef {
|
|
if m != nil {
|
|
return m.FrameRef
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// BoundingBox that contains an object
|
|
type Object struct {
|
|
Type TypeObject `protobuf:"varint,1,opt,name=type,proto3,enum=robocar.events.TypeObject" json:"type,omitempty"`
|
|
Left int32 `protobuf:"varint,2,opt,name=left,proto3" json:"left,omitempty"`
|
|
Top int32 `protobuf:"varint,3,opt,name=top,proto3" json:"top,omitempty"`
|
|
Right int32 `protobuf:"varint,4,opt,name=right,proto3" json:"right,omitempty"`
|
|
Bottom int32 `protobuf:"varint,5,opt,name=bottom,proto3" json:"bottom,omitempty"`
|
|
Confidence float32 `protobuf:"fixed32,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Object) Reset() { *m = Object{} }
|
|
func (m *Object) String() string { return proto.CompactTextString(m) }
|
|
func (*Object) ProtoMessage() {}
|
|
func (*Object) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{6}
|
|
}
|
|
|
|
func (m *Object) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Object.Unmarshal(m, b)
|
|
}
|
|
func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Object.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Object) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Object.Merge(m, src)
|
|
}
|
|
func (m *Object) XXX_Size() int {
|
|
return xxx_messageInfo_Object.Size(m)
|
|
}
|
|
func (m *Object) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Object.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Object proto.InternalMessageInfo
|
|
|
|
func (m *Object) GetType() TypeObject {
|
|
if m != nil {
|
|
return m.Type
|
|
}
|
|
return TypeObject_ANY
|
|
}
|
|
|
|
func (m *Object) GetLeft() int32 {
|
|
if m != nil {
|
|
return m.Left
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Object) GetTop() int32 {
|
|
if m != nil {
|
|
return m.Top
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Object) GetRight() int32 {
|
|
if m != nil {
|
|
return m.Right
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Object) GetBottom() int32 {
|
|
if m != nil {
|
|
return m.Bottom
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Object) GetConfidence() float32 {
|
|
if m != nil {
|
|
return m.Confidence
|
|
}
|
|
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
|
|
}
|
|
|
|
// Road description
|
|
type RoadMessage struct {
|
|
Contour []*Point `protobuf:"bytes,1,rep,name=contour,proto3" json:"contour,omitempty"`
|
|
Ellipse *Ellipse `protobuf:"bytes,2,opt,name=ellipse,proto3" json:"ellipse,omitempty"`
|
|
FrameRef *FrameRef `protobuf:"bytes,3,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RoadMessage) Reset() { *m = RoadMessage{} }
|
|
func (m *RoadMessage) String() string { return proto.CompactTextString(m) }
|
|
func (*RoadMessage) ProtoMessage() {}
|
|
func (*RoadMessage) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{8}
|
|
}
|
|
|
|
func (m *RoadMessage) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RoadMessage.Unmarshal(m, b)
|
|
}
|
|
func (m *RoadMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RoadMessage.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RoadMessage) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RoadMessage.Merge(m, src)
|
|
}
|
|
func (m *RoadMessage) XXX_Size() int {
|
|
return xxx_messageInfo_RoadMessage.Size(m)
|
|
}
|
|
func (m *RoadMessage) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RoadMessage.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RoadMessage proto.InternalMessageInfo
|
|
|
|
func (m *RoadMessage) GetContour() []*Point {
|
|
if m != nil {
|
|
return m.Contour
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RoadMessage) GetEllipse() *Ellipse {
|
|
if m != nil {
|
|
return m.Ellipse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RoadMessage) GetFrameRef() *FrameRef {
|
|
if m != nil {
|
|
return m.FrameRef
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Point struct {
|
|
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
|
|
Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Point) Reset() { *m = Point{} }
|
|
func (m *Point) String() string { return proto.CompactTextString(m) }
|
|
func (*Point) ProtoMessage() {}
|
|
func (*Point) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{9}
|
|
}
|
|
|
|
func (m *Point) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Point.Unmarshal(m, b)
|
|
}
|
|
func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Point.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Point) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Point.Merge(m, src)
|
|
}
|
|
func (m *Point) XXX_Size() int {
|
|
return xxx_messageInfo_Point.Size(m)
|
|
}
|
|
func (m *Point) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Point.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Point proto.InternalMessageInfo
|
|
|
|
func (m *Point) GetX() int32 {
|
|
if m != nil {
|
|
return m.X
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Point) GetY() int32 {
|
|
if m != nil {
|
|
return m.Y
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Ellipse struct {
|
|
Center *Point `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"`
|
|
Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
|
|
Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
|
Angle float32 `protobuf:"fixed32,4,opt,name=angle,proto3" json:"angle,omitempty"`
|
|
Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Ellipse) Reset() { *m = Ellipse{} }
|
|
func (m *Ellipse) String() string { return proto.CompactTextString(m) }
|
|
func (*Ellipse) ProtoMessage() {}
|
|
func (*Ellipse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{10}
|
|
}
|
|
|
|
func (m *Ellipse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Ellipse.Unmarshal(m, b)
|
|
}
|
|
func (m *Ellipse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Ellipse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Ellipse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Ellipse.Merge(m, src)
|
|
}
|
|
func (m *Ellipse) XXX_Size() int {
|
|
return xxx_messageInfo_Ellipse.Size(m)
|
|
}
|
|
func (m *Ellipse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Ellipse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Ellipse proto.InternalMessageInfo
|
|
|
|
func (m *Ellipse) GetCenter() *Point {
|
|
if m != nil {
|
|
return m.Center
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Ellipse) GetWidth() int32 {
|
|
if m != nil {
|
|
return m.Width
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Ellipse) GetHeight() int32 {
|
|
if m != nil {
|
|
return m.Height
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Ellipse) GetAngle() float32 {
|
|
if m != nil {
|
|
return m.Angle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Ellipse) GetConfidence() float32 {
|
|
if m != nil {
|
|
return m.Confidence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Record message used to tensorflow learning
|
|
type RecordMessage struct {
|
|
Frame *FrameMessage `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"`
|
|
Steering *SteeringMessage `protobuf:"bytes,2,opt,name=steering,proto3" json:"steering,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RecordMessage) Reset() { *m = RecordMessage{} }
|
|
func (m *RecordMessage) String() string { return proto.CompactTextString(m) }
|
|
func (*RecordMessage) ProtoMessage() {}
|
|
func (*RecordMessage) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8ec31f2d2a3db598, []int{11}
|
|
}
|
|
|
|
func (m *RecordMessage) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RecordMessage.Unmarshal(m, b)
|
|
}
|
|
func (m *RecordMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RecordMessage.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RecordMessage) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecordMessage.Merge(m, src)
|
|
}
|
|
func (m *RecordMessage) XXX_Size() int {
|
|
return xxx_messageInfo_RecordMessage.Size(m)
|
|
}
|
|
func (m *RecordMessage) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecordMessage.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecordMessage proto.InternalMessageInfo
|
|
|
|
func (m *RecordMessage) GetFrame() *FrameMessage {
|
|
if m != nil {
|
|
return m.Frame
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *RecordMessage) GetSteering() *SteeringMessage {
|
|
if m != nil {
|
|
return m.Steering
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("robocar.events.DriveMode", DriveMode_name, DriveMode_value)
|
|
proto.RegisterEnum("robocar.events.TypeObject", TypeObject_name, TypeObject_value)
|
|
proto.RegisterType((*FrameRef)(nil), "robocar.events.FrameRef")
|
|
proto.RegisterType((*FrameMessage)(nil), "robocar.events.FrameMessage")
|
|
proto.RegisterType((*SteeringMessage)(nil), "robocar.events.SteeringMessage")
|
|
proto.RegisterType((*ThrottleMessage)(nil), "robocar.events.ThrottleMessage")
|
|
proto.RegisterType((*DriveModeMessage)(nil), "robocar.events.DriveModeMessage")
|
|
proto.RegisterType((*ObjectsMessage)(nil), "robocar.events.ObjectsMessage")
|
|
proto.RegisterType((*Object)(nil), "robocar.events.Object")
|
|
proto.RegisterType((*SwitchRecordMessage)(nil), "robocar.events.SwitchRecordMessage")
|
|
proto.RegisterType((*RoadMessage)(nil), "robocar.events.RoadMessage")
|
|
proto.RegisterType((*Point)(nil), "robocar.events.Point")
|
|
proto.RegisterType((*Ellipse)(nil), "robocar.events.Ellipse")
|
|
proto.RegisterType((*RecordMessage)(nil), "robocar.events.RecordMessage")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("events/events.proto", fileDescriptor_8ec31f2d2a3db598) }
|
|
|
|
var fileDescriptor_8ec31f2d2a3db598 = []byte{
|
|
// 689 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4b, 0x6f, 0xd3, 0x5a,
|
|
0x10, 0xee, 0x71, 0xe2, 0x3c, 0x26, 0xbd, 0xb9, 0xd1, 0xe9, 0xbd, 0xbd, 0xbe, 0x11, 0xa2, 0x95,
|
|
0xd9, 0x44, 0x95, 0xea, 0x40, 0x10, 0x12,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