Go to Post Oh, for the love of cod, can't you see that Dave is messing with us just for the halibut? When the actual clue comes out, I'm sure we'll all be singing a different tuna. - Pat Fairbank [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
  #16   Spotlight this post!  
Unread 15-04-2005, 12:14
Tazlikesrobots's Avatar
Tazlikesrobots Tazlikesrobots is offline
Jack of all trades...Master of none
AKA: Robert
FRC #1745 (P-51 Mustangs)
Team Role: Coach
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Rowlett, Texas
Posts: 205
Tazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud of
Send a message via Yahoo to Tazlikesrobots
Re: Teaching "C" to 2006 students??

I would welcome the idea, considering some teams do not have resources with knowledge of C. I love the idea of some sort of autonomy during the competition, but I think it has created a programming gap among teams. Any tool that can help bridge that gap will be well received by anyone.

My dream is to see a tool similar to the Lego Mind storms RCX, where the students create a basic program using a flow chart like layout and have the code generated in the background. Then the student can look at the code and get an idea on how it all fits together.
__________________
It is all mind over matter....If you don't mind, it does not matter.
_________________
2006 Woodie Flowers Award Recipient - Lone Star Regional
2006 Rookie All-Star - Lone Star Regional
2007 Lone Star Regional Champions
2008 Quarter-finalist - Lone Star Regional
2009 Chairman's Award & Website Award - Dallas Regional
2009 Quarter-finalist - Dallas Regional
2010 - Xerox Creativity Award & Semi-finalist - Dallas Regional
  #17   Spotlight this post!  
Unread 18-04-2005, 14:26
cbolin's Avatar
cbolin cbolin is offline
Programming & Electrical
FRC #0342 (Burning Magnetos)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Charleston, SC
Posts: 72
cbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to behold
Re: Teaching "C" to 2006 students??

Hi,
I am encouraged to write this program now. Time permitting, I'll start putting it together in stages.

With regards,
ChuckB
__________________
Team 342 Programming & Control Systems
Good luck and have fun!
  #18   Spotlight this post!  
Unread 18-04-2005, 20:23
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,284
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Teaching "C" to 2006 students??

Well I have been thinking about the same kind of thing. I just taught my self to program this past summer. However I will graduate after next season and since none of the other students or mentors have even looked at the code I have been given the task to teach some one every thing that i know ( which is just enough to make the bot drive and to do dead reckoning) However I will attend all of the programming conferences this year and hope to learn something. If any one is interested in meeting to discuss this topic let me know and maybe we can organize something even if it is dinner at Mc Donalds one night
  #19   Spotlight this post!  
Unread 19-04-2005, 01:34
Avarik Avarik is offline
Registered User
#0022
 
Join Date: Jan 2004
Location: Chatsworth, CA
Posts: 75
Avarik is an unknown quantity at this point
Re: Teaching "C" to 2006 students??

I suggest letting the programmers loose on an old robot, if one is available. Have them start with modifying things, and then move to writing their own code.

Edubots are a good alternative, but there are major differences between that and the FRC - so only use it if you dont have anything else.
  #20   Spotlight this post!  
Unread 19-04-2005, 07:22
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Teaching "C" to 2006 students??

Quote:
Originally Posted by cbolin
Great feedback!


I can work with OpenGL in VB6 pretty good...maybe we can make a 3D bot. ;-)

Thanks and regards,
ChuckB
Kinda off topic, but I'm a VB6 programmer and 1) would love to (try to) help with any project like this and 2) learn how to use OpenGL in VB6! I'll try my hand at this after Atlanta and post if anything works well. E-mail me.
__________________
Aren't signatures a bit outdated?
  #21   Spotlight this post!  
Unread 20-04-2005, 08:54
703pascal 703pascal is offline
Pascal
AKA: Pascal Carole
FRC #0703 (Phoenix)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Saginaw, MI
Posts: 10
703pascal is on a distinguished road
Send a message via AIM to 703pascal Send a message via MSN to 703pascal
Re: Teaching "C" to 2006 students??

