Go to Post If the world was like ChiefDelphi, people would be more eager to help out, offer advice and encourage each other to better things... not a bad world, that. - MissInformation [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-01-2005, 02:35
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
Talking 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
  #2   Spotlight this post!  
Unread 02-01-2005, 02:47
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
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
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #3   Spotlight this post!  
Unread 04-01-2005, 22:54
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: New Team Questions

It would be impossible to put Linux on there, as Linux can't run from flash memory.
__________________
http://www.mikesorrenti.com/
  #4   Spotlight this post!  
Unread 04-01-2005, 22:58
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: New Team Questions

Quote:
Originally Posted by MikeWasHere05
It would be impossible to put Linux on there, as Linux can't run from flash memory.
Just curious, why not?
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #5   Spotlight this post!  
Unread 05-01-2005, 07:26
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: New Team Questions

It's not actually impossile, it's just that with the limited resources, it seems excessive.
  #6   Spotlight this post!  
Unread 05-01-2005, 08:10
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
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? ).

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.
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #7   Spotlight this post!  
Unread 05-01-2005, 17:13
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: New Team Questions

Quote:
Originally Posted by phrontist
Be sure to read and understand the defualt code fully, when it is released this saturday (Excited yet? ).
You actually expect it to change much?
  #8   Spotlight this post!  
Unread 08-01-2005, 20:46
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
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."
  #9   Spotlight this post!  
Unread 08-01-2005, 20:51
Dested's Avatar
Dested Dested is offline
Registered User
AKA: El Presidente'
None #0498 (Cobra Commanders)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2003
Location: Glendale Arizona
Posts: 49
Dested will become famous soon enough
Send a message via AIM to Dested
Re: New Team Questions

Quote:
Originally Posted by nukem
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."
hehe I know that feeling. Now the reason they give you MSVS.net is so you can program other things i assume. Its not used for the robot in any way shape or form. You use MPLab to program the robot. Its a nice IDE.
__________________

2001 Team Spirit Award - Southern California Regional
2004 Sportsmanship Award - Arizona Regional
2004 Finalist - Arizona Regional Thanks (Team 696 & 80)
2004 Master Plan Award - Arizona Regional (Team 60)
2005 #4 Seed - Arizona Regional
2005 Regional Semi Finalist - Arizona Regional Thanks (Team 980 & 96)
2005 GM Industrial Design Award - Arizona Regional
2005 Highest Regional Score - 112 - Arizona Regional
  #10   Spotlight this post!  
Unread 08-01-2005, 22:10
TimeOut's Avatar
TimeOut TimeOut is offline
Registered User
AKA: Sean Kelly
FRC #0499 (The Toltechs)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: San Antonio, TX
Posts: 50
TimeOut is on a distinguished road
Re: New Team Questions

Quote:
Originally Posted by Dested
hehe I know that feeling. Now the reason they give you MSVS.net is so you can program other things i assume. Its not used for the robot in any way shape or form. You use MPLab to program the robot. Its a nice IDE.
Some teams have written their own 'Dashboard' program using the MS Dev Tools. So, instead of having the Dashboard show the Operater Interface or Robot Controller it could show your robot or the joysticks; or the robot on the play field that kind of thing.

Sean
  #11   Spotlight this post!  
Unread 08-01-2005, 23:24
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
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?
  #12   Spotlight this post!  
Unread 08-01-2005, 23:32
jparkteach's Avatar
jparkteach jparkteach is offline
Registered User
FRC #2070 (Ridgefield Robotics)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2001
Location: New York City, NY
Posts: 63
jparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to behold
Send a message via AIM to jparkteach
Re: New Team Questions

Quote:
Originally Posted by nukem
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?
NOPE, you're not using the laptop instead of the joystick. You still have to use a joystick to drive the robot. However, you can have a laptop connected to your operator interface to show you what's going on inside the robot controller. It's a nice troubleshooting tool. For more info on the Dashboard go to http://www.ifirobotics.com/dashboard_viewer.shtml
  #13   Spotlight this post!  
Unread 09-01-2005, 00:22
Kamikaze Kamikaze is offline
Registered User
FRC #0955 (CV Robotics)
Team Role: Leadership
 
Join Date: Apr 2004
Rookie Year: 2004
Location: Corvallis, OR, USA
Posts: 18
Kamikaze will become famous soon enough
Re: New Team Questions

Quote:
Originally Posted by nukem
I only run Linux myself, is it possible to program this robot on Linux?
Yes. There seem to only be proprietary tools for compiling for the robot controller but it can still work. I've had some success with using WINE to run the mcc18 compiler and the mplink program to get the thing compiled. WINE is a compatibility layer program for various platforms that allows you to run programs written for Windows.

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.
  #14   Spotlight this post!  
Unread 09-01-2005, 00:32
TimeOut's Avatar
TimeOut TimeOut is offline
Registered User
AKA: Sean Kelly
FRC #0499 (The Toltechs)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: San Antonio, TX
Posts: 50
TimeOut is on a distinguished road
Re: New Team Questions

Quote:
Originally Posted by nukem
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?
jpark is correct. It's actually a good way to troubleshoot your controller. You can 'watch'. Also, I don't want to make it sound like it's a trivial project. Unless you have a lot of programmers you are better off focusing on the robot instead of the Dashboard.

It could make an excellent off-season project however.

Sean
  #15   Spotlight this post!  
Unread 09-01-2005, 00:33
TimeOut's Avatar
TimeOut TimeOut is offline
Registered User
AKA: Sean Kelly
FRC #0499 (The Toltechs)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: San Antonio, TX
Posts: 50
TimeOut is on a distinguished road
Re: New Team Questions

Quote:
Originally Posted by Kamikaze
Yes. There seem to only be proprietary tools for compiling for the robot controller but it can still work. I've had some success with using WINE to run the mcc18 compiler and the mplink program to get the thing compiled. WINE is a compatibility layer program for various platforms that allows you to run programs written for Windows.

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.
Have you tried using VMware and the tools?

Sean
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kettering Kickoff Matt Attallah Off-Season Events 19 27-09-2004 22:40
Best team #'s minic@HYPER69 General Forum 32 04-04-2004 19:28
Loss of Gracious Professionalism Among First Teams Melissa Nute General Forum 82 31-03-2003 19:34
Competition at UTC New England Rick Gibbs Regional Competitions 6 02-04-2002 09:25
Questions from a first time team Sparky Championship Event 6 18-03-2002 16:58


All times are GMT -5. The time now is 03:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi