fix sending
This commit is contained in:
parent
48ebf40656
commit
a4dc138da1
|
@ -102,7 +102,7 @@ void updateValues() {
|
|||
temp_Rear=noise(n1/100.0,10.1)*3+30;
|
||||
vbat_Front=-noise(n1/100.0,11)*4+12*4.2;
|
||||
vbat_Rear=-noise(n1/100.0,11.2)*4+12*4.2;
|
||||
currentAll=min(current_FrontL,min(current_FrontR,min(speed_RearL,speed_RearR)));
|
||||
currentAll=min(current_FrontL,min(current_FrontR,min(current_RearL,current_RearR)));
|
||||
throttle=int(noise(n1,15)*1000);
|
||||
brake=max(0,int(noise(n1,18)*1000-800));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue