dragonpilot - 基於 openpilot 的開源駕駛輔助系統
				
			 
			
		 
		
		
		
		
		
		
			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.
		
		
		
	
	
		
		
			
	
	
		
			
				
					
						
							|  |  |  | #include <QApplication>
 | 
					
						
							|  |  |  | #include <QDebug>
 | 
					
						
							|  |  |  | #include <csignal>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "selfdrive/ui/qt/util.h"
 | 
					
						
							|  |  |  | #include "selfdrive/ui/qt/maps/map_helpers.h"
 | 
					
						
							|  |  |  | #include "selfdrive/navd/map_renderer.h"
 | 
					
						
							|  |  |  | #include "system/hardware/hw.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | int main(int argc, char *argv[]) {
 | 
					
						
							|  |  |  |   qInstallMessageHandler(swagLogMessageHandler);
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   QApplication app(argc, argv);
 | 
					
						
							|  |  |  |   std::signal(SIGINT, sigTermHandler);
 | 
					
						
							|  |  |  |   std::signal(SIGTERM, sigTermHandler);
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   MapRenderer * m = new MapRenderer(get_mapbox_settings());
 | 
					
						
							|  |  |  |   assert(m);
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   return app.exec();
 | 
					
						
							|  |  |  | }
 |