events

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SpeedZone_name = map[int32]string{
		0: "UNKNOWN",
		1: "SLOW",
		2: "NORMAL",
		3: "FAST",
	}
	SpeedZone_value = map[string]int32{
		"UNKNOWN": 0,
		"SLOW":    1,
		"NORMAL":  2,
		"FAST":    3,
	}
)

Enum value maps for SpeedZone.

View Source
var (
	DriveMode_name = map[int32]string{
		0: "INVALID",
		1: "USER",
		2: "PILOT",
		3: "COPILOT",
	}
	DriveMode_value = map[string]int32{
		"INVALID": 0,
		"USER":    1,
		"PILOT":   2,
		"COPILOT": 3,
	}
)

Enum value maps for DriveMode.

View Source
var (
	TypeObject_name = map[int32]string{
		0: "ANY",
		1: "CAR",
		2: "BUMP",
		3: "PLOT",
	}
	TypeObject_value = map[string]int32{
		"ANY":  0,
		"CAR":  1,
		"BUMP": 2,
		"PLOT": 3,
	}
)

Enum value maps for TypeObject.

View Source
var File_events_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DisparityMessage added in v1.5.0

type DisparityMessage struct {
	FrameRef            *FrameRef `protobuf:"bytes,1,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"`
	Disparity           []byte    `protobuf:"bytes,2,opt,name=disparity,proto3" json:"disparity,omitempty"`
	FocalLengthInPixels float64   `protobuf:"fixed64,3,opt,name=focal_length_in_pixels,json=focalLengthInPixels,proto3" json:"focal_length_in_pixels,omitempty"`
	// the distance between two mono cameras
	BaselineInMm float64 `protobuf:"fixed64,4,opt,name=baseline_in_mm,json=baselineInMm,proto3" json:"baseline_in_mm,omitempty"`
	// contains filtered or unexported fields
}

func (*DisparityMessage) Descriptor deprecated added in v1.5.0

func (*DisparityMessage) Descriptor() ([]byte, []int)

Deprecated: Use DisparityMessage.ProtoReflect.Descriptor instead.

func (*DisparityMessage) GetBaselineInMm added in v1.5.0

func (x *DisparityMessage) GetBaselineInMm() float64

func (*DisparityMessage) GetDisparity added in v1.5.0

func (x *DisparityMessage) GetDisparity() []byte

func (*DisparityMessage) GetFocalLengthInPixels added in v1.5.0

func (x *DisparityMessage) GetFocalLengthInPixels() float64

func (*DisparityMessage) GetFrameRef added in v1.5.0

func (x *DisparityMessage) GetFrameRef() *FrameRef

func (*DisparityMessage) ProtoMessage added in v1.5.0

func (*DisparityMessage) ProtoMessage()

func (*DisparityMessage) ProtoReflect added in v1.5.0

func (x *DisparityMessage) ProtoReflect() protoreflect.Message

func (*DisparityMessage) Reset added in v1.5.0

func (x *DisparityMessage) Reset()

func (*DisparityMessage) String added in v1.5.0

func (x *DisparityMessage) String() string

type DriveMode

type DriveMode int32
const (
	DriveMode_INVALID DriveMode = 0
	DriveMode_USER    DriveMode = 1
	DriveMode_PILOT   DriveMode = 2
	DriveMode_COPILOT DriveMode = 3
)

func (DriveMode) Descriptor added in v1.0.1

func (DriveMode) Descriptor() protoreflect.EnumDescriptor

func (DriveMode) Enum added in v1.0.1

func (x DriveMode) Enum() *DriveMode

func (DriveMode) EnumDescriptor deprecated

