Use full include path (#21194)

pull/21199/head
Dean Lee 2021-06-09 03:09:30 +08:00 committed by GitHub
parent 561f3b3191
commit b06b3ecb60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 36 additions and 33 deletions

View File

@ -1,3 +1,5 @@
#include "selfdrive/camerad/cameras/camera_qcom2.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
@ -19,7 +21,6 @@
#include "sensor2_i2c.h"
#include "selfdrive/common/swaglog.h"
#include "selfdrive/camerad/cameras/camera_qcom2.h"
#define FRAME_WIDTH 1928
#define FRAME_HEIGHT 1208

View File

@ -1,4 +1,4 @@
#include "rgb_to_yuv.h"
#include "selfdrive/camerad/transforms/rgb_to_yuv.h"
#include <assert.h>

View File

@ -2,7 +2,7 @@
#define _GNU_SOURCE
#endif
#include "swaglog.h"
#include "selfdrive/common/swaglog.h"
#include <assert.h>
#include <string.h>

View File

@ -1,6 +1,6 @@
#pragma once
#include "visionbuf.h"
#include "cereal/visionipc/visionbuf.h"
#ifdef __APPLE__
#include <OpenGL/gl3.h>

View File

@ -1,4 +1,4 @@
#include "commonmodel.h"
#include "selfdrive/modeld/models/commonmodel.h"
#include <assert.h>
#include <math.h>

View File

@ -1,3 +1,5 @@
#include "selfdrive/modeld/models/dmonitoring.h"
#include <string.h>
#include "libyuv.h"
@ -6,7 +8,6 @@
#include "selfdrive/common/params.h"
#include "selfdrive/common/timing.h"
#include "selfdrive/hardware/hw.h"
#include "selfdrive/modeld/models/dmonitoring.h"
#define MODEL_WIDTH 320
#define MODEL_HEIGHT 640

View File

@ -1,5 +1,4 @@
#include "driving.h"
#include "selfdrive/modeld/models/driving.h"
#include <assert.h>
#include <fcntl.h>

View File

@ -1,4 +1,4 @@
#include "onnxmodel.h"
#include "selfdrive/modeld/runners/onnxmodel.h"
#include <poll.h>
#include <signal.h>

View File

@ -1,4 +1,4 @@
#include "thneedmodel.h"
#include "selfdrive/modeld/runners/thneedmodel.h"
#include <assert.h>

View File

@ -1,4 +1,4 @@
#include "loadyuv.h"
#include "selfdrive/modeld/transforms/loadyuv.h"
#include <assert.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
#include "transform.h"
#include "selfdrive/modeld/transforms/transform.h"
#include <assert.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
#include "paint.h"
#include "selfdrive/ui/paint.h"
#include <assert.h>

View File

@ -1,3 +1,5 @@
#include "selfdrive/ui/qt/maps/map.h"
#include <cmath>
#include <QDebug>
@ -8,7 +10,6 @@
#include "selfdrive/ui/ui.h"
#include "selfdrive/ui/qt/util.h"
#include "selfdrive/ui/qt/maps/map_helpers.h"
#include "selfdrive/ui/qt/maps/map.h"
const int PAN_TIMEOUT = 100;

View File

@ -1,7 +1,8 @@
#include "selfdrive/ui/qt/maps/map_helpers.h"
#include <QJsonDocument>
#include <QJsonObject>
#include "selfdrive/ui/qt/maps/map_helpers.h"
#include "selfdrive/common/params.h"

View File

@ -1,4 +1,4 @@
#include "networking.h"
#include "selfdrive/ui/qt/offroad/networking.h"
#include <QDebug>
#include <QHBoxLayout>

View File

@ -1,4 +1,4 @@
#include "onboarding.h"
#include "selfdrive/ui/qt/offroad/onboarding.h"
#include <QDesktopWidget>
#include <QLabel>

View File

@ -1,4 +1,4 @@
#include "settings.h"
#include "selfdrive/ui/qt/offroad/settings.h"
#include <cassert>
#include <string>

View File

@ -1,4 +1,4 @@
#include "wifiManager.h"
#include "selfdrive/ui/qt/offroad/wifiManager.h"
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "request_repeater.h"
#include "selfdrive/ui/qt/request_repeater.h"
RequestRepeater::RequestRepeater(QObject *parent, const QString &requestURL, const QString &cacheKey,
int period) : HttpRequest(parent, requestURL, cacheKey) {

View File

@ -1,4 +1,4 @@
#include "setup.h"
#include "selfdrive/ui/qt/setup/setup.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
#include "wifi.h"
#include "selfdrive/ui/qt/setup/wifi.h"
#include <curl/curl.h>
#include <stdio.h>

View File

@ -1,4 +1,4 @@
#include "spinner.h"
#include "selfdrive/ui/qt/spinner.h"
#include <stdio.h>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "controls.h"
#include "selfdrive/ui/qt/widgets/controls.h"
QFrame *horizontal_line(QWidget *parent) {
QFrame *line = new QFrame(parent);

View File

@ -1,4 +1,4 @@
#include "drive_stats.h"
#include "selfdrive/ui/qt/widgets/drive_stats.h"
#include <QDebug>
#include <QJsonDocument>

View File

@ -1,4 +1,4 @@
#include "input.h"
#include "selfdrive/ui/qt/widgets/input.h"
#include <QPushButton>

View File

@ -1,4 +1,4 @@
#include "keyboard.h"
#include "selfdrive/ui/qt/widgets/keyboard.h"
#include <QButtonGroup>
#include <QDebug>

View File

@ -1,4 +1,4 @@
#include "offroad_alerts.h"
#include "selfdrive/ui/qt/widgets/offroad_alerts.h"
#include <QHBoxLayout>
#include <QJsonDocument>

View File

@ -1,4 +1,4 @@
#include "scrollview.h"
#include "selfdrive/ui/qt/widgets/scrollview.h"
#include <QScrollBar>

View File

@ -1,4 +1,4 @@
#include "setup.h"
#include "selfdrive/ui/qt/widgets/setup.h"
#include <QDebug>
#include <QJsonDocument>

View File

@ -1,4 +1,4 @@
#include "ssh_keys.h"
#include "selfdrive/ui/qt/widgets/ssh_keys.h"
#include <QHBoxLayout>
#include <QNetworkReply>

View File

@ -1,4 +1,4 @@
#include "toggle.h"
#include "selfdrive/ui/qt/widgets/toggle.h"
Toggle::Toggle(QWidget *parent) : QAbstractButton(parent),
_height(80),

View File

@ -1,4 +1,4 @@
#include "window.h"
#include "selfdrive/ui/qt/window.h"
#include "selfdrive/hardware/hw.h"