One thing I've noticed is that most people with very little programming experience tend to know a simple language such as BASIC. I propose that we also make a Pseudo-code to C translator of some type. This won't work for everything of course, but for someone who isn't exactly comfortable with C syntax, they'd just have to type out the logic and have it translated for them. Oh, and also, this is my first year w/ FIRST (I'm currently a junior in High School) and I haven't spent much time on the forums, but I intend to a little more next season. I wouldn't mind helping out with this project because I'm going that have to train a bunch of people to program next year anyway. Good effort, keep up the good work.
  #22   Spotlight this post!  
Unread 20-04-2005, 10:36
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Teaching "C" to 2006 students??

Quote:
Originally Posted by cbolin
Hi,
I am encouraged to write this program now. Time permitting, I'll start putting it together in stages.
ChuckB
WOW!!!
Chuck, where do I begin??

First with me. 2005 is my rookie season. I am one of our teams mentors and their Engineer. Until this year, I have had ZERO programming experience. Consequently, we had no autonomous mode this year, but with a little help from another local team at the Sac. Regional, we were able to get a minor modification to the code completed in time to compete.

Sense that time, I have poured of the FRC code, read the 2004 programmers guide and read "Absolute Beginners Guide to C" by SAMS.

Now I "feel" comfortable enough to start working with C, and teaching our students. As you might guess, I could use any and all the tools mentioned in this thread. I have come up with several ideas, written a few mods, but have yet had a chance to test them. This environment, and the others mentioned, could be the key to our teams (and countless others) future success.

My goal is not to do the programming for this team, but to kick start some young minds and help them see what they are capable of achieving.

If there is any input I can add, help I can provide or just encouragement, please let me know! I think this is awesome!
  #23   Spotlight this post!  
Unread 20-04-2005, 13:38
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: Teaching "C" to 2006 students??

Quote:
Originally Posted by 703pascal
One thing I've noticed is that most people with very little programming experience tend to know a simple language such as BASIC. I propose that we also make a Pseudo-code to C translator of some type. This won't work for everything of course, but for someone who isn't exactly comfortable with C syntax, they'd just have to type out the logic and have it translated for them. Oh, and also, this is my first year w/ FIRST (I'm currently a junior in High School) and I haven't spent much time on the forums, but I intend to a little more next season. I wouldn't mind helping out with this project because I'm going that have to train a bunch of people to program next year anyway. Good effort, keep up the good work.
Hm... interesting idea. This could be a very cool tool, even for those of us "experienced" in C. I've currently got a few other projects going on, but this is definitely going on my summer list...
__________________


Last edited by Ryan M. : 20-04-2005 at 13:39. Reason: Speelin'
  #24   Spotlight this post!  
Unread 20-04-2005, 16:23
JP_1163's Avatar
JP_1163 JP_1163 is offline
mentor
#1163 (Trojan Horses)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Faulkton, SD
Posts: 90
JP_1163 will become famous soon enoughJP_1163 will become famous soon enough
Re: Teaching "C" to 2006 students??

Mentor has no computer programming experience.
Program has very limited budget.
Any assistance would be greatly appreciated.
Let us know how we can participate and/or work with team programmers who are willing to offer support.

Thanks
Team 1163
  #25   Spotlight this post!  
Unread 21-04-2005, 16:36
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
Re: Teaching "C" to 2006 students??

Those of you who have talked about using vex controllers, have any of you figured out a way to program the vex robot? If so I am very interested.
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist

  #26   Spotlight this post!  
Unread 25-04-2005, 23:06
703pascal 703pascal is offline
Pascal
AKA: Pascal Carole
FRC #0703 (Phoenix)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Saginaw, MI
Posts: 10
703pascal is on a distinguished road
Send a message via AIM to 703pascal Send a message via MSN to 703pascal
Re: Teaching "C" to 2006 students??

The programming module for Vex robots won't be released until August. Currently there is very limited programming available.
__________________
team703.com
  #27   Spotlight this post!  
Unread 26-04-2005, 10:17
cbolin's Avatar
cbolin cbolin is offline
Programming & Electrical
FRC #0342 (Burning Magnetos)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Charleston, SC
Posts: 72
cbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to beholdcbolin is a splendid one to behold
Re: Teaching "C" to 2006 students??

Hi,
We have a couple of interesting programs (some complete and some in progress). Here is a brief description and the source code in VB6. Please use as you please.

1) We connect our PC to the dashboard connection on the OI panel. We drive the robot for 15 seconds on a test field/floor and operate arms. Motions are slow and deliberate. Using pwm01 - pwm04, these four values are captured each second. The program automatically generated C code. This has worked with some success. This is our teach mode. (See CCodeGen.zip)

2) We have another program in two parts. We must finishing gluing them together. :-) One part consists of four timing diagrams showing 15 seconds on the X axis and 0 to 255 on the Y axis. A mechanic (Non-programmer) selects appropriate pwms... and clicks on the graph to build a timing diagram. For example, pwm01 and pwm02 are left/right motors. Make them run for 3 seconds at a value of 200. Then return to 127. (See auto_gen_...zip)