func (DriveMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use DriveMode.Descriptor instead.

func (DriveMode) Number added in v1.0.1

func (x DriveMode) Number() protoreflect.EnumNumber

func (DriveMode) String

func (x DriveMode) String() string

func (DriveMode) Type added in v1.0.1

type DriveModeMessage

type DriveModeMessage struct {
	DriveMode DriveMode `protobuf:"varint,1,opt,name=drive_mode,json=driveMode,proto3,enum=robocar.events.DriveMode" json:"drive_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*DriveModeMessage) Descriptor deprecated

func (*DriveModeMessage) Descriptor() ([]byte, []int)

Deprecated: Use DriveModeMessage.ProtoReflect.Descriptor instead.

func (*DriveModeMessage) GetDriveMode

func (x *DriveModeMessage) GetDriveMode() DriveMode

func (*DriveModeMessage) ProtoMessage

func (*DriveModeMessage) ProtoMessage()

func (*DriveModeMessage) ProtoReflect added in v1.0.1

func (x *DriveModeMessage) ProtoReflect() protoreflect.Message

func (*DriveModeMessage) Reset

func (x *DriveModeMessage) Reset()

func (*DriveModeMessage) String

func (x *DriveModeMessage) String() string

type Ellipse

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"`
	// contains filtered or unexported fields
}

func (*Ellipse) Descriptor deprecated

func (*Ellipse) Descriptor() ([]byte, []int)

Deprecated: Use Ellipse.ProtoReflect.Descriptor instead.

func (*Ellipse) GetAngle

func (x *Ellipse) GetAngle() float32

func (*Ellipse) GetCenter

func (x *Ellipse) GetCenter() *Point

func (*Ellipse) GetConfidence

func (x *Ellipse) GetConfidence() float32

func (*Ellipse) GetHeight

func (x *Ellipse) GetHeight() int32

func (*Ellipse) GetWidth

func (x *Ellipse) GetWidth() int32

func (*Ellipse) ProtoMessage

func (*Ellipse) ProtoMessage()

func (*Ellipse) ProtoReflect added in v1.0.1

func (x *Ellipse) ProtoReflect() protoreflect.Message

func (*Ellipse) Reset

func (x *Ellipse) Reset()

func (*Ellipse) String

func (x *Ellipse) String() string

type FrameMessage

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"`
	// contains filtered or unexported fields
}

func (*FrameMessage) Descriptor deprecated

func (*FrameMessage) Descriptor() ([]byte, []int)

Deprecated: Use FrameMessage.ProtoReflect.Descriptor instead.

func (*FrameMessage) GetFrame

func (x *FrameMessage) GetFrame() []byte

func (*FrameMessage) GetId

func (x *FrameMessage) GetId() *FrameRef

func (*FrameMessage) ProtoMessage

func (*FrameMessage) ProtoMessage()

func (*FrameMessage) ProtoReflect added in v1.0.1

func (x *FrameMessage) ProtoReflect() protoreflect.Message

func (*FrameMessage) Reset

func (x *FrameMessage) Reset()

func (*FrameMessage) String

func (x *FrameMessage) String() string

type FrameRef

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 *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*FrameRef) Descriptor deprecated

func (*FrameRef) Descriptor() ([]byte, []int)

Deprecated: Use FrameRef.ProtoReflect.Descriptor instead.

func (*FrameRef) GetCreatedAt

func (x *FrameRef) GetCreatedAt() *timestamppb.Timestamp

func (*FrameRef) GetId

func (x *FrameRef) GetId() string

func (*FrameRef) GetName

func (x *FrameRef) GetName() string

func (*FrameRef) ProtoMessage

func (*FrameRef) ProtoMessage()

func (*FrameRef) ProtoReflect added in v1.0.1

func (x *FrameRef) ProtoReflect() protoreflect.Message

func (*FrameRef) Reset

func (x *FrameRef) Reset()

func (*FrameRef) String

func (x *FrameRef) String() string

type Object

