Files
StarPilot/selfdrive/ui/replay/main.cc
T
iejMac f786b284d5 Replay: seeking functionality (#20763)
old-commit-hash: f0d0b82b8d6f5f450952113e234d0a5a49e80c48
2021-05-15 17:06:30 -07:00

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();
}