by AlexanderHWUK » Fri Jun 18, 2010 3:37 pm
by AlexanderHWUK
Fri Jun 18, 2010 3:37 pm
Hey there!
More than a solution, is a comment about your problem. I had to do a project that involved creating software to control a Robobuilder from a PC, and the first thing I tried was to edit the Robobuilder C Source code and playing around with the .hex files.
A hint from an amateur programmer, don't.
The original source code provides many functionalities that you may lose when you change it, and you risk getting lots of errors. You can try to change it if you are experienced or if there is no other way to do it.
A much easier solution for what you are trying to do (which sounds like you want the robot to do certain custom motions based on a C program), would be to create a simple program that runs in a pc, that communicates with the Robobuilder when you want it to perform a motion.
If you want to use custom motions, you can download them into the robobuilder easily and execute them as "custom" motions, instead of adding them into the hex files, etc.
If this method interests you, I can tell you how I did it for my project
http://robosavvy.com/forum/viewtopic.php?t=6016, or you could ask l3v3rz, the master that helped me on the way. He also developed an open source firmware that adds lots of cool functionalities to the Robobuilder:
http://code.google.com/p/robobuilderlib/
Good luck!
Alex
Hey there!
More than a solution, is a comment about your problem. I had to do a project that involved creating software to control a Robobuilder from a PC, and the first thing I tried was to edit the Robobuilder C Source code and playing around with the .hex files.
A hint from an amateur programmer, don't.
The original source code provides many functionalities that you may lose when you change it, and you risk getting lots of errors. You can try to change it if you are experienced or if there is no other way to do it.
A much easier solution for what you are trying to do (which sounds like you want the robot to do certain custom motions based on a C program), would be to create a simple program that runs in a pc, that communicates with the Robobuilder when you want it to perform a motion.
If you want to use custom motions, you can download them into the robobuilder easily and execute them as "custom" motions, instead of adding them into the hex files, etc.
If this method interests you, I can tell you how I did it for my project
http://robosavvy.com/forum/viewtopic.php?t=6016, or you could ask l3v3rz, the master that helped me on the way. He also developed an open source firmware that adds lots of cool functionalities to the Robobuilder:
http://code.google.com/p/robobuilderlib/
Good luck!
Alex