34int main(int32_t argc,
char **argv) {
35 google::InitGoogleLogging(argv[0]);
36 google::ParseCommandLineFlags(&argc, &argv,
true);
37 FLAGS_alsologtostderr =
true;
41 std::shared_ptr<apollo::cyber::Node> node_(
43 std::shared_ptr<Writer<ControlCommand>> control_command_writer_ =
49 AERROR <<
"failed to load file: " << FLAGS_canbus_test_file;
57 control_command_writer_->Write(control_cmd);
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,...