reverse steer
This commit is contained in:
parent
a1da44f7c9
commit
d973e411ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue