Go to Post Well, we put it in the bag at 11:58 last night. Needless to say we had to pull guys off of it to put it in the bag. I hope we didn't miss somebody and bag him up too. - jimwick [more]
Home
Go Back   Chief Delphi > Other > Chit-Chat
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 14-09-2006, 22:21
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: New Leader Need Help, Please?

Well, if they see things as being a chore, then maybe they're not really doing what they want to do. Are people choosing to be programmers, or are you just teaching pretty much everyone programming? On our team, if you want to be on programming, you sign up at the beginning of the year and you are taught programming by our head programmer(s).

Also, on the subject of teaching C Programming, I would just first ask if anyone has any experience in programming. If that is the case, then try to teach those people things specifically about robots (analog vs. digital inputs, programming autonomous, etc.). However, if the people have little or no programming experience, start out with simple things, such as what integers are and such. A very important part of programming is knowing how the robot actually works. Show them the bot and points some important stuff out to them, like the RC with the PWMs, the motors, encoders if you have them, etc., and explain the functions of each.

Then, explain the if else statements and such. Show them the code and say what it literally means.

Example:
if (t<30)
{
pwm01 = 127;
}

Literally say to them, "This code segment means that if the variable 't' is less than 30, pwm will be set to 127." It helps a lot to say things out like that when first learning programming, because it helps them to learn the logic about it.

After you've done that, have them maybe do you some simple things like program the joysticks and all the buttons on them, if used. Don't do it for them, but give them hints like "So if this button is pushed, we want the shooter wheel to turn on." or something, and have them figure out how to write the code seg for that. You have to make them think for themselves so that when you're gone, they know what to do.

Once you've gone through some simple things like that, it might be a good idea to get out one of the old robots (maybe something with an arm, or such) and have them program the joystics again for that specific robot, and do a basic autonomous program.

When I learned how to do autonomous, our first program simply made the arm of the 2005 robot go up for a little bit, and at a certain point, go down again.

You have to let them make some errors in their programs so they will learn from them and be able to think for themselves what they need to do and debug the code.

I just learned programming about a year ago from our head programmer, and he did many things like this that made it very easy to understand and another student and I picked it up fairly well.

Best of luck!
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
Reply With Quote
 


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
hey need some help with writing a code please help me here magical hands Programming 9 01-01-2004 21:46
Nu-trons leader please read... Jeffrey Wong General Forum 0 21-09-2002 16:03
I need help, please?!?! archiver 2001 3 23-06-2002 22:46


All times are GMT -5. The time now is 00:22.

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