Repository navigation
Remove kociemba and rubiks_rgb_solver.py from MINDCUB3R demo - #272
Conversation
| sudo apt-get install build-essential python3-pip libffi-dev | ||
| sudo pip3 install git+https://github.com/dwalton76/kociemba.git | ||
| sudo pip3 install git+https://github.com/dwalton76/rubiks-color-resolver.git | ||
| kociemba DRLUUBFBRBLURRLRUBLRDDFDLFUFUFFDBRDUBRUFLLFDDBFLUBLRBD |
There was a problem hiding this comment.
This seems like gibberish 😆 Is the idea here that you're feeding it a series of motions for testing purposes? If so, can you add a comment (not necessarily a code comment, just a note) with expected output?
There was a problem hiding this comment.
It does look like greek doesn't it :) The string is a representation of the colors of each of the 54 squares of a 3x3x3 cube. So the D at the beginning means that square #1 is the same color as the middle square of the Down side (the bottom), the R means that square #2 is the same color as the middle square of the Right side, etc. The kociemba program takes that color data and returns a sequence of moves that can be used to solve the cube. Just to keep things consistent the syntax for the sequence of moves also looks like greek
robot@beaglebone[lego-crane-cuber]# kociemba DRLUUBFBRBLURRLRUBLRDDFDLFUFUFFDBRDUBRUFLLFDDBFLUBLRBD
D2 R' D' F2 B D R2 D2 R' F2 D' F2 U' B2 L2 U2 D R2 U
robot@beaglebone[lego-crane-cuber]#
I'll add some of this text to the README
There was a problem hiding this comment.
I have that step in the install process because the first time you run it, it takes about 30 seconds because it builds some tables that it caches to the filesystem. After that first run it is nice and fast.
There was a problem hiding this comment.
yep confirmed that the motors spin, etc.
|
Is this confirmed at least seeming to work (motors spin) on the brick? |
| `kociemba DRLUUBFBRBLURRLRUBLRDDFDLFUFUFFDBRDUBRUFLLFDDBFLUBLRBD` | ||
| step of the install looks a little odd. The "DRLUU..." string is a | ||
| representation of the colors of each of the 54 squares of a 3x3x3 cube. So | ||
| the D at the beginning means that square #1 is the same color as the middle |
There was a problem hiding this comment.
This will probably auto-link to the GitHub issue #1; you can put it in code formatting if you want or just leave it as-is.
There was a problem hiding this comment.
will fix this and merge it
This is for issue #270