Logo
Explore Help
Register Sign In
sadmen
/
dragonpilot
mirror of https://github.com/dragonpilot-community/dragonpilot.git
1
0
Fork
You've already forked dragonpilot
0
Code Issues 6 Packages Projects Releases Wiki Activity
dragonpilot - 基於 openpilot 的開源駕駛輔助系統
3712 Commits
42 Branches
64 Tags
7.0 GiB
Tree: 6fe7fcd6e9
dragonpilot/selfdrive/sensord/sensors/file_sensor.cc

15 lines
218 B
Raw Normal View History Unescape Escape

Cleanup selfdrive/ includes (#20822) * cleanup include path * continue * format includes * fix testraw.cc * remove include path from SConstruct * regroup * rebase master * almost done * apply review * rename FileReader.xx to filereader.xx * rename Unlogger.x->unlogger.x * rename FrameReader.xx -> framereader.xx * apply reviews * ui.h * continue * fix framebuffer.cc build error:mv util.h up * full path to msm_media_info * fix qcom2 camerad Co-authored-by: Comma Device <device@comma.ai>
4 years ago
#include "file_sensor.h"
Tici light sensor (#2150) * more generic sensor base class * add file sensor * light sensor working * correct sensor type
5 years ago
#include <string>
FileSensor::FileSensor(std::string filename) : file(filename) {
}
int FileSensor::init() {
return file.is_open() ? 0 : 1;
}
FileSensor::~FileSensor(){
file.close();
}
Powered by Gitea Version: 1.17.1 Page: 491ms Template : 3ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website