feat(disparity): add disparity in record message
This commit is contained in:
		@@ -1009,6 +1009,7 @@ type RecordMessage struct {
 | 
			
		||||
	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
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -1072,6 +1073,13 @@ func (x *RecordMessage) GetDriveMode() *DriveModeMessage {
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *RecordMessage) GetDisparity() *DisparityMessage {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.Disparity
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x *RecordMessage) GetRecordSet() string {
 | 
			
		||||
	if x != nil {
 | 
			
		||||
		return x.RecordSet
 | 
			
		||||
@@ -1189,7 +1197,7 @@ var file_events_events_proto_rawDesc = []byte{
 | 
			
		||||
	0x12, 0x14, 0x0a, 0x05, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52,
 | 
			
		||||
	0x05, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64,
 | 
			
		||||
	0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66,
 | 
			
		||||
	0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xaf, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x6f, 0x72,
 | 
			
		||||
	0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xef, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x6f, 0x72,
 | 
			
		||||
	0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x72, 0x61, 0x6d,
 | 
			
		||||
	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x63, 0x61,
 | 
			
		||||
	0x72, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x4d, 0x65,
 | 
			
		||||
@@ -1206,7 +1214,11 @@ var file_events_events_proto_rawDesc = []byte{
 | 
			
		||||
	0x76, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
 | 
			
		||||
	0x72, 0x6f, 0x62, 0x6f, 0x63, 0x61, 0x72, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x44,
 | 
			
		||||
	0x72, 0x69, 0x76, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
 | 
			
		||||
	0x09, 0x64, 0x72, 0x69, 0x76, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65,
 | 
			
		||||
	0x09, 0x64, 0x72, 0x69, 0x76, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x64, 0x69,
 | 
			
		||||
	0x73, 0x70, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
 | 
			
		||||
	0x72, 0x6f, 0x62, 0x6f, 0x63, 0x61, 0x72, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x44,
 | 
			
		||||
	0x69, 0x73, 0x70, 0x61, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
 | 
			
		||||
	0x09, 0x64, 0x69, 0x73, 0x70, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65,
 | 
			
		||||
	0x63, 0x6f, 0x72, 0x64, 0x53, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72,
 | 
			
		||||
	0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x65, 0x74, 0x2a, 0x38, 0x0a, 0x09, 0x53, 0x70, 0x65, 0x65,
 | 
			
		||||
	0x64, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
 | 
			
		||||
@@ -1277,11 +1289,12 @@ var file_events_events_proto_depIdxs = []int32{
 | 
			
		||||
	6,  // 16: robocar.events.RecordMessage.steering:type_name -> robocar.events.SteeringMessage
 | 
			
		||||
	6,  // 17: robocar.events.RecordMessage.autopilot_steering:type_name -> robocar.events.SteeringMessage
 | 
			
		||||
	9,  // 18: robocar.events.RecordMessage.drive_mode:type_name -> robocar.events.DriveModeMessage
 | 
			
		||||
	19, // [19:19] is the sub-list for method output_type
 | 
			
		||||
	19, // [19:19] is the sub-list for method input_type
 | 
			
		||||
	19, // [19:19] is the sub-list for extension type_name
 | 
			
		||||
	19, // [19:19] is the sub-list for extension extendee
 | 
			
		||||
	0,  // [0:19] is the sub-list for field type_name
 | 
			
		||||
	5,  // 19: robocar.events.RecordMessage.disparity:type_name -> robocar.events.DisparityMessage
 | 
			
		||||
	20, // [20:20] is the sub-list for method output_type
 | 
			
		||||
	20, // [20:20] is the sub-list for method input_type
 | 
			
		||||
	20, // [20:20] is the sub-list for extension type_name
 | 
			
		||||
	20, // [20:20] is the sub-list for extension extendee
 | 
			
		||||
	0,  // [0:20] is the sub-list for field type_name
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { file_events_events_proto_init() }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user