reverse steer fix

This commit is contained in:
interfisch 2022-07-14 19:38:07 +02:00
parent d973e411ab
commit 75f87c284d
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ void loop() {
Serial.println(phi,4);*/
senddata.steer=map(xin, -1000,1000, 127-(128*steerscale), 127+(127*steerscale) ); //steer
senddata.steer=map(xin, -1000,1000, 127-(127*steerscale), 127+(128*steerscale) ); //steer
senddata.speed=map(yin, -1000,1000, 127-(127*speedscale), 127+(128*speedscale) ); //speed
senddata.commands=0; //reset