|
Post by msalvador on Jun 2, 2016 0:20:54 GMT -7
Hi, I have downloaded all the Python codes you published, as well as Python and the serial module for Python following all instructions. I also downloaded PyCharm. It is my first time using Python so I'm a bit lost. I see there are some very nice scripts like calibration, and some examples, as well as a driver and an SDK. Now I was wondering, how do I run any of these? (I know that first I have to flash the hex into the arduino board) Also on the Open Dobot Gui Master, I tried to Run with PyCharm the DobotGUIMain and it gives some error, do I need to do something or it should work right away? Thanks and sorry for my lack of Python knowledge.
|
|
|
Post by Max on Jun 2, 2016 6:19:54 GMT -7
1. Change the port name in an example with whatever port dobot is showing as on your system, like this Dobot('COM4', debug=True) 2. To run any of the examples you do need to flash the firmware first. However, only example-driver.py does not care about accelerometers. See item 3 3. If your accelerometers are based on an unknown chinese crap MP65 like this github.com/maxosprojects/open-dobot/issues/23#issuecomment-218043805 then they are not supported. You would have to replace them with GY-521 (or just hot glue them on top). Also, GY-521 are currently supported only in RAMPS version. Refer to github.com/maxosprojects/open-dobot/wiki for details. So you would also need RAMPS board, or request support for GY521 in FPGA version on github (should take no more than one day to implement when I have time). That would require soldering four wires to the FPGA board. 4. open-dobot-gui is a completely separate project and supports only RAMPS board and no accelerometers at the moment. If you found it on my account on github then you should've noticed that it is just a fork. To run it requires pyqt installed. Refer to the original project's page github.com/mikef522/open-dobot-gui and raise a support request there if you need help with it. I'm guessing Mike is considering to base gui on open-dobot now that it supports RAMPS
|
|
|
Post by mikef522 on Jun 3, 2016 21:51:26 GMT -7
Yea, i will modify it to work with open-dobot, just been busy lately.
|
|