edited comments

This commit is contained in:
2024-10-02 18:08:12 +02:00
parent d3e0b3dd9f
commit 92be35a8da

View File

@@ -800,8 +800,8 @@ void CKobuki::forward(int speedvalue, long double distance) {
unsigned char message[11] = {
0xaa, // Start byte 1
0x55, // Start byte 2
0x08, // Payload length
0x01, // amount of payloads
0x08, // Payload length (the first 2 bytes dont count)
0x01, // payload type (0x01 = control command)
0x04, // Control byte or additional identifier
actual_speed % 256, // Lower byte of speed value
actual_speed >> 8, // Upper byte of speed value