r/FTC • u/Low_Mission_7065 • 8d ago
Seeking Help Auto Help
How can I write and plan out better autos atm I have just been setting motor powers and sleep without IMU, what can I use to revamp my autos also is there any Path Planners I can use as well with ftc dashboard? I am completely new to FTC Programming and Robotics programming as a whole so any advice especially for auto programming would be very helpful.
7
Upvotes
4
u/FutureBrad FTC 31451|31452|32667 Coach 8d ago
Is your robot based on a kit or custom CAD?
Do you have dead wheel odometry such as pinpoint?
Is getting it and adding it an option?
What level of autonomous are you trying to get to?
There are three basic easy autos that I have recommended to all of the teams that I have mentored this year.
“SimplePark” A very basic eight points is extremely simple. Simply start in the corner near the parking spot, and drive forward for half a second and stop. You use a little bit of the parking spot and leave room for your partner, and you get leave and park point every time.
“ShooterStart” If you wanna go for 23 points, that can also be simple if your shooter is reliable. Line up your bot with the hive, and shoot for as long as it takes you to get your four preloaded pollen into the hive. Then move forward for half a second, that gets you leave and hive.
“SecondShooter” The simplest version of this is you simply line up on the backside of the hive that starts down, set either a static delay of 15 seconds, or if you’re fancy, have a way to configure the delay from the drive computer/gamepad then shoot till you fire your 4 preloaded pollen into what you hope is the tipped up hive by your alliance partner. Drive forward for half a second then strafe right for a few seconds to park. This is a great one to use when you’re partnered with someone that has a better front side auto than you.
All of these can work without having complex odometry, they all work relative to the robot’s position and rotation, so you don’t have to make versions for red or blue, and with testing, they’re all pretty guaranteed to get some points.
If you wanna do anything more complicated than that, you’re going to need odometry and path planning. I’m a big fan of pedro pathing and pinpoint. In our last meet, our autonomous team got us 28 points in all 5 matches. We are trying for 48 next week.
1
u/HuskerTheCat77 26706 Technical Mentor 3d ago edited 3d ago
Definitely would recommend getting some dead wheels. If you use blocks or on bot Java, or you don't have very experienced programmers, you can just use the dead wheel encoders to measure your movements in place of the motor encoders. If you are using Android studio I would definitely recommend you set up Pedro pathing.
My team uses the GoBilda pinpoint system (two dead wheels with an IMU) but you could also get decent results with a much cheaper system. I don't recommend 3-wheel systems though as they are generally less accurate and require more effort to set up compared to a 2-wheel + IMU