mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
fixed it so it can drive
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user