Go to Post Great teams derive from great mentors. - Barry Bonzack [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

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 28-05-2016, 11:31
jweston's Avatar
jweston jweston is offline
Registered User
FRC #1124 (The Überbots)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Avon, CT
Posts: 71
jweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to behold
Re: FRC Primer for Programmers

Quote:
Originally Posted by rich2202 View Post
As my summer project, I am going to create a power point presentation to train new programmers. Note: I am not trying to teach them Java or C++.
May I suggest a slightly differnet approach in order to avoid information overload? Start with a simple code exercise that gives an immediate result, such as making a tank drive train move forward. Let the new students create the project, write/copy the code, and deploy it themselves to see it run. Let the students make simple modifications to the code, such time or distance constants.

As you walk through this simple exercise, you can use additional power point slides to discuss some of the basics like init vs periodic and what the various modes mean. You can also use it to intro tools like the debugger. Having students engaged in a concrete example gives much richer context to what you're saying than having it in power point by itself. This is definitely a time to keep it simple.

Once you've covered what you can through that exercise, decide what you want to illustrate next and design another interactive exercise. The important parts are keep it focused and keep it interactive.

The outline you have strikes me as being great for a reference. A reference provides great value in case someone wants to do some more in-depth reading on a particular topic.

It's tempting to try to ground new students thoroughly in How It All Works. But it's so much more important to not make new students drink from the firehose of information. They will learn through guided doing.

Quote:
Originally Posted by rich2202 View Post
Sitting around watching the experienced programmers is no fun if you have no idea what they are doing.
Sitting around watching the experienced programmers is never fun. Listening to lectures is not fun. Writing code and watching it work is fun.
Reply With Quote
  #17   Spotlight this post!  
Unread 29-05-2016, 08:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: FRC Primer for Programmers

Quote:
Originally Posted by jweston View Post
Listening to lectures is not fun.
Not true as an unqualified general proposition. Some students enjoy and thrive on lectures.

But you're probably correct that most new programmers will thrive better with hands-on simple exercises to get them started and pique their interest.



Last edited by Ether : 29-05-2016 at 08:49.
Reply With Quote
  #18   Spotlight this post!  
Unread 29-05-2016, 10:57
jtrv's Avatar
jtrv jtrv is offline
github.com/jhtervay
AKA: Justin
FRC #2791 (Shaker Robotics)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Latham, NY
Posts: 145
jtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to all
Re: FRC Primer for Programmers

Quote:
Originally Posted by rich2202 View Post
Deploying code is at the end because that is the last thing you do.
I'm not sure if this is a perfect idea. I understand where you're coming from- but personally, if I sat through a lecture on a library and I wasn't shown how it deployed until the end, I would be constantly wondering and trying to figure out how it all works together until the lecturer finally shows it at the end. I'd wind up distracting myself from the more important content at hand. I think showing that it is as simple as hitting Build on whatever development setup you have going is a good thing to show at the start. Say that for now, it just sends the code to the router and compiles it or what have you, and that you'll address it more in-depth later.

Just my $0.02 as a student in the middle of many years of lectures.
__________________
2791 (2012-2017)
Reply With Quote
  #19   Spotlight this post!  
Unread 29-05-2016, 17:21
jweston's Avatar
jweston jweston is offline
Registered User
FRC #1124 (The Überbots)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Avon, CT
Posts: 71
jweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to behold
Re: FRC Primer for Programmers

Quote:
Originally Posted by Ether View Post
Not true as an unqualified general proposition. Some students enjoy and thrive on lectures.
Fair enough. I've been known to enjoy a lecture on the likes of ancient Crete or partical physics. No reason someone shouldn't enjoy an engaging lecture on the finer points on, say, control system programming theory.

I think we can agree that competitve coding as a spectator sport is not likely to take off any time soon.
Reply With Quote
  #20   Spotlight this post!  
Unread 29-05-2016, 19:15
Monochron's Avatar
Monochron Monochron is offline
Engineering Mentor
AKA: Brian O'Sullivan
FRC #4561 (TerrorBytes)
Team Role: Engineer
 
Join Date: Feb 2007
Rookie Year: 2002
Location: Research Triangle Park, NC
Posts: 890
Monochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond repute
Re: FRC Primer for Programmers

Quote:
Originally Posted by rich2202 View Post
It is an overview, not in depth. It is a one session overview, not a summer long class.
It still sounds like "one session" is going to take quite a while. If your goal is get students interesting in working on the robot programming, you may want to give higher priority to piquing that interest.

Quote:
Deploying code is at the end because that is the last thing you do.
Are they not going to deploy any code until the very end? I guess it depends what your goals are for this class. If you have students who are already programmers or who are already certain that they like programming, then you don't need to get them hooked first. And the topics you have planned are all definitely necessary if you want to build a strong programming team. But if you are hoping to grow your programming team with this lesson plan, I'm not so sure.
__________________


2016 | Innovation In Controls, Industrial Design, Quality Award, NC District - 4th Seed
Reply With Quote
  #21   Spotlight this post!  
Unread 29-05-2016, 20:01
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,165
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: FRC Primer for Programmers

Quote:
Originally Posted by Monochron View Post
It still sounds like "one session" is going to take quite a while.
Maybe 2. But definitely not an entire semester.

Quote:
If your goal is get students interesting in working on the robot programming, you may want to give higher priority to piquing that interest.
Oddly enough, piquing their interest is not the goal. Over the last few years, the team has grown from 30 to 70+ students, with 15 of them programmers this year. In the past 2 years, the programmers have been pretty autonomous of the Mentors - we pointed them in the right direction, and they did it all themselves. Unfortunately, the 2 strongest programmers graduated this year.

The goal is to make sure everyone has a high level overview of how the robot works (code wise).

Quote:
Are they not going to deploy any code until the very end? I guess it depends what your goals are for this class.
For the 1 or 2 (or whatever) number of sessions, it is purely lecture. No coding. Once everyone has a foundation of the basics, then the programmers can have at it - "Hello World" exercise, or whatever they want to do.

Quote:
If you have students who are already programmers or who are already certain that they like programming, then you don't need to get them hooked first. And the topics you have planned are all definitely necessary if you want to build a strong programming team.
That's the plan.

Quote:
But if you are hoping to grow your programming team with this lesson plan, I'm not so sure.
At this time, growing the programming team is not a priority. This year, we had too many. It was challenging keeping them all involved. I was trying to get the 2 lead programmers to become more Project Managers and divide up the tasks, but that didn't work so well. Fortunately, one is hopefully coming back next year as a Mentor. Definitely needs to be more hands off as a mentor. It will be interesting watching a College Freshmen develop management skills.
__________________

Reply With Quote
  #22   Spotlight this post!  
Unread 30-05-2016, 02:36
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 146
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
Re: FRC Primer for Programmers

Quote:
Originally Posted by rich2202 View Post
with 15 of them programmers this year.
Oof. Well there's your problem. Thankfully (or oftentimes not), on both teams I've participated on, programming hasn't been the greatest interest, so for teaching I've generally got one robot/roborio per student/2 students.

I do have to say though that a lecture on basic FRC programming would bore the crap out rookie student me. I would have remembered very little, and decided I wanted to build stuff, taken the more tangible safety certifications, and started machining/designing parts.

Thankfully, instead of a lecture, we got to write some code for an old robot and make it run. I've found that this strategy works rather well in general. It means the student is more willing to read documentation on their own with the idea ahead that it will lead to more of the robot functioning. I say this having both trained my successors for two years as a student and mentoring a team through it's switch from LabView to Java.

Of course, I doubt many teams have ceil(15/2) = 8 mostly identical robots to program on, so you're in a bit of a pickle. If I was in your situation I might have broken up the students into several sessions so they could all take a crack at making a robot work.

However I am not in your situation. Best of luck.
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 13:06.

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