|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
For tank drive, I like having the control of two joysticks. It makes me feel in total control of the robot, and I don't have to think about it
![]() For Swerve however, it's all about one joystick and the ability to say, "I want to go that way!" ![]() |
|
#2
|
|||
|
|||
|
My team likes 1 stick drive, better, but all this debate seems to say that having a switch between the two methods is a good idea. Each driver can drive how (s)he likes.
Anyway, it shouldn't be too hard to switch between the two. Each method can be expressed as two formulas that give left tread and right tread ans a function of input. So, you can have code like WakeZero's code: Code:
if(switch == 1)
{
//one joystick formula
pwm1 = p1_y + p1_x - 128;
pwm2 = p1_y - p1_x - 128;
}
else if(switch == 0)
{
//two joystick formula
pwm1 = p1_y;
pwm2 = p2_y;
}
|
|
#3
|
||||
|
||||
|
Re: 1 stick drive to 2 stick drive
Its a two stick drive all the way for me. I find it to be more reactive but harder to control. It also allows for Independant control of both sides which allows for more manuverabilty. That and with a two stick drive it is easier to manipulate the turning radius.
|
|
#4
|
||||
|
||||
|
Re: 1 stick drive to 2 stick drive
*cough*
This thread is from last year. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2-wheel versus 4-wheel drive | Ben Mitchell | Technical Discussion | 23 | 07-11-2003 00:50 |
| Direct drive or Chain? | Suneet | Technical Discussion | 32 | 27-03-2003 23:00 |
| one stick drive | Hendrix | Programming | 3 | 14-02-2003 20:53 |
| what's your most important drive train advice? | Ken Leung | Technical Discussion | 42 | 07-01-2003 09:58 |
| "Motors and Drive train edition" of Fresh From the Forum | Ken Leung | CD Forum Support | 6 | 29-01-2002 12:32 |