You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							15 lines
						
					
					
						
							500 B
						
					
					
				
			
		
		
	
	
							15 lines
						
					
					
						
							500 B
						
					
					
				| #pragma once
 | |
| 
 | |
| #include <string>
 | |
| 
 | |
| #include "system/hardware/base.h"
 | |
| 
 | |
| class HardwarePC : public HardwareNone {
 | |
| public:
 | |
|   static std::string get_os_version() { return "openpilot for PC"; }
 | |
|   static std::string get_name() { return "pc"; }
 | |
|   static cereal::InitData::DeviceType get_device_type() { return cereal::InitData::DeviceType::PC; }
 | |
|   static bool PC() { return true; }
 | |
|   static bool TICI() { return util::getenv("TICI", 0) == 1; }
 | |
|   static bool AGNOS() { return util::getenv("TICI", 0) == 1; }
 | |
| };
 | |
| 
 |