|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#31
|
|||
|
|||
|
Re: Swerve Gear Box
Quote:
|
|
#32
|
|||||
|
|||||
|
Re: Swerve Gear Box
Quote:
Also, you could just take the lazy way and copy the functions Ether posted. We converted our 2008 crab prototype to an independent drive and steer crab, it runs, and the code is short. Most other statements in this thread are pure speculation. |
|
#33
|
|||
|
|||
|
Re: Swerve Gear Box
You mean like this statement you just made?
|
|
#34
|
|||||
|
|||||
|
Re: Swerve Gear Box
We made one and got it running in both configurations. I don't see how my statement about the length of the code we wrote for our "unicorn" crab is simpler than the code for our "2+2" (drive and steer pairs) crab is speculation...
My statement wasn't meant to be a personal attack, I just think it's invalid to say I prefer x to y when you've only done x. This isn't quite a black and white area though. EDIT: Gotcha, you mean my speculation about speculation. Most was probably a strong word to choose. Some, is that more accurate? ![]() Last edited by AdamHeard : 27-08-2011 at 22:01. |
|
#35
|
|||
|
|||
|
Re: Swerve Gear Box
Quote:
I actually completely agree that Unicorn is simpler than 2+2 to program (I'm not as qualified to comment on building them outside of vex/lego scale so I will defer to those who have experience there). Edit: I do hate the phrase "speculation that it is speculation" sounds almost xzibit-ish. |
|
#36
|
|||||
|
|||||
|
Re: Swerve Gear Box
So in other words you don't have any. I think that you are attempting to take on a project that is beyond the scope of what you're setup to handle. Based on your other threads I also have to ask is this a personal project or a team project? If its a team project, have you unilaterally decided that this is what the team will be doing, or have you actually discussed the project with the team to decide if its something everyone else wants to work on as well?
|
|
#37
|
||||
|
||||
|
Re: Swerve Gear Box
Hopefully the several ensuing responses from various posters have given you pause.
Quote:
Think about it. |
|
#38
|
||||
|
||||
|
Re: Swerve Gear Box
Quote:
The initial derivation does indeed give you one equation, but that one equation has a lot of variables. The number of variables is so large it would be difficult to manipulate them all for the entirety of the match without really good (expensive) joysticks, and even then, it is sometimes just easier to have constants that can be used in place of certain variables. this also has the potential advantage of making the robot respond faster for two reasons. By pre-calculating certain parts of the equation, the code can execute faster, and, since certain values plugged in for some variables can result in the angle output for some modules return the same value despite the other inputs changing, by adding modes to set the values so that this is the case, mechanical reaction time improves at the cost of reduced maneuverability. I hope that makes sense, If unicorn drive were Moby Dick, I fear I would have to be Captain Ahab, I hope I haven't reached the rambling stage yet. |
|
#39
|
|||||
|
|||||
|
Re: Swerve Gear Box
Quote:
This is very intuitive to control, one stick translates (move that way, it goes that way), and another is your rotation (move this and it rotates (in addition to the translation)). Check Ether's uploads for his equations, you'll see it's almost a trivial problem at that point. |
|
#40
|
|||
|
|||
|
Re: Swerve Gear Box
Quote:
94.4707521 + 24.8607242 + 4.97214484 = 124.303621 (truncated = 124) If that was the opposite and we were at 359 and wanted 2 it would be trouble. -357/2 = -178.5 (that is -178.5 PERCENT, which is a big no no.) We can deal with it this way: just regulate the error percent to be -1.0 to 1.0 or regulate the output at the end. It would both deal with that problem. Yes my method does favor the going from a low to high than high to low. You can say that it is an error on my part, but that is the beauty of engineering; you rarely get it right the first time. Also I can just do higher # - lower # then divide by the higher # to always give -1 to 1. Then just put the desired input- current input as a variable and just mask out and & the number to get the + or -. I'll clarify in teh morning. I sound like gibberish at night. Last edited by davidthefat : 28-08-2011 at 04:08. |
|
#41
|
|||
|
|||
|
Re: Swerve Gear Box
Which is why we said that it isn't simple...
|
|
#42
|
|||
|
|||
|
Re: Swerve Gear Box
Okay, I didn't mean walk in the park easy. It is a hike on a hill easy.
|
|
#43
|
||||
|
||||
|
Re: Swerve Gear Box
Correct me if I am wrong, but weren't slip rings legal this year? I thought I read something about using them on CD, I don't recall what the GDC decision was.
|
|
#44
|
||||
|
||||
|
Re: Swerve Gear Box
Quote:
They were legal up until 2010 (mostly because no one ever said anything about them, I think), and then in 2010 the wiring rules were written more specifically and the GDC "accidentally" (is the thought) disallowed them in the wording. In the 2010 Q&A they stuck with the wording, but since then they've obviously decided that they're intent is otherwise. Last edited by Aren Siekmeier : 28-08-2011 at 22:21. |
|
#45
|
|||||
|
|||||
|
Re: Swerve Gear Box
Slip rings that are rated for the sort of current that an FRC drive module draws are not commercially available within FRC cost limits, and I shudder to think of a home-made slip ring drawing 100+ amps.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|