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
				
				360 B
			
		
		
			
		
	
	
					15 lines
				
				360 B
			| 
								 
											2 years ago
										 
									 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# export the block below when call manager.py
							 | 
						||
| 
								 | 
							
								export BLOCK="${BLOCK},camerad"
							 | 
						||
| 
								 | 
							
								export USE_WEBCAM="1"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Change camera index according to your setting
							 | 
						||
| 
								 | 
							
								export CAMERA_ROAD_ID="0"
							 | 
						||
| 
								 | 
							
								export CAMERA_DRIVER_ID="1"
							 | 
						||
| 
								 | 
							
								export DUAL_CAMERA="2" # camera index for wide road camera
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								$DIR/camerad.py
							 |