[opt3.0_back_camera] 福田清扫车后摄像头数据接收

This commit is contained in:
xinfengkun
2023-03-06 16:05:31 +08:00
parent c95013f792
commit e7ea7ae9f4
28 changed files with 1117 additions and 109 deletions

View File

@@ -6,7 +6,7 @@ import "geometry.proto";
enum ProtocolVersion
{
Defaultver = 0;
CurrentVersion = 10; //每次修改proto文件增加1
CurrentVersion = 12; //每次修改proto文件增加1
}
enum MessageType
@@ -30,6 +30,7 @@ enum MessageType
MsgTypeOBU = 0x1000a; //OBU
MsgTypeChassisStates = 0x1000b; //重构后的底盘状态, 透传
MsgTypeFunctionStates = 0x1000c; //重构后的功能状态, 透传
MsgTypeBackCameraVideo = 0x1000d; //清扫车后部摄像头视频 10hz
MsgTypeBasicInfoReq = 0x10100; //自动驾驶设备基础信息请求
MsgTypeBasicInfoResp = 0x10101; //自动驾驶设备基础信息应答
@@ -60,6 +61,7 @@ enum MessageType
MsgTypeTripInfoEvent = 0x1011a; //行程信息
MsgTypeBagManagerCmd = 0x1011b; //bag管理
MsgTypePlanningCmd = 0x1011c; //给planning的指令
MsgTypeSetParamReqV2 = 0x1011d; //设置参数命令V2
}
message Header
@@ -139,9 +141,16 @@ message TrackedObject
string strUuid = 101;//String类型车辆ID
}
message BlindAreaData
{
float angleResolution = 1;
repeated int32 distances = 2;
}
message TrackedObjects
{
repeated TrackedObject objs = 1;
BlindAreaData blindAreaData = 2;
}
// message definition for MsgTypeGnssInfo
@@ -598,4 +607,8 @@ message PlanningCmd
PullOverCmd pullOverCmd = 1;
}
//message definition for MsgTypeSetParamReqV2
//refer to param_set_cmd.proto for details
//message definition for MsgTypeBackCameraVideo
//payload:jpeg data

View File

@@ -0,0 +1,20 @@
syntax = "proto3";
package mogo.telematics;
enum ParamSetType
{
ParamSetTypeNone = 0;
ParamSetTypeBlindArea = 1;
}
message ParamSetCmd
{
uint32 src = 1; // 0: none, 1:pad, 2:aicloud
ParamSetType type = 2;
oneof Value {
bool boolValue = 3;
int64 intValue = 4;
double floatValue = 5;
string stringValue = 6;
}
}