>>>>>>>>>>>>>Correction for constants. This is a good one!!!
This commit is contained in:
		
							parent
							
								
									eaf6a8a0e7
								
							
						
					
					
						commit
						023e78bd1c
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -4,9 +4,9 @@ QTRSensors qtr; | |||
| const uint8_t SensorCount = 8; | ||||
| uint16_t sensorValues[SensorCount]; | ||||
| 
 | ||||
| float Kp = 0.097;//set up the constants value
 | ||||
| float Ki = 0.0008; | ||||
| float Kd = 0.6; | ||||
| float Kp = 0.09; //set up the constants value
 | ||||
| float Ki = 0.0009; | ||||
| float Kd = 0.3; | ||||
| int P; | ||||
| int I; | ||||
| int D; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue