Go to Post OooooohhH! OOOOooohh! Can I start the 2009 thread yet? Huh? Can I? Can I? - dlavery [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 22-01-2006, 19:25
sjung9442 sjung9442 is offline
Student Mentor
FRC #0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Hampton, VA
Posts: 17
sjung9442 is an unknown quantity at this point
What is the first step for programming?

Our programmers are all first year students. And our programming mentor is "Out of country" so, we can't do anyting right now.
What is the first step for programming? We have to do someting before our mentor gets back from the trip, but we are not sure.
Which part of program do we have to look at? And where should we start?
We played with camera little bit, but that is all we did so far.
  #2   Spotlight this post!  
Unread 22-01-2006, 19:33
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: What is the first step for programming?

Quote:
Originally Posted by sjung9442
Our programmers are all first year students. And our programming mentor is "Out of country" so, we can't do anyting right now.
What is the first step for programming? We have to do someting before our mentor gets back from the trip, but we are not sure.
Which part of program do we have to look at? And where should we start?
We played with camera little bit, but that is all we did so far.
Whoa it's tough if you don't have any programmers there to help. Is your robot built enough to drive yet?

I would strongly suggest using EasyC to build your code. In the Help section are tutorials. Walk yourselves through those and see how your robot behaves. Most importantly, if you are testing your code on the robot, make sure you have it up on blocks so that the drive wheels aren't in contact with anything. A 100 pound out of control robot can be dangerous! Take small steps and see how your robot reacts to each change. Trying to get it all programmed at once won't work. If your bot isn't ready to go yet, just run through the tutorials to at least get yourself acquainted with EasyC, skipping the parts that instruct you to compile and download.
  #3   Spotlight this post!  
Unread 22-01-2006, 19:49
pwilczynski's Avatar
pwilczynski pwilczynski is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 1993
Location: Connecticut
Posts: 52
pwilczynski is on a distinguished road
Re: What is the first step for programming?

If you have the resources, you might want to try and set up a motor board with maybe three motors, speed controllers, robot controller, battery, backup battery, sensors and maybe a servo. By using this instead of a robot you will be able to test all of your code before the robot is built and move very slowly through the process without havingyour build team hanging over your backs and trying to build stuff.
As for software, I would also go with EasyC, at least for the start. If you want to dive into the more complicated stuff, the default code is already programmed for two joystick control and certain other buttons doing other things. If you have any questions or comments, just post them. I'm sure you will get plenty of support.
  #4   Spotlight this post!  
Unread 22-01-2006, 20:25
scitobor 617's Avatar
scitobor 617 scitobor 617 is offline
More nerd than you can handle!
AKA: Alan Meekins
FRC #0617 (HSHS 617 "DUKE")
Team Role: Programmer
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Richmond, VA
Posts: 153
scitobor 617 will become famous soon enoughscitobor 617 will become famous soon enough
Send a message via AIM to scitobor 617
Re: What is the first step for programming?

As a pre-EasyC and mentorless programmer I would advise you to try jumping into C and the default code first. I would suggest reading a C tutorial(heres a good one ) then read the 2004 programming reference guide. If you have never programmed before this may be a difficult course but I believe it will provide you with greater understanding. Whatever development route you take, I would suggest trying to setup a test board, as previously stated, and/or try reprogramming an old robot(if you have any).
__________________
Beta testers needed!
http://www.nullagent.no-ip.com

Your kidding, there are other operating systems besides Linux?!
  #5   Spotlight this post!  
Unread 22-01-2006, 20:47
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: What is the first step for programming?

One way to start is to think about what your robot does and figure out what the various outputs (motors, servos, pneumatics, etc.) and inputs you have. From there, build a list of things which you want to do code-wise, and put it in order of priority. For instance, our team this year might have a list which looks something like:
  1. Drive
  2. Automatically track goal using turret
  3. Auto-range finding
  4. Autonomous

After you have a list which includes the major things you plan on doing, break the highest priority one down into smaller, easier to manage parts and implement those in order. Going off of my example, here's what you might have for "Drive:"
  1. Simple 1-to-1 joystick-to-drive train mapping
  2. Encoder tracking
  3. PID controller

Once you get basic driving working, you can begin to move on to something which may be less critical, but still important. If you have multiple people, you can multitask, by having one person work on one subsystem, someone else on another, etc.

Basically, the easiest way to approach writing code for your robot (or any computer), is to break it down into easily manageable pieces which you stick together to make your more complex system.
__________________

  #6   Spotlight this post!  
Unread 22-01-2006, 21:23
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: What is the first step for programming?

These taught me the default code back in 2004, and I see no reason why they shouldn't do the same for you.

http://team195.com/documents/FIRST_C..._Presentation/

(Look through them in order. Don't just skim them. Hit the play button (F5) and listen to the voice over. It really helps to hear it and see it.)
  #7   Spotlight this post!  
Unread 22-01-2006, 21:54
sjung9442 sjung9442 is offline
Student Mentor
FRC #0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Hampton, VA
Posts: 17
sjung9442 is an unknown quantity at this point
Re: What is the first step for programming?

Thank you all of you for what you have done.
I guess we have to work on drive control first. Motors and speed controllers.
I will look on Easy C little bit more. I liked the program but did not know how to use it. If there is a tutorial, I will try to use that to learn how to use that program. We may be first year programmers in FIRST Robtics, we are good programmers, so I think we will be fine. We just needed some first step guide. Thank you again to you all.
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
A new step in collaboration: FIRST Programmers' Guild Tom Bottiglieri Programming 48 15-02-2006 14:46
Taking the animation problems a step further... Penguin 3D Animation and Competition 7 10-03-2005 15:10
JVN step aside... TAS is now officially famous! Aidan F. Browne General Forum 13 22-08-2004 11:54
Going over 6 inch step with 12 inch wheels Joe P Technical Discussion 25 12-04-2004 11:15


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

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