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

improved error handling to alert user that sci connection issues can … #41

Open
wants to merge 3 commits into
base: indigo
Choose a base branch
from

Conversation

lukewebdev
Copy link

improved error handling to alert user that sci connection issues can be caused by wrong baud rate or wrong robot base type. Users typically get a "check your cable" error and no other info. Often times the wrong robot type is causing a baudrate mismatch. For example, someone with a Create 2 using the "create" robot type will use 57600 baud rate when they should be using 115200 of the roomba.

…be caused by wrong baud rate or wrong robot base type.
@corot
Copy link
Contributor

corot commented Apr 7, 2019

I'm lost with the Create vs Create 2 vs Roomba part, as I have never used a create.
Can anyone else review this?

…TURTLEBOT_BASE=create for Create 1 base, TURTLEBOT_BASE=roomba for Create 2.
@lukewebdev
Copy link
Author

Some more background in case it helps: I believe there was no "create 2" when this code was originally written, there was the Create 1 and a Roomba. The create 2 is a refurbished Roomba w/ the vacuum parts removed, which is why a Create 2 only works with TURTLEBOT_BASE=roomba. Someone who does not know the difference between a Create 1 or a Create 2 will put TURTLEBOT_BASE=create and their bot will not connect. This error message can help them see they should try "roomba" for Create 2.

I will make a suggestion to update on the wiki tutorial also which will alleviate this problem too.

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

Successfully merging this pull request may close these issues.

2 participants