Apollo 10.0
自动驾驶开放平台
ch_message_manager.cc
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2019 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
39
40namespace apollo {
41namespace canbus {
42namespace ch {
43
45 // Control Messages
46 AddSendProtocolData<Brakecommand111, true>();
47 AddSendProtocolData<Gearcommand114, true>();
48 AddSendProtocolData<Steercommand112, true>();
49 AddSendProtocolData<Throttlecommand110, true>();
50 AddSendProtocolData<Turnsignalcommand113, true>();
51 AddSendProtocolData<Vehiclemodecommand116, true>();
52
53 // Report Messages
54 AddRecvProtocolData<Brakestatus511, true>();
55 AddRecvProtocolData<Ecustatus1515, true>();
56 AddRecvProtocolData<Ecustatus2516, true>();
57 AddRecvProtocolData<Ecustatus3517, true>();
58 AddRecvProtocolData<Ecustatus4518, true>();
59 AddRecvProtocolData<Gearstatus514, true>();
60 AddRecvProtocolData<Steerstatus512, true>();
61 AddRecvProtocolData<Throttlestatus510, true>();
62 AddRecvProtocolData<Turnsignalstatus513, true>();
63 AddRecvProtocolData<Vinresp151b, true>();
64 AddRecvProtocolData<Vinresp251c, true>();
65 AddRecvProtocolData<Vinresp351d, true>();
66 AddRecvProtocolData<Wheelspeedreport51e, true>();
67}
68
70
71} // namespace ch
72} // namespace canbus
73} // namespace apollo
the class of ChMessageManager
class register implement
Definition arena_queue.h:37