Skip to content

Conversation

@OrBeProgrammed
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.
@OrBeProgrammed
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