Correct turning direction for binary

This commit is contained in:
Pascal Serrarens 2025-06-06 09:12:54 +02:00
parent 1fb2ad6f7a
commit 87241a0279

View File

@ -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;
}
}