Apollo
10.0
自动驾驶开放平台
radar.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.drivers;
4
5
import
"
modules/common_msgs/basic_msgs/error_code.proto
";
6
import
"
modules/common_msgs/basic_msgs/geometry.proto
";
7
import
"
modules/common_msgs/basic_msgs/header.proto
";
8
9
message
RadarObstacle
{
10
enum
Status
{
11
NO_TARGET = 0;
12
NEW_TARGET = 1;
13
NEW_UPDATED_TARGET = 2;
14
UPDATED_TARGET = 3;
15
COASTED_TARGET = 4;
16
MERGED_TARGET = 5;
17
INVALID_COASTED_TARGET = 6;
18
NEW_COASTED_TARGET = 7;
19
}
20
21
enum
MovingStatus
{
22
STATIONARY = 0;
23
NEARING = 1;
24
AWAYING = 2;
25
NONE = 3;
26
}
27
28
// obstacle ID.
29
optional int32
id
= 1;
30
// obstacle position in the sl coordinate system.
31
optional
apollo
.
common
.
Point2D
relative_position = 2;
32
// obstacle relative velocity.
33
optional
apollo
.
common
.
Point2D
relative_velocity = 3;
34
// radar signal intensity.
35
optional
double
rcs = 4;
36
// whether this obstacle is able to move.
37
optional
MovingStatus
moving_status = 5;
38
optional
double
width = 6;
39
optional
double
length = 7;
40
optional
double
height = 8;
41
optional
double
theta = 9;
42
// obstacle position in map coordinate system
43
optional
apollo
.
common
.
Point2D
absolute_position = 10;
44
// obstacle position in map coordinate system
45
optional
apollo
.
common
.
Point2D
absolute_velocity = 11;
46
optional int32 count = 12;
47
optional int32 moving_frames_count = 13;
48
optional
Status
status = 14;
49
}
50
51
message
RadarObstacles
{
52
map<int32, RadarObstacle> radar_obstacle = 1;
// An array of obstacles
53
optional
apollo
.
common
.
Header
header = 2;
// Header
54
optional
apollo
.
common
.ErrorCode error_code = 3 [
default
= OK];
55
}
geometry.proto
error_code.proto
header.proto
apollo::common
apollo::common
apollo
class register implement
Definition
arena_queue.h:37
syntax
syntax
Definition
radar.proto:1
apollo::common::Header
Definition
header.proto:7
apollo::common::Point2D
Definition
geometry.proto:34
apollo::drivers::RadarObstacle
Definition
radar.proto:9
apollo::drivers::RadarObstacle::Status
Status
Definition
radar.proto:10
apollo::drivers::RadarObstacle::MovingStatus
MovingStatus
Definition
radar.proto:21
apollo::drivers::RadarObstacles
Definition
radar.proto:51
modules
common_msgs
sensor_msgs
radar.proto