-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
After sending a single command to move the motors forward the firmware will not stop the motors unless it receives a command to stop. There should be a timeout for the last received command
Here's the code I used to reproduce the problem
#!/usr/bin/python3
import serial
MOTORS_PREFIX = 0x10
POSTFIX = [0x0D, 0x0A]
command = bytearray()
command.append(MOTORS_PREFIX)
command.extend([0x7F, 0x7F, 0x7F, 0x7F])
command.extend(POSTFIX)
uart = serial.Serial("/dev/ttyAMA0", baudrate=115200)
uart.write(command)Metadata
Metadata
Assignees
Labels
No labels