mirror of
https://github.com/thunderbug1/Spherebot-Host-GUI.git
synced 2026-03-03 08:33:59 +01:00
2925e49803eba809602f1dbaba048d63649e8db2
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Copyright 2011 by Alexander Balasch http://coolrobotprojects.blogspot.co.at/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
this project has been inspired by:
http://pleasantsoftware.com/developer/3d/spherebot/
///////////////////////////////////////////////////////////////////////////////////
HOW TO:
1.) Upload the Arduino sketch.
(I have added an additional multiplicator to the y-Step calculation to
match my spherebot to the unicorn-script coordinates. You will maybe have to
do the same adjustment for your Spherebot)
(You will also have to redefine your pins accordingly to your electronics design)
2.) Start the Spherebot-UI.exe and connect to your Arduino
Warning for custom Firmwares:
The send file function will only work if the arduino answers
each sent command with a message that contains "ok:" so that
the next command is sent.
Additional Notes:
The communication is based on the qextserialport library. I tried to make it
event-based but I wasn´t able to get the event that a new line is received
firing. So I simply made the communication not event but polling-based. If
someone smarter than me could make it eventbased, it would be awesome :D.
It works polling based pretty good, I would just be curious to know how
to do it for future projects.
PS:Have fun with it ;)
Description
Languages
C++
49.8%
Processing
31.7%
Makefile
9%
Java
8.1%
C
1.1%
Other
0.2%