|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: Mecanum Spin
If you want to regulate the spin by the throttle, you should probably doing something like this:
Code:
if (joyStick->GetRawButton(4))
joanRobo->HolonomicDrive(0.0, 0.0, -joyStick->GetThrottle());
//Turn right
else if (joyStick->GetRawButton(5))
joanRobo->HolonomicDrive(0.0, 0.0, joyStick->GetThrottle());
//Regular holonomic movement
else
joanRobo->HolonomicDrive(joyStick->GetMagnitude(), joyStick->GetDirectionDegrees(), 0.0);
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Hot Shot Spin Bar | Madison | Extra Discussion | 5 | 09-15-2009 03:38 PM |
| A different spin on things. | Matt Attallah | Chit-Chat | 28 | 07-24-2006 11:38 AM |
| Will the tetras spin? | SteveO | Rules/Strategy | 15 | 01-20-2005 02:36 AM |
| PUSA and Spin Doctors | Jeff Rodriguez | Chit-Chat | 1 | 08-08-2003 03:37 AM |
| Motor Spin Direction | archiver | 2000 | 6 | 06-23-2002 11:43 PM |