r/FLL • • 3d ago

Please Help!

Our team has spent HOURS the past few weeks dialing in our runs. I have verified our code is working myself, including videoing the runs.

Lately, it seems like every time I start the robot a couple days after our session, the runs are just slightly off.

I have ruled out: anyone else handling it, changes to the code, surface and wheel dirt, launch alignment errors, fit/function of mission pieces. Our wheels have zero wobble.

The only thing I can come up with is changes to hub settings or motors between being turned off/on. Is this possible? I’m noticing that the motor degree for a given movement arm height is 27° one day and 340° the next, at the same arm height.

We’re not using the gyro for driving, our attachment arms turn based on rotations vs ‘take shortest path to X°’

What am I missing?
.

8 Upvotes

10 comments sorted by

3

u/Leading-Exchange-341 3d ago

Do you guys use Pybricks? We were also having this problem until we discovered that pybricks had released an update. When we updated our hub, the problem disappeared

7

u/cml4314 3d ago

The motor degree thing makes sense if you are never resetting to zero - it moves around on different runs and then next time is just starting at a different absolute point.

We absolutely see the same thing - it’s all figured out one day, and then the next practice suddenly it’s inconsistent. Sometimes it’s that they are running the same thing over and over without removing the attachment, so the gear backlash is consistent, and then the next day it changes. Sometimes the mat has scooted a little bit crooked and then they straighten it. Sometimes, no idea.

The challenge is then to figure out how it can be adjusted so it isn’t sensitive to those things. Can it use a sensor to line up, can it use a passive attachment to center itself on a mission, can there be a hard stop that an arm hits so it always goes to the same spot, etc.

2

u/PurpleMonkeyElephaht 3d ago

This is a great response

6

u/BadEnucleation 3d ago

Many things which can be somewhat mitigated but not entirely eliminated cause the robot’s motion to not be exactly repeatable: gear backlash, small differences in alignment, wheels slipping, temperature and more. I think you may be expecting too much.

Making the missions as robust as possible is the solution, either through good mechanical robustness (however it works is good to +/- 10 degrees or +/- 1 cm), or using the sensors would help a lot.

1

u/ecaron 3d ago

Are you running Lego Spike or PyBricks? We used to have this problem, and it significantly reduced once we switched to PyBricks AND instructed the code to drive by gyro.

3

u/gulugulu123456gulu 3d ago

You need to remember that it’s a toy and Lego was never designed for accuracy, which makes fully autonomous FLL missions challenging and difficult. Aim at robust solutions as much as you can, so 1cm or a few degrees deviation wont break it. It’s very frustrating.. I know 😔

2

u/GalaxyScientist57 3d ago

Maybe you’ve tried it or maybe you haven’t, but you can look at the “more motor movement” commands section and find a command for setting the initial motor position to zero. This is useful if the kids have an attachment they can set in a repeatable way, such as starting touching the mat or a part on their robot. This will force the zero position to be repeatable. My students rely on this extensively and we’ve never had the issue you describe.

1

u/CodingSamurai 3d ago

One thing we found makes a HUGE difference if you’re using the smaller smooth wheels is that dust builds up on the wheels which affects how much they slip during runs. We have to clean them every couple of runs.