Go to Post "Splet" is the sound a frog makes when it hits pavement at 187 feet per second. Don't ask me how I know. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #1   Spotlight this post!  
Unread 15-01-2011, 12:47
captainking's Avatar
captainking captainking is offline
Level 85 Programmer
FRC #0168 (MIB)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: North Miami Beach
Posts: 41
captainking is an unknown quantity at this point
Mecanum Problems

Hey guys, we're trying to program mecanum this year using the polar form but we're having some troubles.

For magnitude we are taking the x and y values of the joystick and using the pythagorean theorem

For direction we are taking the y value and dividing by the x value, taking the arctangent, and then multiplying by 180/pi in order to get the answer in degrees.

for rotation we are using the rotation axis off of our 3 axis controller.



For some reason, when we enable the robot, the motors all recieve full forward PWM values without us touching the controller.

We've checked the wiring and it's fine, and the only thing affecting the motors is the holonomic drive function.

Any ideas?
__________________
Integrity first
Service before self
Excellence in all we do
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


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

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