From 520ecde1cdd7fe25376178270bcfecf28506d0ec Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 31 May 2024 23:16:14 -0400 Subject: [PATCH] swaglog --- selfdrive/ui/qt/text.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/text.cc b/selfdrive/ui/qt/text.cc index f28d751918..e451fd54bd 100644 --- a/selfdrive/ui/qt/text.cc +++ b/selfdrive/ui/qt/text.cc @@ -8,6 +8,7 @@ #include #include "common/params.h" +#include "common/swaglog.h" #include "system/hardware/hw.h" #include "selfdrive/ui/qt/util.h" #include "selfdrive/ui/qt/qt_window.h" @@ -76,7 +77,7 @@ int main(int argc, char *argv[]) { QFuture future = QtConcurrent::run([=]() { std::string output = executeCommand(cmd.c_str()); - std::cout << "Debug Output: " << output << std::endl; + LOGW("Forcing update for %s", output); QMetaObject::invokeMethod(label, "setText", Qt::QueuedConnection, Q_ARG(QString, QString::fromStdString(output))); QMetaObject::invokeMethod(scroll, "update", Qt::QueuedConnection);