Rubik's cube solver
 Software and Programming Related   Started by Edouard KANKU   2017-07-06 04:21:02 -04:00   Comments: 4    Viewed: 137

  1. Hello All,
    I have built a rubik's cube solver robot from a Minstorms NXT 2.0 kit and a Pistorms according to the instructions of the site www.mindcuber.com
    Now I get stuck making my robot work as the program provided from this site is nxc while I need a python code for the Pistorms. Is there anybody who knows if it is possible to convert lego brick code to python or alternative way?
    Any help or advice is appreciated. Here is a link to my robot pictures:
    https://goo.gl/photos/iK8Y3vVVM9ghvzt59

    Thank you in advance.
    Edouard KANKU, 2017-07-06 04:21:02 -04:00
  2. seth10
    seth10 Member Staff Member
    Wow, that robot looks great! Nice work :)

    I have not heard of any way to convert an NXT-G program to Python. Note that a one-click conversion might not be possible because you will need to use the specific mindsensors libraries to interact with the PiStorms. You can find the documentation here. Take a look under "Quick Links" for links to the PiStormsSensor and PiStormsMotor classes, which you will likely need. Unfortunately this form post might also be relevant.

    Great build, good luck!
    seth10, 2017-07-06 10:15:18 -04:00
  3. Thank you Setht for reply. I will read the documentation but it seems to be a great challenge to make it working. It would be better to have an example of  a robot python code running on a Pistorms.
    Edouard KANKU, 2017-07-06 17:44:44 -04:00
  4. seth10
    seth10 Member Staff Member
    Absolutely. The PiStorms software comes with many exaple programs which you can run on the Pi, you can also find the source code online.
    seth10, 2017-07-07 16:41:17 -04:00
  5. (You must log in or sign up to post here)

Log in | Sign up
Tems & Conditions!
Help!