Go to Post How are we as mentors and coaches presenting ourselves? We we are is who they will emulate. It is the nature of coaching, the nature of leading. - MysterE [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2005, 17:27
Eugenia Gabrielov's Avatar
Eugenia Gabrielov Eugenia Gabrielov is offline
Counting Down to Kickoff
FRC #0461 (Westside Boiler Invasion)
Team Role: Alumni
 
Join Date: Sep 2003
Rookie Year: 2004
Location: West Lafayette
Posts: 1,470
Eugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond repute
Teach Genia How to Program and Win a Prize

So, many people are aware of my lack of technical or programming knowledge.

However, I was so inspired today by a conversation between me and user "nehalita" that I had to create a little something to aid my progress in the technical world.

Seriously speaking, I've always been interestsed in it, but always failed before I got to the programming self-study books. So here's what I know so far.

Chocolate == chip, Oreo '= chip, but chocolate == oreo

So uh, accelerate my knowledge, so maybe myself (and some other programming inept people) will be able to follow the entire mess.

Edit: And it's a really really awesome prize!

Thanks
- Genia

Btw: With all due respect to programmers, this thread is created as a self-make fun of. I admire you guys like mad, you make the robots work . So appreciate my interest.
__________________
Northwestern University
McCormick School of Engineering 2010
Computer Science

Team 461 for life!

Last edited by Eugenia Gabrielov : 21-02-2005 at 17:36.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2005, 17:30
nehalita's Avatar
nehalita nehalita is offline
Robots are friends
AKA: tagger fanatic
FRC #1345 (Platinum Dragons); FRC# 97 (RoboRuminants)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Ft. Laud, FL
Posts: 870
nehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond repute
Send a message via AIM to nehalita Send a message via MSN to nehalita Send a message via Yahoo to nehalita
Re: Teach Genia How to Program and Win a Prize

why don't we try if-then statements.
like:
Code:
if (genia understands programming)
{
    miracle = 1; //1 means true, so there IS a miracle
}
else
{  
   normal = 1; //normal is true
}
those slashes are comment thingers so when you program, you can keep track of what you write.

SOOO what i'm saying is, if genia understands programming, then it's a miracle but otherwise, all is normal.
__________________
"Relativity applies to physics, not ethics." Thank you Einstein
MIT '10

Proud Member of H.I.L.
The PLATINUM DRAGONS are on FIRE!

Last edited by nehalita : 21-02-2005 at 18:00.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2005, 17:38
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: Teach Genia How to Program and Win a Prize

heres a good site with very very short tutorials:

www.ronsguide.com
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2005, 17:53
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: Teach Genia How to Program and Win a Prize

Quote:
Originally Posted by nehalita
why don't we try if-then loops.
That's actually not a loop, just a statement.
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2005, 17:54
nehalita's Avatar
nehalita nehalita is offline
Robots are friends
AKA: tagger fanatic
FRC #1345 (Platinum Dragons); FRC# 97 (RoboRuminants)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Ft. Laud, FL
Posts: 870
nehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond repute
Send a message via AIM to nehalita Send a message via MSN to nehalita Send a message via Yahoo to nehalita
Re: Teach Genia How to Program and Win a Prize

Quote:
Originally Posted by DarkJedi613
That's actually not a loop, just a statement.
<L on forhead>
...you're right. mistake x.x'. let me fix that....
</L on forhead>
__________________
"Relativity applies to physics, not ethics." Thank you Einstein
MIT '10

Proud Member of H.I.L.
The PLATINUM DRAGONS are on FIRE!

Last edited by nehalita : 21-02-2005 at 17:57.
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2005, 17:58
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: Teach Genia How to Program and Win a Prize

heres a simple loop

Code:
1 int amountOfLoops = 0;
2 while (amountOfLoops <= 100) {
3     amountOfLoops++; //adds one to amountOfLoops
4     System.out.println(amountOfLoops); //outputs amountOfLoops to screen
5 }
1 - Defines the variable amountOfLoops (which is just the name) as an integer equal to zero.
2 - Conditional statement saying that if amountOfLoops is less then or equal to 100 do what is within the brackets.
3 - "Increment" amountOfLoops, which just means add one to it.
4 - Prints the variable amountOfLoops to the screen (i.e. it would do 1 2 3 4 etc.).
5 - End Loop
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch

Last edited by DarkJedi613 : 21-02-2005 at 18:24. Reason: Clarification
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2005, 18:41
Xufer's Avatar
Xufer Xufer is offline
8 Seasons and as stable as ever
AKA: Working, 2/4 degrees complete still schooling...
FRC #1740 (The Cyber Colonels)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Waterford, CT
Posts: 231
Xufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to behold
Send a message via AIM to Xufer Send a message via MSN to Xufer Send a message via Yahoo to Xufer
Re: Teach Genia How to Program and Win a Prize

Quote:
Yummmmmmmm GLOMP (6:17:00 PM): hahahaha
Yummmmmmmm GLOMP (6:17:05 PM): we're working out some code
mobile xufer (6:17:29 PM): oh
mobile xufer (6:17:54 PM): just to make people laugh i made my code humerous ...
Yummmmmmmm GLOMP (6:18:00 PM): LOL
mobile xufer (6:18:13 PM): alot my variables end in izzle
Yummmmmmmm GLOMP (6:18:20 PM): hahahah
Yummmmmmmm GLOMP (6:18:21 PM): I have to see this
mobile xufer (6:18:28 PM): ill show you a section of it
mobile xufer (6:18:44 PM):
if (-1 <= leftizzle[2] < (inch*80.5))
{pwm01 = 180;}
Yummmmmmmm GLOMP (6:19:21 PM): SO CONFUSING
Yummmmmmmm GLOMP (6:19:22 PM): argh
Yummmmmmmm GLOMP (6:19:27 PM): post that on my programming thraed
Yummmmmmmm GLOMP (6:19:28 PM): and explain it
alright so heres a section of it

Code:
 
Here are the main variables
#define pi 3.14159265358979  //defines pi
#define wheel (8*pi)             //defines the circumferance of our wheels
#define wheeltick (wheel/32) // defines the ammount that the wheel moves in each tick
#define inch (1/wheeltick) // sets each tick into an inch form for ease of calculating distances
/*---------------------------------------------------*/
//basicly whats done here is reseting all the values to 0
int leftizzle[3] = {0, 0, 0};
int rightizzle[3] = {0, 0, 0};
int startposit; //not covered in this code segment, is the switch for case statements
int step = 0; // not covered in this code segment, but i do the auton in steps so that it resets its self throughout each phase
//that concludes resetting the values

/*------------------------------------------------*/
//now onto this bit of code

if (-1 <= leftizzle[2] < (inch*80.5))
	{pwm01 = 180;}
basic setup is

if (condition)
{action}

the condition here is the value of leftizzle if the value is true then the motor will go forward at the above speed
to explain the condition if the variable leftizzle[2] the second part of the leftizzle set marked by an x (0,x,0)
if leftizzle is greater than or equal to -1 and less than 80.5 inches then the robot moves forward...

hope that wasnt too confusing
__________________


If saftey is first and i put FIRST ahead of everything, then i must be the safest guy in the world.

Team 521 Alumni -- Team 1740 Mentor-- Go Go 1740!
Sometimes I think I've been doing this too long and other times I think I haven't done this enough... but all the times I'm sure I'm crazy
Photonics, It's Your Future
Reply With Quote
  #8   Spotlight this post!  
Unread 21-02-2005, 18:43
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: Teach Genia How to Program and Win a Prize

that's actually some of the messiest code I've ever seen...
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #9   Spotlight this post!  
Unread 21-02-2005, 18:53
Eugenia Gabrielov's Avatar
Eugenia Gabrielov Eugenia Gabrielov is offline
Counting Down to Kickoff
FRC #0461 (Westside Boiler Invasion)
Team Role: Alumni
 
Join Date: Sep 2003
Rookie Year: 2004
Location: West Lafayette
Posts: 1,470
Eugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond repute
Re: Teach Genia How to Program and Win a Prize

Well I figured a bit of it out!

so on Ron's Guide thingy that DarkJedi linked, you've got this # thing which means comment yes? I'm learning! But I'll keep looking

Thanks for the code. And thanks to quite a few people for helping me develop my first code which I'll edit in here in a minute or two.
__________________
Northwestern University
McCormick School of Engineering 2010
Computer Science

Team 461 for life!
Reply With Quote
  #10   Spotlight this post!  
Unread 21-02-2005, 18:56
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: Teach Genia How to Program and Win a Prize

Quote:
Originally Posted by Eugenia Gabrielov
Well I figured a bit of it out!

so on Ron's Guide thingy that DarkJedi linked, you've got this # thing which means comment yes? I'm learning! But I'll keep looking

Thanks for the code. And thanks to quite a few people for helping me develop my first code which I'll edit in here in a minute or two.
What language are you looking under? PHP is the only "real" programming language that Ron's Guides gives tutorials for.

And yes #, // and /* */ are all used to comment.

Was there any particular language you were planning on learning? If not you should think about it so you can download a compiler and mess around with it.
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #11   Spotlight this post!  
Unread 21-02-2005, 19:14
Eugenia Gabrielov's Avatar
Eugenia Gabrielov Eugenia Gabrielov is offline
Counting Down to Kickoff
FRC #0461 (Westside Boiler Invasion)
Team Role: Alumni
 
Join Date: Sep 2003
Rookie Year: 2004
Location: West Lafayette
Posts: 1,470
Eugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond reputeEugenia Gabrielov has a reputation beyond repute
Re: Teach Genia How to Program and Win a Prize

Here it is everyone! My first code! thank you to all who contributed.
Most especially darkjedi

Code:
passesLegendOfMaxOnHeavy(person) {
     if (person==Genia) {
          return true;
     } else {
          return false; 
     }
}
if(passesLegendOfMaxOnHeavy(Genia)) {
     awesome=1;
} else {
     triesAgain=1;
}
There you have it.
__________________
Northwestern University
McCormick School of Engineering 2010
Computer Science

Team 461 for life!

Last edited by Eugenia Gabrielov : 21-02-2005 at 19:21. Reason: acknowledgement
Reply With Quote
  #12   Spotlight this post!  
Unread 21-02-2005, 19:33
nehalita's Avatar
nehalita nehalita is offline
Robots are friends
AKA: tagger fanatic
FRC #1345 (Platinum Dragons); FRC# 97 (RoboRuminants)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Ft. Laud, FL
Posts: 870
nehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond repute
Send a message via AIM to nehalita Send a message via MSN to nehalita Send a message via Yahoo to nehalita
Re: Teach Genia How to Program and Win a Prize

nice job. i think you're getting it =) according to my code up there, we have a miracle =P
__________________
"Relativity applies to physics, not ethics." Thank you Einstein
MIT '10

Proud Member of H.I.L.
The PLATINUM DRAGONS are on FIRE!
Reply With Quote
  #13   Spotlight this post!  
Unread 21-02-2005, 19:44
DarkJedi613's Avatar
DarkJedi613 DarkJedi613 is offline
Running Riot
AKA: Patrick Cloke
FRC #0358 (Hauppauge Robotic Eagles) FRC #1493 (RPI/Albany High School)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Hauppauge, N.Y.
Posts: 455
DarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to beholdDarkJedi613 is a splendid one to behold
Send a message via AIM to DarkJedi613 Send a message via MSN to DarkJedi613 Send a message via Yahoo to DarkJedi613
Re: Teach Genia How to Program and Win a Prize

Wait...so whats the prize?!
__________________
2003 - 2006 President, Coach, Webmaster Team358.org
2008 Mentor, Team 1493

Team Search | (Updated: 1-16-08)

FIRSTsearch
Reply With Quote
  #14   Spotlight this post!  
Unread 21-02-2005, 19:51
nehalita's Avatar
nehalita nehalita is offline
Robots are friends
AKA: tagger fanatic
FRC #1345 (Platinum Dragons); FRC# 97 (RoboRuminants)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Ft. Laud, FL
Posts: 870
nehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond repute
Send a message via AIM to nehalita Send a message via MSN to nehalita Send a message via Yahoo to nehalita
Re: Teach Genia How to Program and Win a Prize

satisfaction
__________________
"Relativity applies to physics, not ethics." Thank you Einstein
MIT '10

Proud Member of H.I.L.
The PLATINUM DRAGONS are on FIRE!
Reply With Quote
  #15   Spotlight this post!  
Unread 21-02-2005, 20:39
Xufer's Avatar
Xufer Xufer is offline
8 Seasons and as stable as ever
AKA: Working, 2/4 degrees complete still schooling...
FRC #1740 (The Cyber Colonels)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Waterford, CT
Posts: 231
Xufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to beholdXufer is a splendid one to behold
Send a message via AIM to Xufer Send a message via MSN to Xufer Send a message via Yahoo to Xufer
Re: Teach Genia How to Program and Win a Prize

Quote:
Originally Posted by DarkJedi613
that's actually some of the messiest code I've ever seen...
yea i don't pride myself on neatness infact my code isn't formatted or even commented at all i just did the commenting for Eugenia...
__________________


If saftey is first and i put FIRST ahead of everything, then i must be the safest guy in the world.

Team 521 Alumni -- Team 1740 Mentor-- Go Go 1740!
Sometimes I think I've been doing this too long and other times I think I haven't done this enough... but all the times I'm sure I'm crazy
Photonics, It's Your Future
Reply With Quote
Reply


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


All times are GMT -5. The time now is 15:44.

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