![]() |
Re: Programming FAQ
Right now for my team I am the only ""programmer"" so we are using the same code from last year to run the new one, but the computer that held it crashed and our back up is sitting on a college freshmen's desk.
Q. is there anyway to "uncompile" the code directly from the controller? or do i have to start from scratch? |
Re: Programming FAQ
Quote:
|
Re: Programming FAQ
Quote:
Once the code is compiled (which is the state the downloaded code is in), it's stuck that way. There are few ways to decompile it back to the original C code it was compiled from. I'm afraid you're stuck. |
Re: Programming FAQ
Quote:
|
Re: Programming FAQ
I just have a quick question. How do you load a program into an old robot controller that does not have the "prog"ram button? :confused:
|
Re: Programming FAQ
Quote:
Those were programmed in PBasic from Parallax not C and used an entirely different editor/compiler/downloader. It worked without the need for a "program" download button. Let me find some references for you... Most of what you need can be found here: http://www.ifirobotics.com/first-legacy.shtml under Documentation for 2001 - 2003 The default code with drive capability and the Editor that also downloads the code is available there, as well as documentation that describes what you need to know to get started. Another useful site is: http://www.parallax.com In particular: http://www.parallax.com/html_pages/...basic_stamp.asp for the latest Editor and http://www.parallax.com/html_pages/...basic_stamp.asp for in-depth PBasic user guides. __________________ |
Re: Programming FAQ
Thank you very much. I will try those links and see what I can get.
|
Re: Programming FAQ
Isn't asm the same thing as machine code? The only difference is your mov or w/e is replaced with a number.
|
Re: Programming FAQ
Quote:
|
Re: Programming FAQ
Our team tried to load code from last years robot it doesn't work for some reason. One of leaders thought he saw something about not being able to use previous code on the 2007 controller. Anyone seen that rule/had problems/ideas?
|
Re: Programming FAQ
Quote:
For debugging purposes, the 2006 code can be loaded into the 2007 controller. However, <R76> prohibits you from reusing code from 2006 in your 2007 competition robot. Regards, Mike |
Re: Programming FAQ
Quote:
|
Re: Programming FAQ
hi
i need help on getting started on the drive code, i was on the team last but wasn't in charge of drive code and im a little lost on how to design it.Our main programmer and mentors have been busy recently and unable to help me. if some one could give me some help on at least some sort of outline of the code i should be able to figure it out from there i dont need anything crazy just so the robot can move and turn thanks confused programmer |
Re: Programming FAQ
Try going through the default code description in the Programming Reference Guide . It's from 2004 but everything still holds true.
|
Re: Programming FAQ
Quote:
|
| All times are GMT -5. The time now is 08:25. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi