Apollo 10.0
自动驾驶开放平台
devkit_message_manager.cc
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2020 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
18
25
42
43namespace apollo {
44namespace canbus {
45namespace devkit {
46
48 // Control Messages
49 AddSendProtocolData<Brakecommand101, true>();
50 AddSendProtocolData<Gearcommand103, true>();
51 AddSendProtocolData<Parkcommand104, true>();
52 AddSendProtocolData<Steeringcommand102, true>();
53 AddSendProtocolData<Throttlecommand100, true>();
54 AddSendProtocolData<Vehiclemodecommand105, true>();
55
56 // Report Messages
57 AddRecvProtocolData<Bmsreport512, true>();
58 AddRecvProtocolData<Brakereport501, true>();
59 AddRecvProtocolData<Gearreport503, true>();
60 AddRecvProtocolData<Parkreport504, true>();
61 AddRecvProtocolData<Steeringreport502, true>();
62 AddRecvProtocolData<Throttlereport500, true>();
63 AddRecvProtocolData<Ultrsensor1507, true>();
64 AddRecvProtocolData<Ultrsensor2508, true>();
65 AddRecvProtocolData<Ultrsensor3509, true>();
66 AddRecvProtocolData<Ultrsensor4510, true>();
67 AddRecvProtocolData<Ultrsensor5511, true>();
68 AddRecvProtocolData<Vcureport505, true>();
69 AddRecvProtocolData<Vinresp1514, true>();
70 AddRecvProtocolData<Vinresp2515, true>();
71 AddRecvProtocolData<Vinresp3516, true>();
72 AddRecvProtocolData<Wheelspeedreport506, true>();
73}
74
76
77} // namespace devkit
78} // namespace canbus
79} // namespace apollo
class register implement
Definition arena_queue.h:37