Correct turning direction for binary
This commit is contained in:
parent
1fb2ad6f7a
commit
87241a0279
@ -40,7 +40,7 @@ namespace RoboidControl {
|
||||
return data;
|
||||
}
|
||||
public override void ProcessBinary(byte[] data) {
|
||||
this.targetSpeed = (float)data[0] / 127;
|
||||
this.targetSpeed = (float)(sbyte)data[0] / 127;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user