21 {
22 google::ParseCommandLineFlags(&argc, &argv, true);
23
24 apollo::cyber::GlobalData::Instance()->SetProcessGroup("dreamview_sched");
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.
apollo::common::Status Init()
apollo::common::Status Start()
bool Init(const char *binary_name, const std::string &dag_info)