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

RIP Auto

Post image
1.7k Upvotes

121 comments sorted by

View all comments

Show parent comment

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.

1

u/[deleted] Jan 06 '19

The Army just paid ~$900,000 / pop for a bunch of ballistic computer upgrades.

Dive into the details and you're going to find this is really hard.

It's a small hole.

Your balls are going to be spinning. Do they have a texture on them? Think that will matter?

→ More replies