![]() |
New Team Questions
Hey our team was just setup, team 1676, and this is our first year doing anything like this. I have alot of Linux(kernel hacking and configing everything, heh gentoo user) and programming experience, mainly OpenGL game development stuff. Because of all this I have been chosen to lead the group's programming efforts. I have a few questions to the experienced robot programmers out there. What OS is on the robot? If there is none or its horrible can I put embedded Linux on it? I only run Linux myself, is it possible to program this robot on Linux? Is there some sort of emulator I can get so I dont have to be with the robot, or it dose not have to be fully built for me to test?
Thanks nuke |
Re: New Team Questions
OK first, yes you can program this robot using Linux. Visit http://kevin.org/frc/ and you should find some more information. For starting off, I highly recommend the documents on http://www.innovationfirst.com/FIRST...umentation.htm
And then if you are advanced enough you can look at this page, but only if you are a really core programmer. Otherwise innovation FIRST is the best place to start. To answer another part of you question, there is no OS on the robot controller. It is a microchip which understands C and assembler. Search, Read documents and get a feel of what our robot controller(microchip product) is. Its might not be such a good idea to try to go as far and put Linux on there or something, Search, Read documents you can find and you will get a feel. A warm welcome to the ChiefDelphi online community and one more suggestion, next time before you post, use the Search function before you ever post, because most of your questions are already asked regarding programming. If you cant find it, then post, we will be most glad to help. -Bharat |
Re: New Team Questions
It would be impossible to put Linux on there, as Linux can't run from flash memory.
|
Re: New Team Questions
Quote:
|
Re: New Team Questions
It's not actually impossile, it's just that with the limited resources, it seems excessive.
|
Re: New Team Questions
These are microcontrollers, and essentially their beauty is in their lack of operating system. If you really like tweaking your system, you'll LOVE have total control over this processor. Do you know C well? If not, learn it (see this helpful page on FIRSTwiki). I highly reccommend "The C Programming Language" by Kernighan and Ritchie, because it's very well written and is essentially THE book on the topic. It's also a really great refrence.
This is not actually "normal" C, but rather C18, a stripped down version. It's actually quite close to normal C, and has everything you need. All the information on the C18 standard (and it's use on the microcontrollers) you could ever need is in the whitepapers here. Be sure to read and understand the defualt code fully, when it is released this saturday (Excited yet? :D ). When you're feeling confident, go to the whitepapers section of this site and read the paper on interrupts, which is really great. The quaderature whitepaper is also useful. If you need any help, IM/Email me without hesitation (click on my username above to get contact info). Oh, and while it's not terribly useful right now, the Code Repository will soon be very useful. Glad to have you on board. |
Re: New Team Questions
Quote:
|
Re: New Team Questions
heh thanks for your responses! Im a real n00b at this, I thought it had to have an os just like most electronic devices do(pda cell phone router ect). Now that ive really looked at the source and went to a course today I understand it now. Writing the code should be easy, I might write my own base code and base it off the default so I can tweak the hell of out of it. Ive been doing C/C++ for years. Once we opened the kit today and went through all the parts it came with MSVS .net, jw why would we need that since its an ia32(maybe x86_64?) compiler? Just for the IDE? Anyway im probably going to code on my thinkpad since our school computers tend to uhhh never work espcially when you need it and the adminitrators will fix it "when they get to it."
|
Re: New Team Questions
Quote:
|
Re: New Team Questions
Quote:
Sean |
Re: New Team Questions
TimeOut: Do you mean some teams instead of using the joystickes would use a laptop? I have a whole graphics engine, so it could be possible for me to do that. The only problem is my laptop only has an ATI Radeon 7500. Could you explain further please?
|
Re: New Team Questions
Quote:
|
Re: New Team Questions
Quote:
I can probably give you a makefile to use to compile stuff later. I modified some makefiles posted on Chiefdelphi (from the thread about cygwin RC development) a bit to use WINE and run on Linux, but that was for the 2004 code. Because there's a newer compiler Microchip is providing us with and the 2005 default code I will likely have to make a few changes. |
Re: New Team Questions
Quote:
It could make an excellent off-season project however. Sean |
Re: New Team Questions
Quote:
Sean |
| All times are GMT -5. The time now is 02:50. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi