GoBILDA's DECODE Starer Robot Good. Let's Make It Great.
Автор: Brogan M. Pratt
Загружено: 2025-10-20
Просмотров: 1697
Join the community & access exclusive robotics resources ⤵️
https://shop.broganpratt.com/
Want to work with me and get support on your project? ⤵️
https://cal.com/brogan-pratt-a4gcx7
Summary ⤵️
The GoBILDA starter robot is a fantastic resource for the FTC Decode season, but the sample code is just that, a starting point. If you're copying and pasting code from your TeleOp to your Autonomous program, you're creating more work and more opportunities for bugs. This step-by-step guide will show you exactly how to refactor that starter code using Object-Oriented Programming (OOP). We'll create separate, clean classes for your drivetrain and launcher, making your code easier to read, debug, and reuse across all your programs. This is a fundamental skill that will save you hours of frustration and set your team up for success.
Full playlist on Java FTC Tutorials: • Learn Java for Robotics (FTC)
GoBilda's Starter Code: https://www.gobilda.com/ftc-starter-b...
Note: This is not a "shot" at Gobilda, nor is it implying their engineers do not know how to program. Their goal was not to teach OOP with their design; It was to create a starting point for teams and they've done a fantastic job at this.
Note 2: This code is an improvement mostly for teleop. If you want to create a more reliable Auto, I'd suggest you work through a pathing system like RoadRunner or PedroPathing. The state machine concepts still hold true here for auto as well.
My software, tools, & deals (some give me kickbacks—thank you!):
⚙️ Tools Every Workshop Needs: https://amzn.to/47jhPDo
🚀 The Best PETG Filament: https://amzn.to/4mnNloY
🔥 Get 5% off any 2-Stage Offset Robotics Telescopic Elevator Kit with Code: COACHPRATT5 https://www.offsetrobotics.com/produc...
Why Watch?
If this is your first view—hi, I’m Brogan! TLDR: I've been teaching robotics and design for over ten years. Today, lots of people talk about robotics but I’ve noticed that very few have practical, real world ways of teaching people to create their own robots. So this channel is me chiming in and showing you what it really takes to build your own.
Hopefully I can help you improve your projects and robots, and in doing so, the rest of your life 🙏
Like, subscribe, and leave me a comment if you have a specific request! Thanks.
Chapters:
0:00 Intro
0:43 Quick Note
1:01 What is "Encapsulation"?
2:00 Gobilda Starter Code Overview
2:19 Arcade Drive Class
9:30 Drive in Teleop Class
11:22 Launcher Class
21:35 Launcher in Teleop Class
24:27 Further Resources
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: