I made bunch of documentation to train new programmers for the recycle rush competition. Most of it focused on teaching java, but there are some bits on stuff like setting up a radio and whatnot. Most of it is still on our trello board that we no longer use if you want to look through it.
If you’re up for it, I’ve wanted to make YouTube videos for this stuff for a long time now. Maybe we could correspond in writing material then I can make videos explaining everything? Please PM me if you’re interested. Thanks.
Why do they need to know this in depth? Why is “Deploying Code” not closer to the top? You’re going to bore 99% of them to death. Why would I as a high school student spend my summer watching power-points on dynamic IP addressing?
Its cool to teach them everything (though most of it isn’t really necessary, just interesting to some), but get them interested first. If they signed up for “learning to program” maybe programming should be in the first few topics.
None of this is going to have any context until they start writing code anyways, so why not start with code?
Again, what does this add? How does this help them write an autonomous program? If a student shows interest in the deeper parts of how-things-work then explain it (or if it becomes a relevant lesson because of a problem they’re having).
They’re not starting Computer Engineering. They don’t need to know the networking layer right now, or how the FPGA in the roboRIO works… It’s cool and useful eventually, but* you’re just going to scare away anyone who doesn’t think they’re smart enough.*
I have mixed feelings, some disagreements and some agreements.
Learning about the hardware in the robot is important. We’re not building desktop applications here, we’re building applications that make a robot run. Students are learning to program for an embedded system, and with that comes some limitations and gotchas that don’t come with regular programming lessons. For this reason I think (2) should be included.
FMS -> If your robot is dead on the field, your electrical and programming teams will be the first port of call. Most of FMS is a black box, but things like Periodic and Iterative functions are important as they’re important for the control of your robot. I’ve taught FRC software classes before, and I’ve had many students come up to me and as “wait, so why do we run the same code over and over again? Can’t we just put it in init and it will work?”. Students need to understand how states in the robot work, otherwise their code is just plain not going to work. If you look at any child of the RobotBase class, you’ll see the words “{state}Init” and “{state}Periodic” pop up very commonly. This grants (3) a pass in my book.
(12), Network Details. Robots don’t always work, especially when they’re on the field with 6 other robots. While this isn’t as important as the other topics, and maybe shouldn’t be included in the general, introductory course (sorry op), I think it has a place in more advanced classes maybe later in the pre-season. I’d have to agree that it doesn’t belong in the ‘primer’ course.
NetworkTables. I’d recommend swapping this out for SmartDashboard in the primer, since most of the time (unless your programmers have spare time), you won’t be dealing with your own network data transport. I’d have to agree that this doesn’t belong in the primer, either.
When you’re providing a primer course to students, you’re setting the foundation for what they’ll do later on, when they start to get more in depth and more advanced. Unfortunately in FIRST, a lot of the code resources are just examples without any real explanation, which places some programmers into bad practices, or in the horrible state of knowing but not understanding. Understand first, execute second. Not the other way around.
cut for length: I do agree that a lot can be useful, and you brought up some points I didn’t think about.
My suggestion OP is that you reorder your topics. Start with what gets them hooked: writing a program, making a robot drive. Expand from there. Focus on whats the most relevant to making a robot move and work your way out. Save advanced topics for advanced students. No one starts out robot design with stress analysis and motor-curves. Programming is already scary and daunting for some students. Don’t push them out by making it harder/more complex than it needs to be.
The intent is to give a high level overview. Not to make them experts. The idea is to give them context for what they will see in the production robot code. Knowing the sequence of calls from fms helps in understanding what gets called when in the robot code.
Once the high level overview is created, I could see expanding each topic to a more in depth tutorial.
Note: the purpose is not to entertain. That is for others to work on. The purpose is: in order to understand the code, here is what you need to know. Enough to understand, not enough to program.
Sitting around watching the experienced programmers is no fun if you have no idea what they are doing.
It is an overview, not in depth. It is a one session overview, not a summer long class. The summer is for me to put it together.
Deploying code is at the end because that is the last thing you do.
The idea is: when something happens, and the programmers start looking at ip addresses, they have a context on what is being debugged. As they gain experience, when something goes wrong, they have some idea where to start looking.
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.
Sitting around watching the experienced programmers is never fun. Listening to lectures is not fun. Writing code and watching it work is fun.
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.
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.
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.
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.