openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.

9 lines
213 B

#pragma once
#include "file_sensor.hpp"
class LightSensor : public FileSensor {
public:
LightSensor(std::string filename) : FileSensor(filename){};
void get_event(cereal::SensorEventData::Builder &event);
};