Go to Post 4 is kind of like 5 - Jaine Perotti [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2015, 16:55
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
Re: How to Program Mecanum

Okay THANKS for all the help! I changed it and it works for forwards/backwards and straffing - I am going to program turning with the buttons. Now I am trying to program pnuematics and I did it last year and it was easy but all my button assignments don't work this year - I have the updated mappings too - here is the new code:

https://github.com/MrSTUDofCODE/NewM...team4623/robot

THANKS again!
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2015, 17:43
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,986
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How to Program Mecanum

Quote:
Originally Posted by cstelter View Post
The above didn't help me as I'm not able to visualize inward outward
I don't care for that nomenclature either; I was using it because that's the way the questioner (3786KRRobotics) worded it.

I hope the following is clearer for you:

vehicle forward:

- both left wheels rotating CCW (when viewed from left side of vehicle)

- both right wheels rotating CW (when viewed from right side of vehicle)


vehicle strafe right:

- front wheels turning CCW (when viewed from their respective sides)

- back wheels turning CW (when viewed from their respective sides)


vehicle rotate CW (as viewed from above):

- all 4 wheels rotating CCW (when viewed from their respective sides
Vehicle backward, strafe left, and rotate CCW: each wheel turning the opposite direction of the forward, strafe right, and rotate CW cases, respectively.


Reply With Quote
Reply


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


All times are GMT -5. The time now is 09:43.

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