mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
NUI comma api intergration (#1186)
* Prototyping comma api call
* Adding nui command
* Fixing hard coded vals
* Adding generalized nui changes
* Added both public and private api support
* Removing debug statement
* Chaning private api tag to use env variables
* FrameReader change for string parsing
old-commit-hash: 763493e988
This commit is contained in:
@@ -8,8 +8,9 @@ FileReader::FileReader(const QString& file_) : file(file_) {
|
||||
|
||||
void FileReader::process() {
|
||||
timer.start();
|
||||
// TODO: Support reading files from the API
|
||||
startRequest(QUrl("http://data.comma.life/"+file));
|
||||
QString str = file.simplified();
|
||||
str.replace(" ", "");
|
||||
startRequest(QUrl(str));
|
||||
}
|
||||
|
||||
void FileReader::startRequest(const QUrl &url) {
|
||||
|
||||
Reference in New Issue
Block a user