fixed it so it can drive

This commit is contained in:
2024-10-02 18:06:57 +02:00
parent ef573112ae
commit d3e0b3dd9f

View File

@@ -800,7 +800,7 @@ void CKobuki::forward(int speedvalue, long double distance) {
unsigned char message[11] = { unsigned char message[11] = {
0xaa, // Start byte 1 0xaa, // Start byte 1
0x55, // Start byte 2 0x55, // Start byte 2
0x0a, // Payload length 0x08, // Payload length
0x01, // amount of payloads 0x01, // amount of payloads
0x04, // Control byte or additional identifier 0x04, // Control byte or additional identifier
actual_speed % 256, // Lower byte of speed value actual_speed % 256, // Lower byte of speed value