Now, click one button (a single button only)...and wham! The timing diagram data is converted to C code, incorporated into a C file, the code and all the C modules are compiled, linked and loaded. Voila! The mechanic can now program autonomous modes more easily.

This project has the graphs complete and the one button thing complete...need to work on the C conversion and incorporation.

3) Our C translator program --> Virtual Code to control a Virtual Robot for 15 seconds. Can parse most C code now...must figure in arrays, structures and next if..else if loops. Virtual robot turns. Working on movement now. (See Translator_C...zip)

This is what we have been working on. Our team will be meeting two Saturdays each month during the remainder of the year. We hope to polish these programs into something really useful and friendly by kickoff 2006. (With lots of testing using this year's robot).

Regards,
Chuck B.
Attached Files
File Type: zip CCodeGen.zip (15.5 KB, 34 views)
File Type: zip auto_gen_03_14_05c.zip (17.8 KB, 25 views)
File Type: zip Translator_C_04_18_05c.zip (23.3 KB, 28 views)
__________________
Team 342 Programming & Control Systems
Good luck and have fun!
  #28   Spotlight this post!  
Unread 06-05-2005, 22:25
dpick1055's Avatar
dpick1055 dpick1055 is offline
David Pick
FRC #1739 (Chicago Knights)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2004
Location: Chicago
Posts: 75
dpick1055 is on a distinguished road
Send a message via AIM to dpick1055
Re: Teaching "C" to 2006 students??

This looks like a great idea. I come from a team with an extremely limited budget and very little interest in the team (around 10 students). Unfortunately the only other student with some programming background is graduating this year and we do not have a sponsor. Tools like this would be very helpful to our team. Keep up the good work!
  #29   Spotlight this post!  
Unread 18-05-2005, 12:10
Element97x's Avatar
Element97x Element97x is offline
Registered User
AKA: Dan Tod
FRC #0097
 
Join Date: May 2005
Location: Abington, MA
Posts: 1
Element97x is an unknown quantity at this point
Send a message via AIM to Element97x
Thumbs up Re: Teaching "C" to 2006 students??

Quote:
Originally Posted by cbolin

I would like software that allows the student to write legal autonomous "C" code and to test it with a 'virtual robot'. The program would be friendly to the newbie programmer and not intimidating. I want them to be able to open and run sample programs as well as writing and saving their own examples. They could take this home. It would include a "C" programming tutorial and "Autonomous" tutorial so they could self-study. Further, it would be cool if this program could be made available to all teams for free that needed it.

ChuckB

I tried the robotEMU2 and its good if you know about how the pmw's work, because i know how to c program but not for the first program robots so if there was like an acual picture of a robot or something you could test out and watch or control almost like a video game that would be great! because after I learn how to program Id even use it to practice over the summer.
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
Students design robots, beneficial technology Billfred FIRST In the News... 0 07-02-2005 01:32
Best Robot Ever(again) Corey Balint General Forum 26 04-08-2004 23:03
Competing students sickened by virus Brandon Martus FIRST In the News... 3 07-03-2004 21:23
Need help inspiring students? Anthony Towne General Forum 2 07-10-2003 06:29
Qotw [12-01-02]: policy on students... Ken Leung Rumor Mill 11 06-12-2002 15:38


All times are GMT -5. The time now is 04:05.

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