|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: It is impossible... ...until there is no other way...
Quote:
So the robot would go across the field in second gear, shift to first, turn left 90 degrees, traverse the field (still in first) turn left 90 degrees, shift to second, go across the field...etc until time ran out. The problem is, the second turn would always overshoot by 10-20 degrees. We had no idea why this was occurring. We looked through the code and verified that the code being called for the first turn was exactly the same as the code being called for the second turn. Both turns took place in first gear, both were 90 degrees using the same feedback loop, and both were followed immediately by a straight section. We spent hours working on this, but couldn't figure out why the turns should be any different. Then, we asked a mechanical mentor to watch autonomous run. He immediately understood the problem: "you're shifting into second gear immediately after that second turn. It takes about a half-revolution for the gears to engage after a shift." Swapping the position of two lines of code, to stop the motors before shifting gears, solved the problem. |
|
#2
|
|||||
|
|||||
|
Re: It is impossible... ...until there is no other way...
I have two, both of which are fresh in my mind from last weekend.
Sometime Friday afternoon my Driver Begins to complain about the left side of the drive, he says it feels "Funny". We get the robot off the field and look at the drive, and nothing appeared to be wrong, I turned it by hand and there was no binding, no noise, and it just felt okay. So, I told him we'll worry about it if it becomes serious. Three or Four Matches go by and we notice our Autonomous Mode is drifting hard towards the side in question, and it almost looks like there's some sort of mechanical problem with the drive, and each time I spin it and it feels okay, so I'm stumped and just tell him to Drive through it, which he did very well. Fast forward to Lunch Break before Eliminations, when one of the other mentors tells us that one of the PWMs to the left side of the drive was unplugged... We plugged it in and it worked perfect. Match 64 was to be our final Qualifying match, and it was with 103, and I've been dying to play alongside 103 for years. So the match starts, our Autonomous goes and the robot stops like usual, and then a little bit of smoke starts coming from the robot. A little bit of smoke turns into a lot of smoke, at which point the match is called. I ran onto the field without hesitation and turned the robot off and open the cover as more smoke came out. We began frantically looking for the problem (still on the field) and I see that two of our PWM Cables have shorted together which caused them to burn the insulation off of the wires. Luckily, due to the setup of Philly, our head pit guy (aka Pitmaster) was standing within yelling distance of the field, and I got him to run back to the pits and grab a handful of PWMs. I rewired the bot, in the most quick and nasty fashion I could, and we went on to play the match. We won the match 5 to 3. Most people saw the smoke and figured that our robot was toast, but some quick thinking saved it, and a win. |
|
#3
|
|||
|
|||
|
Re: It is impossible... ...until there is no other way...
Quote:
So we went through VCU with this drive system, and for the most part, it worked wonderfully. There was just one problem: our driver kept complaining that the drive was slower than usual. He said it didn't seem as powerful as it used to be. When asked if he had any difficulty turning, he said no: it just didn't feel as powerful as before. We figured the motors and bearings were just wearing down and kept playing without any changes. We made it to the quarter-finals, I believe. Fast-forward to Chesapeake, and we had completely forgotten about the drive train. That is, until we were testing some sort of autonomous routine that required me to print out the actual voltages the PI drive loop was sending to the motors. I instantly knew something was wrong: the software was sending half the power to the right motors that it was sending to the left motors, and yet the robot was driving perfectly straight! We investigated the problem, and found that one of the left motors was completely dead. No one knows how long it hadn't been working; it was probably dead before ship. It could even have been dead since before we installed it in the robot! The PI loop was so good at keeping the robot straight, it was able to compensate for a dead motor well enough to make the problem virtually invisible. Unless, of course, we tried to push another robot with all four of its motors working. |
|
#4
|
||||
|
||||
|
Re: It is impossible... ...until there is no other way...
So we were weighing our robot before re-bagging it. We had built our hanger and upper superstructure separate and easily detachable so that we could keep working on the hanger as part of the withholding allowance.
Anywho, so we had apparently already weighed the upper segment and it had come in at like 44 lbs. We put the bottom half on the scale and it comes back at 80 lbs. So naturally, what with it being only a day or two before competition, everyone is less than happy. There were a bunch of bouncing suggestions, but quite frankly 4 lbs is quite holes to drill. While everyone is proposing different ideas I went over to the upper section with a few of the other mentors. We figured that it was worth a shot weighing it again, it'd have been a big shame if the robot were torn apart over a mistaken weight. To everyone's surprise and relief the upper half had managed an impressive dieting program over the past few days. The scale read it in at 36 lbs. We're still not quite sure how the whole thing happened, but we certainly aren't complaining. When it was inspected and weighed at competitions it came in at 120 lbs exact. Gotta love those sort of numbers ^_^ |
|
#5
|
||||
|
||||
|
Re: It is impossible... ...until there is no other way...
Quote:
Oh man, your win in that match was amazing. I have been wondering for quite a while now why your robot went up in smoke. I was also surprised to see that the E-Stop button didn't work (I have this memory of your driver jamming it and yelling at the refs...) |
|
#6
|
|||||
|
|||||
|
Re: It is impossible... ...until there is no other way...
Quote:
I'm still waiting for Pictures of the smoke cloud to surface... ![]() |
|
#7
|
|||
|
|||
|
Re: It is impossible... ...until there is no other way...
*looks at title*
I cite Clarke's Three Laws of Prediction (couldn't resist)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| is there a way to invert a motor live? | Must Be Drama | NI LabVIEW | 4 | 02-02-2010 20:55 |
| Is there a Way To refrence a true false statement | Must Be Drama | NI LabVIEW | 15 | 02-02-2010 01:08 |
| Is there a way to display Cmaer Live footage? | Tottanka | FRC Control System | 0 | 12-12-2008 11:21 |
| Turning; easier one way or the other? | FizMan | Technical Discussion | 14 | 03-07-2004 14:03 |
| Legal way to remove bottles? and other questions | jrukes | Off-Season Events | 4 | 15-10-2001 22:35 |