|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Questions about mecanum wheels
the WPILib Joystick class has a GetDirectionDegrees and GetDirectionRadians, I'm sure Labview has something similar
|
|
#2
|
|||||
|
|||||
|
Re: Questions about mecanum wheels
Quote:
Quote:
If you want to change it so that your motors are running at full power I'd advise making a copy of the holonomic vi and reworking the math inside of it to your liking. |
|
#3
|
|||
|
|||
|
Re: Questions about mecanum wheels
I don't know how you are doing your direction and magnitude calculations but in LabVIEW, we used the ATAN2 function for direction which takes the joystick x and y as inputs. While you still have to do Radian-Degree conversions, I believe this will handle the Quadrant issues for you. Then, for the magnitude, we simply did sqrt(x^2+y^2).
|
|
#4
|
||||||
|
||||||
|
Re: Questions about mecanum wheels
In LabVIEW, you can also use "Re/Im To Polar Function".
|
|
#5
|
||||
|
||||
|
Re: Questions about mecanum wheels
Quote:
Edit: Doh, Joe beat me to it. That's what I get for leaving the window open while I go out to a machine breakdown ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help about Mecanum Wheels | mahmosh | Technical Discussion | 4 | 18-01-2008 11:50 |
| A few Questions about Omni Wheels.... | kSniper | Technical Discussion | 4 | 08-01-2008 00:15 |
| Friction coefficients for Omni wheels and Mecanum wheels from AndyMark | Andy Baker | Technical Discussion | 11 | 16-12-2006 19:40 |
| Mecanum Wheels | chaolin2007 | Control System | 1 | 25-02-2006 19:16 |
| Mecanum Wheels | TheFerret | Technical Discussion | 8 | 16-01-2006 09:23 |