Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial connection is extremely slow #7

Open
MarcDuQuesne opened this issue Mar 23, 2021 · 1 comment
Open

Serial connection is extremely slow #7

MarcDuQuesne opened this issue Mar 23, 2021 · 1 comment

Comments

@MarcDuQuesne
Copy link

Hi,

Since my neato recently started acting up, I decided to play around with it and stumbled across your repository. thanks for your work!

From what I see right now, with my current configuration sending commands in real time from a raspberry pi is just not possible - it takes something in the order of 2 s to issue any command. Now, communication via the serial port is slow, but.. this slow? I don't get it. This is the part of the code where you configure the serial device:

            self.ser = serial.Serial(self.device, 115200,
                                     serial.EIGHTBITS, serial.PARITY_NONE,
                                     serial.STOPBITS_ONE,
                                     timeout)

how did you come up with that baudrate/bytesize? Do you know of any way to make it faster (10x would start to be ok)?
greetings from the NL!

@jeroenterheerdt
Copy link
Owner

Hi Marc, I don't think you can make it faster. The baudrate is fixed, as well as the bytesize. I think originally got this from https://github.com/jeroenterheerdt/neato-serial/blob/master/XV-ProgrammersManual-3_1.pdf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants