Apollo
10.0
自动驾驶开放平台
static_info.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.data;
4
5
import
"
modules/canbus/proto/canbus_conf.proto
";
6
import
"
modules/common_msgs/chassis_msgs/chassis.proto
";
7
import
"
modules/common_msgs/config_msgs/vehicle_config.proto
";
8
// import "modules/control/proto/control_conf.proto";
9
import
"
modules/common_msgs/routing_msgs/routing.proto
";
10
11
message
VehicleInfo
{
12
optional
string
name = 1;
13
enum
Brand
{
14
LINCOLN = 1;
15
FORD = 2;
16
LEXUS = 3;
17
}
18
optional
Brand
brand = 2;
19
enum
Model
{
20
// Lincoln model
21
MKZ = 1;
22
TRANSIT = 2;
23
RX450H = 3;
24
}
25
optional
Model
model = 3;
26
optional
apollo
.
canbus
.
License
license = 4 [deprecated =
true
];
27
optional
apollo
.
canbus
.
CanbusConf
canbus_conf = 5;
28
optional
apollo
.
common
.
VehicleConfig
vehicle_config = 6;
29
// optional apollo.control.ControlConf control_config = 7;
30
}
31
32
message
EnvironmentInfo
{
33
optional
string
map_name = 1 [deprecated =
true
];
34
optional
float
temperature = 2;
// Temperature in degrees Celsius.
35
// TODO(xiaoxq): weather, rare condition, etc.
36
}
37
38
message
HardwareInfo
{
39
// Entries of hardware config file path and its content.
40
map<string, string> configs = 1;
41
}
42
43
message
SoftwareInfo
{
44
optional
string
docker_image = 1 [deprecated =
true
];
45
optional
string
commit_id = 2;
46
optional
string
mode = 3 [deprecated =
true
];
47
// Entries of software config file path and its content.
48
map<string, string> configs = 4;
49
optional
apollo
.
routing
.
RoutingRequest
latest_routing_request = 5;
50
}
51
52
message
UserInfo
{
53
optional
string
entity = 1;
// Company, university, organization, etc.
54
optional
string
driver = 2;
55
optional
string
co_driver = 3;
56
}
57
58
message
StaticInfo
{
59
optional
VehicleInfo
vehicle = 1;
60
optional
EnvironmentInfo
environment = 2;
61
optional
HardwareInfo
hardware = 3;
62
optional
SoftwareInfo
software = 4;
63
optional
UserInfo
user = 5;
64
}
65
66
message
StaticInfoConf
{
67
repeated
string
hardware_configs = 1;
68
repeated
string
software_configs = 2;
69
}
canbus_conf.proto
chassis.proto
apollo::canbus
apollo::canbus
Definition
canbus_component.cc:36
apollo::common
apollo::common
apollo::routing
Definition
geometry.proto:3
apollo
class register implement
Definition
arena_queue.h:37
routing.proto
syntax
syntax
Definition
static_info.proto:1
apollo::canbus::CanbusConf
Definition
canbus_conf.proto:8
apollo::canbus::License
Definition
chassis.proto:247
apollo::common::VehicleConfig
Definition
vehicle_config.proto:97
apollo::data::EnvironmentInfo
Definition
static_info.proto:32
apollo::data::HardwareInfo
Definition
static_info.proto:38
apollo::data::SoftwareInfo
Definition
static_info.proto:43
apollo::data::StaticInfoConf
Definition
static_info.proto:66
apollo::data::StaticInfo
Definition
static_info.proto:58
apollo::data::UserInfo
Definition
static_info.proto:52
apollo::data::VehicleInfo
Definition
static_info.proto:11
apollo::data::VehicleInfo::Model
Model
Definition
static_info.proto:19
apollo::data::VehicleInfo::Brand
Brand
Definition
static_info.proto:13
apollo::routing::RoutingRequest
Definition
routing.proto:10
vehicle_config.proto
modules
data
proto
static_info.proto