fix sending

This commit is contained in:
interfisch 2021-03-26 19:57:08 +01:00
parent 48ebf40656
commit a4dc138da1
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}