type Object struct {
	Type         TypeObject `protobuf:"varint,1,opt,name=type,proto3,enum=robocar.events.TypeObject" json:"type,omitempty"`
	Left         float32    `protobuf:"fixed32,2,opt,name=left,proto3" json:"left,omitempty"`
	Top          float32    `protobuf:"fixed32,3,opt,name=top,proto3" json:"top,omitempty"`
	Right        float32    `protobuf:"fixed32,4,opt,name=right,proto3" json:"right,omitempty"`
	Bottom       float32    `protobuf:"fixed32,5,opt,name=bottom,proto3" json:"bottom,omitempty"`
	Confidence   float32    `protobuf:"fixed32,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
	DistanceInMm int64      `protobuf:"varint,7,opt,name=distanceInMm,proto3" json:"distanceInMm,omitempty"`
	// contains filtered or unexported fields
}

BoundingBox that contains an object, coordinates as percent

func (*Object) Descriptor deprecated

func (*Object) Descriptor() ([]byte, []int)

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetBottom

func (x *Object) GetBottom() float32

func (*Object) GetConfidence

func (x *Object) GetConfidence() float32

func (*Object) GetDistanceInMm added in v1.5.1

func (x *Object) GetDistanceInMm() int64

func (*Object) GetLeft

func (x *Object) GetLeft() float32

func (*Object) GetRight

func (x *Object) GetRight() float32

func (*Object) GetTop

func (x *Object) GetTop() float32

func (*Object) GetType

func (x *Object) GetType() TypeObject

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect added in v1.0.1

func (x *Object) ProtoReflect() protoreflect.Message

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

type ObjectsMessage

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"`
	// contains filtered or unexported fields
}

func (*ObjectsMessage) Descriptor deprecated

func (*ObjectsMessage) Descriptor() ([]byte, []int)

Deprecated: Use ObjectsMessage.ProtoReflect.Descriptor instead.

func (*ObjectsMessage) GetFrameRef

func (x *ObjectsMessage) GetFrameRef() *FrameRef

func (*ObjectsMessage) GetObjects

func (x *ObjectsMessage) GetObjects() []*Object

func (*ObjectsMessage) ProtoMessage

func (*ObjectsMessage) ProtoMessage()

func (*ObjectsMessage) ProtoReflect added in v1.0.1

func (x *ObjectsMessage) ProtoReflect() protoreflect.Message

func (*ObjectsMessage) Reset

func (x *ObjectsMessage) Reset()

func (*ObjectsMessage) String

func (x *ObjectsMessage) String() string

type Point

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"`
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated

func (*Point) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetX

func (x *Point) GetX() int32

func (*Point) GetY

func (x *Point) GetY() int32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect added in v1.0.1

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type RecordMessage

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"`
	AutopilotSteering *SteeringMessage  `protobuf:"bytes,4,opt,name=autopilot_steering,json=autopilotSteering,proto3" json:"autopilot_steering,omitempty"`
	DriveMode         *DriveModeMessage `protobuf:"bytes,5,opt,name=drive_mode,json=driveMode,proto3" json:"drive_mode,omitempty"`
	Disparity         *DisparityMessage `protobuf:"bytes,6,opt,name=disparity,proto3" json:"disparity,omitempty"`
	RecordSet         string            `protobuf:"bytes,3,opt,name=recordSet,proto3" json:"recordSet,omitempty"` // Record set name
	// contains filtered or unexported fields
}

Record message used to tensorflow learning

func (*RecordMessage) Descriptor deprecated

func (*RecordMessage) Descriptor() ([]byte, []int)

Deprecated: Use RecordMessage.ProtoReflect.Descriptor instead.

func (*RecordMessage) GetAutopilotSteering added in v1.2.0

func (x *RecordMessage) GetAutopilotSteering() *SteeringMessage

func (*RecordMessage) GetDisparity added in v1.5.2

func (x *RecordMessage) GetDisparity() *DisparityMessage

func (*RecordMessage) GetDriveMode added in v1.2.0

func (x *RecordMessage) GetDriveMode() *DriveModeMessage

func (*RecordMessage) GetFrame

func (x *RecordMessage) GetFrame() *FrameMessage

func (*RecordMessage) GetRecordSet

func (x *RecordMessage) GetRecordSet() string

func (*RecordMessage) GetSteering

func (x *RecordMessage) GetSteering() *SteeringMessage

func (*RecordMessage) ProtoMessage

func (*RecordMessage) ProtoMessage()

func (*RecordMessage) ProtoReflect added in v1.0.1

func (x *RecordMessage) ProtoReflect() protoreflect.Message

func (*RecordMessage) Reset

func (x *RecordMessage) Reset()

func (*RecordMessage) String

func (x *RecordMessage) String() string

type RoadMessage

type RoadMessage struct {
	Contour  []*Point  `protobuf:"bytes,1,rep,name=contour,proto3" json:"contour,omitempty"`                   // list of points that describes road contour
	Ellipse  *Ellipse  `protobuf:"bytes,2,opt,name=ellipse,proto3" json:"ellipse,omitempty"`                   // rotated ellipse that fit road contour
	FrameRef *FrameRef `protobuf:"bytes,3,opt,name=frame_ref,json=frameRef,proto3" json:"frame_ref,omitempty"` // Reference to the frame used for compute
	// contains filtered or unexported fields
}

Road description

func (*RoadMessage) Descriptor deprecated

func (*RoadMessage) Descriptor() ([]byte, []int)

Deprecated: Use RoadMessage.ProtoReflect.Descriptor instead.

func (*RoadMessage) GetContour

func (x *RoadMessage) GetContour() []*Point

func (*RoadMessage) GetEllipse

func (x *RoadMessage) GetEllipse() *Ellipse

func (*RoadMessage) GetFrameRef

func (x *RoadMessage) GetFrameRef() *FrameRef

func (*RoadMessage) ProtoMessage

func (*RoadMessage) ProtoMessage()

func (*RoadMessage) ProtoReflect added in v1.0.1

func (x *RoadMessage) ProtoReflect() protoreflect.Message

func (*RoadMessage) Reset

func (x *RoadMessage) Reset()

func (*RoadMessage) String

func (x *RoadMessage) String() string

type SpeedZone added in v1.3.0

type SpeedZone int32
const (
	SpeedZone_UNKNOWN SpeedZone = 0
	SpeedZone_SLOW    SpeedZone = 1
	SpeedZone_NORMAL  SpeedZone = 2
	SpeedZone_FAST    SpeedZone = 3
)

func (SpeedZone) Descriptor added in v1.3.0

func (SpeedZone) Descriptor() protoreflect.EnumDescriptor

func (SpeedZone) Enum added in v1.3.0

func (x SpeedZone) Enum() *SpeedZone

func (SpeedZone) EnumDescriptor deprecated added in v1.3.0

func (SpeedZone) EnumDescriptor() ([]byte, []int)

Deprecated: Use SpeedZone.Descriptor instead.

func (SpeedZone) Number added in v1.3.0

func (x SpeedZone) Number() protoreflect.EnumNumber

func (SpeedZone) String added in v1.3.0

func (x SpeedZone) String() string

func (SpeedZone) Type added in v1.3.0

type SpeedZoneMessage added in v1.3.0

type SpeedZoneMessage struct {
	SpeedZone  SpeedZone `protobuf:"varint,1,opt,name=speed_zone,json=speedZone,proto3,enum=robocar.events.SpeedZone" json:"speed_zone,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"`
	// contains filtered or unexported fields
}

func (*SpeedZoneMessage) Descriptor deprecated added in v1.3.0

func (*SpeedZoneMessage) Descriptor() ([]byte, []int)

Deprecated: Use SpeedZoneMessage.ProtoReflect.Descriptor instead.

func (*SpeedZoneMessage) GetConfidence added in v1.3.0

func (x *SpeedZoneMessage) GetConfidence() float32

func (*SpeedZoneMessage) GetFrameRef added in v1.3.0

func (x *SpeedZoneMessage) GetFrameRef() *FrameRef

func (*SpeedZoneMessage) GetSpeedZone added in v1.3.0

func (x *SpeedZoneMessage) GetSpeedZone() SpeedZone

func (*SpeedZoneMessage) ProtoMessage added in v1.3.0

func (*SpeedZoneMessage) ProtoMessage()

func (*SpeedZoneMessage) ProtoReflect added in v1.3.0

