33 {
34 google::ParseCommandLineFlags(&argc, &argv, true);
35
37 FLAGS_alsologtostderr = true;
38
41 &navigation_info)) {
42 AERROR <<
"failed to load file: " << FLAGS_navigation_dummy_file;
43 return -1;
44 }
45
46 std::shared_ptr<apollo::cyber::Node> node(
49 FLAGS_navigation_topic);
51
53 apollo::common::util::FillHeader(node->Name(), &navigation_info);
54 writer->Write(navigation_info);
55 ADEBUG <<
"Sending navigation info:" << navigation_info.DebugString();
56 rate.Sleep();
57 }
58
59 return 0;
60}
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs,...
bool Init(const char *binary_name, const std::string &dag_info)
std::unique_ptr< Node > CreateNode(const std::string &node_name, const std::string &name_space)