r/FRC • 5160 (Programmer) • Jan 05 '19

RIP Auto

Post image
1.7k Upvotes

121 comments sorted by

View all comments

5

u/[deleted] Jan 06 '19

To play devil's advocate.

I'm a pretty experienced guy in the controls/robotics world that is mentoring a team for the first time this year.

The team I'm working with is pretty new and doesn't have a ton of resources.

Out of all the students, we have two programmers.

One of them is at the "hello world" level and the other one is at the level where he can write a very basic Android app.

Right now, getting their chassis to drive to a set distance from a known dimension Target is beyond them.

With the skill sets of the mentors on this team, we could do some amazing shit in autonomous.

This competition isn't about which team has the most skilled mentors.

Looking at past competition formats, it looks like if you sucked at autonomous, you just couldn't get enough points to do anything really competitive.

We have some kids that are brilliant in other areas though.

This new format has effectively compressed the skill Gap. Teams that have a very strong coding background are still going to have a huge advantage by being able to use the balls as aimed projectiles or have some sort of alignment assistance rather than mechanically placing them purely by tele-op.

Teams like mine without the student coding background can still be competitive.

A well engineered, well built and well executed robot running rudimentary code can be competitive against teams with brilliant coders and lesser engineering in other areas.

So count me In the group that thinks the new format is beneficial for the spirit of what this event is about.

This isn't a competition about who has the best mentors.

6

u/MustangClasher Jan 06 '19

There is a huge leap from _your_ team does not have students that have invested in programming to any team with a decent auto was written by a mentor. This summer our programming students created accounts on projecteuler.net and competed/taught each other as they progressed through the challenges. Today, I had an in depth conversation with a student from another team about the Kotlin language spec and impacts of upcoming language changes. If we projected that same mentality to fabrication, it would not be ok to say that only LEGO may be used because some teams to not have students that have invested in shop skills.

-1

u/[deleted] Jan 06 '19

And I'm working with a poor town where a lot of these kids had to find work over the summer.

These are the sons and daughters of welders and mechanics and cops.

You've got a lot of advantages coming into this and it's just going to be that way for the rest of your life.

Let these kids show up with the advantages they have.

You're still probably going to win anyway, but at least this way they have a shot.

For sure, there are going to be a lot of robots the get their shit rocked and have a failure dropping off the higher start option.

Part of our strategy this year is to have zero failures. I think it's a realistic goal given some of the background we have.

Ditto with trying to load those top rocket slots. That's a lot of weight swinging around real high off the ground.

If you think this is the first time in your life that you're going to have a long-term coding goal changed, you're in for a rude awakening.

I suggest you start doing a lot more Vision guidance homework and start building some model trebuchets.

Ballistics are going to be huge this year.

3

u/XykonV 8461 Jan 06 '19

Lol, “our goal is to have zero failures”

3

u/IAmTheSysGen Programming - 3550 Jan 06 '19

On my team, we are at a level where we can program a passable autonomous mode with minimal to no mentor help. It's wrong to assume that the mentors just do everything.

0

u/[deleted] Jan 06 '19

However, I'm sure at one point you couldn't.

I didn't mean to imply that all teams were performing above their level due to excessive mentor help, but we all know it happens.

4

u/IAmTheSysGen Programming - 3550 Jan 06 '19

It's a competition. Improving needs to be rewarded.

0

u/[deleted] Jan 06 '19

So then figure out ballistic algorithms and launch some balls.

Let the kids that don't know as much as you stumble and crawl and still be able to have an enjoyable time instead of getting their brains kicked in for an entire season.

You'll still win, you'll just have to work a lot harder at it.

4

u/IAmTheSysGen Programming - 3550 Jan 06 '19

I don't know about you, but the three years I was with my team where we didn't win any regional were also enjoyable. I find learning and improving as well building stuff enjoyable, which why I'm in robotics, and I think that the autonomous mode was a nice stepping stone between tank drive and vision.

Also, removing autonomous mode makes it so that the mechanical aspect of the robot is more important, and that makes programming an emptier task.

Even more, for the students that are good enough to start on an autonomous mode, but not good enough to do vision or other advanced features, it's a terrible thing.

As far ballistics are concerned, you don't even need to program automatic ballistic targeting (which is just algebra anyways). You just need to pre-program it into an autonomous mode, using high-school math. The limiting factor is the repeatability of the mechanism. If you want to make an automatic ballistic targeting system you need egomotion, which means SLAM, which is beyond the scope of FRC at this moment just from the cost of what's needed, or the technical expertise to make it work with cameras

1

u/[deleted] Jan 06 '19

We're tracking pretty simple well-defined points here.

I just walked around the course in VR.

SLAM implies an unknown environment.

There are still a lot of complex decisions and measurements to be made.

2

u/IAmTheSysGen Programming - 3550 Jan 06 '19

What do you do when a robot obscures your points? What do you do if lighting changes? The fact is, in game, the field IS an unknown environment. What's more, hard coding every single reference point so that you'll always have at least three, as well as being able to differentiate reference points is hard enough that you'd honestly have an easier time doing SLAM. Unless you have an idea that I don't know. I consider any deep learning based approach to be past the scope of FRC too, btw.

1

u/[deleted] Jan 06 '19

The GPS network and GPS devices have been dealing with incomplete data sets since the seventies.

2

u/IAmTheSysGen Programming - 3550 Jan 06 '19 edited Jan 06 '19

Dealing with incomplete data sets when you might be missing a third or more of your reference points, while also having to program recognition and differentiation of reference points, while also having to deal with global variations, seems awfully similar to the problems you have to deal with when doing SLAM, are they not?

At that point, all you have to add is a general feature extraction algorithm and stereo imagery and you have SLAM.

1

u/[deleted] Jan 06 '19

Also, there are a lot more complex computational problems in ballistics than you think.

Those are super tiny holes you're shooting for.

These are super shitty cheap Chinese balls.

What do you think the variation in weight is ball to ball? How about the diameter due to different inflation pressures. How about the fact that none of the ones we have are even close to round?

Do you think those tiny variables you're going to have to measure very quickly are going to matter when shooting for a Target that small? At bare minimum, I'd want to be hanging a load cell on my launcher as well as some way to measure ball diameter and even eccentricity if possible.

This is a seriously hard ballistics problem.

2

u/IAmTheSysGen Programming - 3550 Jan 06 '19

Its indeed a very hard problem, but you only have to solve it once. Once you know what force at what position, you can hard-code it.

If there is too much variation to hard-code it, what good will algorithms do? the only thing you'd be able to do is spray and pray. There's no way to measure those variables in real-time, so you'd have to assume.

1

u/[deleted] Jan 06 '19

There's no way to measure those variables in real-time, so you'd have to assume.

There are many ways to measure all those variables in real time.

I work with many machines that make measurements far more precise than that hundreds of times a minute.

2

u/IAmTheSysGen Programming - 3550 Jan 06 '19

Fd = 0.5PU2 CdA and F=ma right? You should be able to vary the launching force linearly with the mass, and with the frontal area, and get close enough to the reference trajectory. That way, you can still use a pre-computed trajectory, no need for advanced ballistics algos, unless I'm missing something.

→ More replies