Apollo
11.0
自动驾驶开放平台
config.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.drivers.gnss.config;
4
5
import
"
modules/common_msgs/drivers_msgs/can_card_parameter.proto
";
6
7
message
Stream
{
8
enum
Format
{
9
UNKNOWN = 0;
10
NMEA = 1;
11
RTCM_V2 = 2;
12
RTCM_V3 = 3;
13
14
NOVATEL_TEXT = 10;
15
NOVATEL_BINARY = 11;
16
17
HUACE_TEXT = 12;
18
HUACE_CAN = 13;
19
20
ASENSING_TEXT = 14;
21
ASENSING_BINARY = 15;
22
ASENSING_CAN = 16;
23
24
UBLOX_TEXT = 20;
25
UBLOX_BINARY = 21;
26
27
BROADGNSS_TEXT = 30;
28
BROADGNSS_BINARY = 31;
29
}
30
optional
Format
format = 1;
31
32
message
Serial
{
33
optional bytes
device
= 1;
// Something like "/dev/ttyXXX".
34
optional int32 baud_rate = 2 [
default
= 9600];
35
// In general, we assumes no parity, 8 data bits, 1 stop bit, no
36
// handshaking, break detection enabled. If not, add more fields here.
37
}
38
39
message
Tcp
{
40
optional bytes address = 1;
// Something like "192.168.10.6".
41
optional int32 port = 2 [
default
= 3001];
42
}
43
44
message
Udp
{
45
optional bytes address = 1;
// Something like "192.168.10.6".
46
optional int32 port = 2 [
default
= 3001];
47
}
48
49
message
Ntrip
{
50
optional bytes address = 1;
// Something like "1.1.1.1".
51
optional int32 port = 2 [
default
= 2101];
52
optional bytes mount_point = 3;
// Something like "demo".
53
optional bytes user = 4;
54
optional bytes password = 5;
55
optional uint32 timeout_s = 6 [
default
= 30];
56
}
57
58
oneof
type
{
59
Serial
serial = 2;
60
Tcp
tcp = 3;
61
Udp
udp = 4;
62
Ntrip
ntrip = 5;
63
apollo
.
drivers
.
canbus
.
CANCardParameter
can_card_parameter = 6;
64
}
65
optional
bool
push_location = 7;
66
optional
bool
is_data_stream = 8 [
default
=
false
];
67
}
68
69
// Device-specific configuration.
70
message
NovatelConfig
{
71
// See Page 75 of SPAN on OEM6 Firmware Reference Manual for details.
72
optional int32 imu_orientation = 1 [
default
= 5];
73
}
74
75
message
UbloxConfig
{
76
}
77
78
enum
ImuType
{
79
// We currently use the following IMUs. We'll extend this list when a new IMU
80
// is introduced.
81
IMAR_FSAS
= 13;
// iMAR iIMU-FSAS
82
ISA100C
= 26;
// Northrop Grumman Litef ISA-100C
83
ADIS16488
= 31;
// Analog Devices ADIS16488
84
STIM300
= 32;
// Sensonor STIM300
85
ISA100
= 34;
// Northrop Grumman Litef ISA-100
86
ISA100_400HZ
= 38;
// Northrop Grumman Litef ISA-100
87
ISA100C_400HZ
= 39;
// Northrop Grumman Litef ISA-100
88
CPT_XW5651
= 40;
// IMU@SPAN-CPT, and XingWangYuda 5651
89
G320N
= 41;
// EPSON G320N
90
UM442
= 42;
// UM442
91
IAM20680
= 57;
// InvenSense-IAM20680
92
}
93
94
message
TF
{
95
optional
string
frame_id = 1 [
default
=
"world"
];
96
optional
string
child_frame_id = 2 [
default
=
"novatel"
];
97
optional
bool
enable = 3 [
default
=
false
];
98
}
99
100
message
Config
{
101
// The driver reads data from this port. This port should always be provided.
102
optional
Stream
data = 1;
103
104
// If given, the driver sends commands to this port. If not given, the driver
105
// sends commands to the data port.
106
optional
Stream
command = 2;
107
108
// The driver gets RTK correction data from this remote port. Usually this is
109
// an NTRIP port.
110
optional
Stream
rtk_from = 3;
111
112
// If given, the driver sends RTK correction data to this port. If not given,
113
// the driver sends RTK correction data to the data port.
114
optional
Stream
rtk_to = 4;
115
116
repeated bytes login_commands = 5;
117
118
repeated bytes logout_commands = 6;
119
120
oneof
device_config
{
121
NovatelConfig
novatel_config = 7;
122
UbloxConfig
ublox_config = 8;
123
}
124
125
enum
RtkSolutionType
{
126
RTK_RECEIVER_SOLUTION = 1;
127
RTK_SOFTWARE_SOLUTION = 2;
128
}
129
optional
RtkSolutionType
rtk_solution_type = 9;
130
optional
ImuType
imu_type = 10;
131
optional
string
proj4_text = 11;
132
optional
TF
tf = 12;
133
// If given, the driver will send velocity info to novatel with command stream
134
optional
string
wheel_parameters = 13;
135
optional
string
gpsbin_folder = 14;
136
optional
bool
use_gnss_time = 15 [
default
=
true
];
137
optional
bool
auto_fill_gps_msg = 16 [
default
=
false
];
138
}
syntax
syntax
Definition
config.proto:1
can_card_parameter.proto
device
first check imutoantoffset saved in device
Definition
readme.txt:2
apollo::drivers::canbus
apollo::drivers::canbus
Definition
can_card_parameter.proto:3
apollo::drivers::gnss::config::ImuType
ImuType
Definition
config.proto:78
apollo::drivers::gnss::config::IAM20680
@ IAM20680
Definition
config.proto:91
apollo::drivers::gnss::config::CPT_XW5651
@ CPT_XW5651
Definition
config.proto:88
apollo::drivers::gnss::config::ISA100C
@ ISA100C
Definition
config.proto:82
apollo::drivers::gnss::config::ADIS16488
@ ADIS16488
Definition
config.proto:83
apollo::drivers::gnss::config::ISA100_400HZ
@ ISA100_400HZ
Definition
config.proto:86
apollo::drivers::gnss::config::UM442
@ UM442
Definition
config.proto:90
apollo::drivers::gnss::config::ISA100C_400HZ
@ ISA100C_400HZ
Definition
config.proto:87
apollo::drivers::gnss::config::STIM300
@ STIM300
Definition
config.proto:84
apollo::drivers::gnss::config::IMAR_FSAS
@ IMAR_FSAS
Definition
config.proto:81
apollo::drivers::gnss::config::G320N
@ G320N
Definition
config.proto:89
apollo::drivers::gnss::config::ISA100
@ ISA100
Definition
config.proto:85
apollo::drivers
apollo::drivers
Definition
can_card_parameter.proto:3
apollo
class register implement
Definition
arena_queue.h:37
apollo::drivers::canbus::CANCardParameter
Definition
can_card_parameter.proto:5
apollo::drivers::gnss::config::Config
Definition
config.proto:100
apollo::drivers::gnss::config::Config::RtkSolutionType
RtkSolutionType
Definition
config.proto:125
apollo::drivers::gnss::config::NovatelConfig
Definition
config.proto:70
apollo::drivers::gnss::config::Stream::Ntrip
Definition
config.proto:49
apollo::drivers::gnss::config::Stream::Serial
Definition
config.proto:32
apollo::drivers::gnss::config::Stream::Tcp
Definition
config.proto:39
apollo::drivers::gnss::config::Stream::Udp
Definition
config.proto:44
apollo::drivers::gnss::config::Stream
Definition
config.proto:7
apollo::drivers::gnss::config::Stream::Format
Format
Definition
config.proto:8
apollo::drivers::gnss::config::TF
Definition
config.proto:94
apollo::drivers::gnss::config::UbloxConfig
Definition
config.proto:75
apollo::drivers::gnss::config::Config::device_config
Definition
config.proto:120
apollo::drivers::gnss::config::Stream::type
Definition
config.proto:58
modules
drivers
gnss
proto
config.proto