func (x *SpeedZoneMessage) ProtoReflect() protoreflect.Message

func (*SpeedZoneMessage) Reset added in v1.3.0

func (x *SpeedZoneMessage) Reset()

func (*SpeedZoneMessage) String added in v1.3.0

func (x *SpeedZoneMessage) String() string

type SteeringMessage

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"`
	// contains filtered or unexported fields
}

func (*SteeringMessage) Descriptor deprecated

func (*SteeringMessage) Descriptor() ([]byte, []int)

Deprecated: Use SteeringMessage.ProtoReflect.Descriptor instead.

func (*SteeringMessage) GetConfidence

func (x *SteeringMessage) GetConfidence() float32

func (*SteeringMessage) GetFrameRef

func (x *SteeringMessage) GetFrameRef() *FrameRef

func (*SteeringMessage) GetSteering

func (x *SteeringMessage) GetSteering() float32

func (*SteeringMessage) ProtoMessage

func (*SteeringMessage) ProtoMessage()

func (*SteeringMessage) ProtoReflect added in v1.0.1

func (x *SteeringMessage) ProtoReflect() protoreflect.Message

func (*SteeringMessage) Reset

func (x *SteeringMessage) Reset()

func (*SteeringMessage) String

func (x *SteeringMessage) String() string

type SwitchRecordMessage

type SwitchRecordMessage struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*SwitchRecordMessage) Descriptor deprecated

func (*SwitchRecordMessage) Descriptor() ([]byte, []int)

Deprecated: Use SwitchRecordMessage.ProtoReflect.Descriptor instead.

func (*SwitchRecordMessage) GetEnabled

func (x *SwitchRecordMessage) GetEnabled() bool

func (*SwitchRecordMessage) ProtoMessage

func (*SwitchRecordMessage) ProtoMessage()

func (*SwitchRecordMessage) ProtoReflect added in v1.0.1

func (x *SwitchRecordMessage) ProtoReflect() protoreflect.Message

func (*SwitchRecordMessage) Reset

func (x *SwitchRecordMessage) Reset()

func (*SwitchRecordMessage) String

func (x *SwitchRecordMessage) String() string

type ThrottleMessage

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"`
	// contains filtered or unexported fields
}

func (*ThrottleMessage) Descriptor deprecated

func (*ThrottleMessage) Descriptor() ([]byte, []int)

Deprecated: Use ThrottleMessage.ProtoReflect.Descriptor instead.

func (*ThrottleMessage) GetConfidence

func (x *ThrottleMessage) GetConfidence() float32

func (*ThrottleMessage) GetFrameRef

func (x *ThrottleMessage) GetFrameRef() *FrameRef

func (*ThrottleMessage) GetThrottle

func (x *ThrottleMessage) GetThrottle() float32

func (*ThrottleMessage) ProtoMessage

func (*ThrottleMessage) ProtoMessage()

func (*ThrottleMessage) ProtoReflect added in v1.0.1

func (x *ThrottleMessage) ProtoReflect() protoreflect.Message

func (*ThrottleMessage) Reset

func (x *ThrottleMessage) Reset()

func (*ThrottleMessage) String

func (x *ThrottleMessage) String() string

type TypeObject

type TypeObject int32
const (
	TypeObject_ANY  TypeObject = 0
	TypeObject_CAR  TypeObject = 1
	TypeObject_BUMP TypeObject = 2
	TypeObject_PLOT TypeObject = 3
)

func (TypeObject) Descriptor added in v1.0.1

func (TypeObject) Descriptor() protoreflect.EnumDescriptor

func (TypeObject) Enum added in v1.0.1

func (x TypeObject) Enum() *TypeObject

func (TypeObject) EnumDescriptor deprecated

func (TypeObject) EnumDescriptor() ([]byte, []int)

Deprecated: Use TypeObject.Descriptor instead.

func (TypeObject) Number added in v1.0.1

func (x TypeObject) Number() protoreflect.EnumNumber

func (TypeObject) String

func (x TypeObject) String() string

func (TypeObject) Type added in v1.0.1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL