added route to client vr scene

This commit is contained in:
Sem van der Hoeven
2020-10-07 12:51:09 +02:00
parent 499134fa9a
commit bff4718d3f
4 changed files with 73 additions and 15 deletions

View File

@@ -142,7 +142,9 @@ namespace Server
}
else if (DataParser.isRawData(message))
{
// print the raw data
Console.WriteLine(BitConverter.ToString(payloadbytes));
// TODO change, checking for length is not that safe
if (payloadbytes.Length == 8)
{
saveData?.WriteDataRAWBike(payloadbytes);