mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 14:16:39 +08:00
f786b284d5
old-commit-hash: f0d0b82b8d6f5f450952113e234d0a5a49e80c48
19 lines
319 B
C++
19 lines
319 B
C++
#include <QApplication>
|
|
|
|
#include "selfdrive/ui/replay/replay.h"
|
|
|
|
int main(int argc, char *argv[]){
|
|
QApplication a(argc, argv);
|
|
|
|
QString route(argv[1]);
|
|
if (route == "") {
|
|
printf("Usage: ./replay \"route\"\n");
|
|
return 1;
|
|
}
|
|
|
|
Replay *replay = new Replay(route);
|
|
replay->start();
|
|
|
|
return a.exec();
|
|
}
|