reverse steer fix
This commit is contained in:
parent
d973e411ab
commit
75f87c284d
|
@ -275,7 +275,7 @@ void loop() {
|
||||||
Serial.println(phi,4);*/
|
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.speed=map(yin, -1000,1000, 127-(127*speedscale), 127+(128*speedscale) ); //speed
|
||||||
|
|
||||||
senddata.commands=0; //reset
|
senddata.commands=0; //reset
|
||||||
|
|
Loading…
Reference in New Issue