Тёмный

MA Control Award Winner | Wolfpack Machina 18438 

Wolfpack & Lupine - Waring Robotics
Подписаться 2,3 тыс.
Просмотров 11 тыс.
50% 1

Winning control award video submission for the remote MA FTC state tournament in May
Our second channel (more videos of our robots): youtubetoo.brickwolves.com
Waring School (Grades 6-12): www.waringschool.org/wip
Our Social Media
Instagram: @waring_robotics
Twitter - @waringrobotics
Our Website - wolfpackmachina.com
Reddit - u/brickwolves - / brickwolves

Наука

Опубликовано:

 

4 авг 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@andreicopaci6878
@andreicopaci6878 3 года назад
Incredible programming!
@spidernh
@spidernh 2 года назад
Hi, I commented on this video about 4 months ago and got a lot of responses from you guys, thanks for that. Using those responses and also looking at your code my team did great this season, we also got 3rd place control award at states (out of 72 teams). I have a few more questions so I can try and get my team to have an even better auto next year. 1. How do you strafe in autonomous consistently, and how do you measure how much you're strafing? 2. Do you correct for turning slightly while moving, and if so how do you do that while still driving the correct distance? 3. How do you combine moving and turning? Thanks, I really appreciate your responses on my last comment and I think these are the only questions I have left to have a better auto. I'm also trying to not use any libraries since I think doing everything yourself is better for control award.
@roninricker3322
@roninricker3322 3 года назад
Ok. I think I understand. The big word thingy makes the rest of the stuff do the other big word things to get 743 points.
@theclueless11212
@theclueless11212 3 года назад
How did you control the shooter hood angle? I see how you calculate the component of the robot's velocity perpendicular to the goal, but how do you convert that to a hood angle? Do you just assume the robot's velocity will be imparted onto a ring that is shot, so, based on the time-of-flight of the ring, you aim the hood (perpendicular_velocity * time-of-flight) inches to the side?
@eitanpaster5692
@eitanpaster5692 2 года назад
crazy!!!
@dimitriecudrici3881
@dimitriecudrici3881 3 года назад
Mind if you share the code for the kinetic energy turns ? It looks amazing
@spidernh
@spidernh 3 года назад
Wow, this was a really nice video. I have some questions though. 1. How does your autoaim work? Does your robot calculate a desired angle based one the position of the target on the high goal in the vision? 2. Is the adjustable hood mainly just for adjusting minor differences, when the robot is still turning? Like if the robot wasn't aiming exactly at the goal, the hood would go either in or out to compensate as it turned? 3. How do you aim at the powershots? I understand it's vision, does it kind of offset the position of the target then aim at that new position? 4. How do you control your robot without odometry with a good auton like this? From what I've seen of comments on other videos you don't use odometry, so I'm mainly curious about how your turning and moving are so precise. With our team this year our autonomous was reliant on luck, since we had issues with gyro drift, wheel slippage, and one half of the wheels moving slightly faster when moving forward, causing the robot to turn. If you had these issues, how did you solve them? Also for us strafing is really inconsistent, that may be due to the wheels we use, since we use a modified tilerunner chassis with non-gobilda wheels (not sure what wheels). 5. What exactly are kinetic-energy turns? To me that just seems like the D in PID (I haven't used PID in a while, I think that's what accounts for velocity). 6. Why do you need encoders on your intake? Is it the intake rollers or is it for the motor that extends the intake down? Overall though, the video explained things really well, I just really want to good next year, so I'm trying to understand stuff a lot more.
@spidernh
@spidernh 3 года назад
wait this was a long comment, sorry to whoever is responding, if someone responds
@owen9573
@owen9573 3 года назад
@@spidernh lol no worries thanks so much for the questions, gimme a minute ill go through all these
@spidernh
@spidernh 3 года назад
@@owen9573 I have a feeling it'll take more than a minute lmao
@owen9573
@owen9573 3 года назад
1. Yeah thats exactly right, essentially our vision finds both blue boxes on either side of the ultimate goal vision target and averages them to find the position of the center of the goal in frame. then it converts the x pixel coordinate of that into an angle, which is then fed into the pid system to actually physically turn the robot 2.Yea the two main purposes of the hood are 1: what you said for adjusting minor differences and then also 2: for aiming while moving, as it can move to compensate for the robots velocity (eg. shoot rings further to the left if the robots moving right). we just found the pid system didn't hold up well enough while moving to do this 3. powershots is a whole bunch of trig that I cant hope to explain in a youtube comment but I can send a picture if you want. Essentially yes it is using the same angle measurement from the high goal autoaim and then working off of that, its a bit more robust than just an offset though because it takes into account how far the robot is away and stuff like that and actually aims to a point on the wall where it calculates a power shot is, instead of going a set amount of degrees away from the high goal 4. I think the main thing that really helped us with this was both accelerations and decellerations. they help a ton to reduce wheel slippage and any sort of weird jump that wed otherwise get from starting or stopping at full power. we definitely saw some gyro drift too but it was never really enough to mess anything up during just the 30 seconds. strafing was also noticeably less consistent for us so we tried to avoid it for the most part unless it was something that didn't need much accuracy 5. kinetic energy turns are something that we only use during teleop, and they modify the target angle of the pid while the driver is manually turning the robot. For example, if the driver is spinning the robot at full speed and then stop providing input to the controller at 95º, then the code calculates the kinetic energy of the robot at that moment by measuring the rate of change of the gyro, squaring it, and then multiplying that by the robots moment of inertia (which is a constant that we found through testing). Then it adds that offset to 95º (say it gives back 110º) and makes 110º the new target angle for the pid. basically its calculating what angle the robot would naturally coast to if not constrained by the pid which makes it feel very natural to drive, but still locks to an angle with the pid 6. We had encoders and a pid on our intake because our fabric roller worked best at a really specific speed, and the speed was fluctuating too much when a ring went up the intake (this is a problem that we eventually just fixed by slapping another motor on it) you were right that might have been a bit more than a minute. hopefully all this came out with at least some sense but definitely let me know if you have any other questions
@spidernh
@spidernh 3 года назад
@@owen9573 1. Ok cool, I'm guessing the blue boxes are just the spot behind the target 2. k 3. yeah probably complicated, hopefully next year we don't need to do anything like that so I don't need to understand that, but a picture would be interesting. also when do you learn trig? I'm still in middle school (ftc is middle school in michigan) so I don't really know anything about that. my school also has accelerated math so in 7th grade you can do algebra, and I'm a year ahead of that lmao 4. for that do you use the motor.runToPosition, or something else? Is it just a loop, and when the robot is close to the starting point or ending point of the line it's driving it's slower, but when it's closer to the middle it's faster? 5. why are you using PID for driver controlled? is it basically like the driver lets go of the stick, then it turns to the position that the robot was at when the driver let go? to me at least this just seems confusing and not worth the time, especially since we aren't the most competitive team (I'd like to be, but the rest of my team seems to care about awards more, which are still important but are less fun to get than having a good rank imo) 6. oh ok youtube says 24 minutes so yeah I'd say it was a little more than a minute also are you going to use odometry next year or stick to what you did this year? it seemed like not having odometry worked fine, but it would probably be better to use odometry also what happened to Lupine Robotics? it seems like there was a competition where the matches were uploaded onto this channel, then they had more competitions that weren't posted. Your robots seemed pretty similar at the start of the season, did your teams merge or why weren't their good matches also uploaded to this channel? also I see we both have terrible sleep schedules, midnight for me rn and you're in the same timezone as me according to where your team is from
@ayushraman233
@ayushraman233 3 года назад
Do you use odometry, the algorithms you mentioned for adjusting the flywheel velocity based on kinematics equations sound incredible but what is the input for that equation? What sensors do you guys use?
@owen9573
@owen9573 3 года назад
we dont use odometry, the input for all of those algorithms all comes from our vision system. Using the vertical position of the goal in the frame in pixels, the measured height of the goal in cm, and a ton of trig we can find the robots horizontal distance away from the base of the goal, which is the input into the equations. thanks so much for the question
@harrissong9144
@harrissong9144 3 года назад
ok ayush
@Mkbhdisthebestongong
@Mkbhdisthebestongong Месяц назад
Aw hell naw what is this we r done for
Далее
MTI Hardware Award Winner | Wolfpack Machina 18438
5:04
Worlds Autonomous Explanation
9:10
Просмотров 10 тыс.
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
Servo Explanation and Tutorial
7:24
Просмотров 8 тыс.
ULTIMATE GOAL presented by Qualcomm
8:59
Просмотров 51 тыс.
Understanding Linear Slide Rigging For FTC
8:33
Просмотров 58 тыс.