reverse steer

This commit is contained in:
interfisch 2022-07-14 19:35:26 +02:00
parent a1da44f7c9
commit d973e411ab
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-(128*steerscale), 127+(127*steerscale) ); //steer
senddata.speed=map(yin, -1000,1000, 127-(127*speedscale), 127+(128*speedscale) ); //speed
senddata.commands=0; //reset