Society of Robots - Robot Forum

General Misc => Misc => Topic started by: jakx12 on May 28, 2009, 12:48:16 PM

Title: need advice.
Post by: jakx12 on May 28, 2009, 12:48:16 PM
I think i just lost all my programs iv coded for my bx-24 chip. It included tabletop navigators, object avoiding etc. Sadly i havnt filmed my robot running with these programs. Should i re-write them or just forget about it :(?

jakx12
Title: Re: need advice.
Post by: galannthegreat on May 28, 2009, 01:55:48 PM
Man, that sucks. Something I find that helps when I do something like that is to write down a goal list and take on a new project to get your mind off of it. By the time you are ready to go at them again you'll have a fresh insight and maybe you'll even develop better code.  :)

Good luck, and remember to not kick yourself for this just think positive and keep on trucking! :)
Title: Re: need advice.
Post by: jakx12 on May 28, 2009, 02:17:59 PM
well im building the robotic arm soon, but i gotta get the servos etc which will take time :(
Title: Re: need advice.
Post by: SmAsH on May 28, 2009, 03:21:32 PM
if you have free time i say why not but think to yourself:
is it worth your time? will you use this code ever again?
Title: Re: need advice.
Post by: galannthegreat on May 28, 2009, 03:49:20 PM
But remember that you can use a lot of this code, in snippets or as a foundation to leech off of, for many more complex projects.
Title: Re: need advice.
Post by: jakx12 on May 28, 2009, 03:51:48 PM
the only cool stuff was the autonomous stuff, so i suppose i wont write it again, anyways there were only like 5 cool things each with about 100-500 lines of code so its not to much.
Title: Re: need advice.
Post by: galannthegreat on May 28, 2009, 03:56:21 PM
Well, do whatever you feel, and next time make copies of your programs!!! But seriously, it helps me when I write code and stupidly delete it for some strange reason. ??? But I guess we all have our "moments" and especailly when you're a guy they will never stop.

"It happens... sometimes"
                    -Forrest Gump
Title: Re: need advice.
Post by: jakx12 on May 28, 2009, 03:58:10 PM
lol, but it deleted my whole folder with them all in, im just really annoyed lol :P
Title: Re: need advice.
Post by: SmAsH on May 29, 2009, 02:11:24 AM
did it permanently delete them?
like did they go into the recycle bin?
and ALWAYS make a copy on usb or disk!
Title: Re: need advice.
Post by: jakx12 on May 29, 2009, 03:17:56 AM
it didnt like delete them directly, there was an overwriting problem which was not apparent, until i did exploraition into why all my codes were the same!
Title: Re: need advice.
Post by: SmAsH on May 29, 2009, 03:58:37 AM
ahh, so one code overwrote all the others so you ended up with them all being one
code?
Title: Re: need advice.
Post by: jakx12 on May 29, 2009, 04:47:18 AM
yes well basically, i program for a micro-controller called the bx-24. Thats the one i use. It comes with a code editor etc. In each 'project' there is a module, i would always take the default name, module1. But i didnt know that whenever i edited this module to edited all the other modules, all called module1, the default name. :(
Title: Re: need advice.
Post by: SmAsH on May 29, 2009, 05:03:21 AM
owch that's nasty...
have you ever experimented with avr's at all?
its just that i have never heard of the bx-24 before and i wondered how you got so
far with it...
Title: Re: need advice.
Post by: jakx12 on May 29, 2009, 05:13:44 AM
Well its got a really simple programming language (its like basic) and has tons of possibilities. Sadly its not that well-known. There are also books on using it and the language, so it makes learning it pretty easy. If you want to find out about it i suggest www.basicx.com (http://www.basicx.com)
jakx12