Go to Post Thanks to everyone who made the regional possible - I know my team had a blast and I'm pretty sure most other teams did too. - Steve Howland [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 03-04-2010, 11:52 PM
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
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);
__________________
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 10:28 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi