Apollo 11.0
自动驾驶开放平台
main.cc 文件参考
main.cc 的引用(Include)关系图:

浏览源代码.

函数

int main (int argc, char *argv[])
 

函数说明

◆ main()

int main ( int  argc,
char *  argv[] 
)

在文件 main.cc 第 21 行定义.

21 {
22 google::ParseCommandLineFlags(&argc, &argv, true);
23 // Added by caros to improve dv performance
24 apollo::cyber::GlobalData::Instance()->SetProcessGroup("dreamview_sched");
25 apollo::cyber::Init(argv[0]);
26
28 const bool init_success = dreamview.Init().ok() && dreamview.Start().ok();
29 if (!init_success) {
30 AERROR << "Failed to initialize dreamview server";
31 return -1;
32 }
34 return 0;
35}
bool ok() const
check whether the return status is OK.
Definition status.h:67
apollo::common::Status Init()
Definition dreamview.cc:54
apollo::common::Status Start()
Definition dreamview.cc:124
#define AERROR
Definition log.h:44
void WaitForShutdown()
Definition state.h:50
bool Init(const char *binary_name, const std::string &dag_info)
Definition init.cc:99