|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
An inability to communicate your ideas effectively is a handicap you would be well served to strive to overcome. |
|
#2
|
||||
|
||||
|
Re: WCD vs. Swerve
Agreed... but not today. I need some time to prepare.
|
|
#3
|
|||
|
|||
|
Re: WCD vs. Swerve
Driver presentation. May be some who have actually driven a swerve will comment. We have a 4 wheel drive 4 wheel steering bot. We have used a x-box and 2 kop joy sticks. Also, we tried a joystick with twist but, the drivers hatted the twist for chassis orientation. So how do you control the 4 degrees of freedom required for swerve driving. X, Y, Chassis orientation, and velocity.
We have always used the left joy stick for x-y and extrapolate velocity from it. The right joy stick x mixes in chassis rotation. This is what the programers and drivers ended up with. I feel that after watching our driving the last 2 years there is a major problem with this choice. Our drivers can make the bot dance on our practice field with no pressure. Under pressure at a comp I see the driving deteriorate. I believe their left hand or thumb coordination is being overloaded. What have other teams used. I believe the extrapolated velocity is the problem. For a short time in the 2010 off season we had the X - Y on the left X-box controller joy stick. Velocity on the right joystick x and chassis orientation on the analog triggers. I liked it. The programmer graduated and the code disappeared. We went back to the above described method. So what is the best driver presentation. Arguments welcomed. |
|
#4
|
||||
|
||||
|
Re: WCD vs. Swerve
I think the most important design decision is to fundementally separate control and implementation in such a way where it becomes trivial to switch things around for trial and error. Also make it where there is a desired movement lead what is physically possible. I have solved these problems already where I fundementally work with a 2D vec of desired velocity and a float for heading. I have a class that figures out how to make that work. With this approach I can achieve the feel (e.g. elastic bell curve on rotation) of what the ships do in the game demo link I sent.
Me personally I think one arcade drive joystick just like tank with some strafe buttons elsewhere... but I want to customize to what the driver wishes. |
|
#5
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
Ok I will take a stab at this today... with a question. What makes a swerve drive so hard to drive vs. what makes a WCD easy to drive (both tank steering and arcade configurations)? |
|
#6
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
Instead I assume you mean something like this: FWD = (YL+YR)/2 RCW = (YL-YR)/2 STR = 0 ... where YL and YR are the (inverted) joystick commands, and FWD, RCW, and STR are as defined here. In that case, I will answer your question with a question: is a swerve with that driver interface "so hard to drive" ? |
|
#7
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
For now let's ditch the tank steering 2 joysticks except to say that it can be done. I think FWD and RCW can be on one joystick where left and right perform the rotation (I believe this is called arcade drive)... Just this much is what we had this season on a WCD, and it felt intuitive (we played defense). Now add to this some strafe buttons (and not another axis). I think for me personally I'd like this because this is similar to how games like ut2004, quake etc... work. Except they use a mouse for the orientation. The strafe buttons work where they inject more strafe the longer they are held down, and then release it in the same manner. This way if the driver doesn't want to do it... it is easy to focus on the basics. One good way to really answer this question is to create a simulation and give it to a real student driver and let him decide if it is easy or not. I *hope* to do this... next summer. ![]() |
|
#8
|
||||
|
||||
|
Re: WCD vs. Swerve
But then the strafe would be digital, not analog. Not saying this is good or bad; it's just something to be considered.
Last edited by Taylor : 20-12-2011 at 14:06. |
|
#9
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
The most important point of this is that if designed right it is easy to swap buttons with axis controls with minimal code change... or overhead. This is why I love c++. ![]() |
|
#10
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
Quote:
|
|
#11
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
|
|
#12
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
Quote:
Quote:
|
|
#13
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
![]() I find it interesting how dropping an adjective from a sentence can really change the meaning. FWIW I am not good at writing papers, but I can submit some code example when I get to that point. |
|
#14
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
Quote:
More: Team 1640's LogoMotion Drive Train Last edited by Siri : 30-12-2011 at 12:41. Reason: fixed the link |
|
#15
|
||||
|
||||
|
Re: WCD vs. Swerve
Quote:
It seems like that swerve-drive teams are of a rare breed. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|