![]() |
Re: I am very nervous
Quote:
Matt |
Re: I am very nervous
Quote:
I will check this at our regional [Week 4...so long to wait..ahh!] The strain you mentioned....is this coming just from putting a heavy load on the motor? Or simply from running just one side? We tried autonomous mode on blocks many times, and still got the same problem. |
Re: I am very nervous
Are you working with a high traction drive train like a 6wd with traction wheels in the corners? They just really really want to go straight. You have to give a bigger difference to the two sides to get them to turn.
|
Re: I am very nervous
Quote:
If this was happening on blocks, it sounds like drive train binding to me. I'm not a mechanical guy, but I believe if the robot is actually moving forward, it may alleviate some tension in the drivetrain, but thats more hunch than fact. Is it consistently happening to only one side or both? Matt |
Re: I am very nervous
Quote:
Regarding turning. Its very difficult for the robot to turn. I'm guessing your robot is geared similar to ours, and it just can't overcome the turn at low speeds. .3 sounds about right for the turn. This is actually a physical limit, because the force to turn is greater that the force to go forward. This is why I plan on working with a transmission next year. So I can have the force at the low speeds, but the speed at high. However for this year, and your line tracker, try combining the correction and drive forward code. This will make it easier on your drive. ie, if your moving forward its easier to turn. one way to do this is to put a min Y in autonomous. so basically you are always going forward at least a bit. ( a .1 or .2 should be enough, but you'll have to play with that) I had an interview thursday, so I missed out on the first day of comp, so I totally understand your stress. Again it sounds like the design is less conducive to a good autonomous, so maybe put less emphasis on it at first (you won't need it til saturday). Again you will get your autonomous working perfectly, the battery will change, and break everything. I'm not saying don't go for it, I'm just saying if it comes down to autonomous or minibot, go with minibot. ( I didn't and paid for it.) Also if your robot drives fairly straight, get an ultrasonic overnighted to you. You should be able to do a cap just using that. also try talking to the mechanical team. They may be able to gear down the drive fairly quickly, which would make a huge difference for both you and the drive team. Our motors were overheating after 1 min, but then again we only used 2 cims. and if you can pick up off the floor, drive speed isn't that much of an advantage where as control is. |
Re: I am very nervous
Quote:
And the problem isn't that the robot isn't turning, it's that one of the motor-sides just isn't engaging at all, even on blocks. I discovered at the last moment that in order to turn the robot, as you said there has to be a big difference....hence, driving one side backwards. A fair bit of frustration would have been eliminated had I just driven the robot myself a little bit more to see how it actually works....yay for programmers integrating with the hardware team :) |
Re: I am very nervous
Quote:
also if you have the weight, ask them to chain the back 2 wheels. This should help too. you don't on motor running cause the motors have a natural bias. Luckily friction of the playing field tends to correct this. |
Re: I am very nervous
Quote:
It consistently happened on both sides. Also, I am pretty sure that the lowest value a single motor will respond to in teleop, via joystick, is lower than the lowest value that same single motor responds to in autonomous. Thanks again everyone for your help. Can't wait to get my paws on the robot in two weeks... |
Re: I am very nervous
Quote:
|
Re: I am very nervous
Quote:
Quote:
Ahh ultrasonic sensors! The one sensor we didn't think to use...I think I will stick with the line-following though, I'm not keen on testing a new sensor at regionals. Although it sounds like it would be a great addition, we could steer to the scoring grid using my beloved light sensors, then stop at the right spot using the ultrasonic....at one point we considered using encoders as a safety net to avoid driving straight into the driver station, but scrapped that idea because I eventually realized that a LOT more encoder-ticks will go by if you are line-following and correcting than if you are just pushing the robot straight, heh. I'm not quite understanding what you're saying about putting a min Y in auto...the only time the code stops the motors is if we've gone entirely off the line, otherwise it just switches one of the motors to run backwards and the other keeps going forward. [Not that that was particularly easy to understand on my part, heh.] Gearing: I think our gear ratio is okay [actually, I am trusting our lead mentor on this]. We geared it to not be terribly fast, and the drivers seem happy with it, AND with all the other stuff that will break/need to be optimized, I'd rather not be swapping out gears... However, I will talk to our mentor about this today, find out what our current gear ratio is and check that it's what we want. Thank you for the tip! Yeah, during build season I focused a lot more on teleop stuff [including the minibot] than autonomous, mostly because autonomous is scary for a rookie programmer. I got worried after hearing about robots scoring two tubes in autonomous last weekend. All the teleop code is working nicely [except the occasional Watchdog, which I am convinced is NOT the programmer's fault because I disabled all the MotorSafety watchdogs...] and I suspect I'll spend a lot of my time at competition working on autonomous. It may go by the wayside though, if scouting seems especially pressing. Quote:
Thanks! |
Re: I am very nervous
Quote:
Page 2 has the instructions. Matt |
Re: I am very nervous
Quote:
By default (at least in LabVIEW), robot drive squares the input values. If you give it 0.2, robot drive outputs 0.04, which would be barely enough to turn on a victor. Also, you need to make sure you're using the same type of speed controller in software as you are in hardware. The default victor calibration is slightly off center. When the control system knows it's a victor, it can compensate. However, if you tell the software it's a jaguar, you might be getting something outside the neutral range in one direction and inside the neutral direction in the other direction. The default framework uses robot drive with jaguars, so if nothing was changed, you can run into this issue. |
Re: I am very nervous
Quote:
Matt |
Re: I am very nervous
Quote:
I understand not wanting to add a new sensor, probably a good call. Encoders seem like they'd be a good off season project, but not on season. I personally want to try out that accelerometer they keep giving us every year.That would have saved me this year. I'm seeing more and more reasons to go 2 speed next year.(or maybe the killer bee 4speed :D ) If your drivers have been driving a lot and seen no problems, then you're probably right, the gearing is probably fine. Also we only used 2 cims rather than 4. so that may have caused problems for us. Regarding your line tracker, rather than going forward and reverse, do forward fast, forward slow. that way your motor are working together to turn rather than stopping and turning. |
| All times are GMT -5. The time now is 15:06. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi