Openpilot webcam support improved (#34215)
	
		
	
				
					
				
			* control webcam with ENV vars * WIP: actual instructions * wording * file no longer exists * this is expected behavior, just untested * more readable * tested on fresh install * wording tweaks * explicit USE_WEBCAM toggle required Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * debug-ability improved Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * newline removed --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>pull/34293/head
							parent
							
								
									9f3c2f0a37
								
							
						
					
					
						commit
						7a72e419fe
					
				
				 4 changed files with 25 additions and 39 deletions
			
			
		| @ -1,14 +0,0 @@ | ||||
| #!/usr/bin/env 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="/dev/video0" | ||||
| export CAMERA_DRIVER_ID="/dev/video1" | ||||
| #export DUAL_CAMERA="/dev/video2" # optional, camera index for wide road camera | ||||
| 
 | ||||
| DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" | ||||
| 
 | ||||
| $DIR/camerad.py | ||||
					Loading…
					
					
				
		Reference in new issue