Go to Post Never underestimate people's ability to underestimate. - Ginger Power [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
  #10   Spotlight this post!  
Unread 03-02-2010, 15:38
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 744
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Holonomic drive angle?

Quote:
Originally Posted by jhersh View Post
Funny you should ask... the forthcoming update will include a Cartesian version of the VI that even inverts Y for you.
-Joe
Not sure how you are implementing this, but can I request that you DON'T include the Joystick reversal in the drive VI. (or at least make it an option "Reverse Y Axis")

I know the reversal is needed, but if we intend to use the same VI in Auto, having to use negative numbers to go forwards is real annoying (eg when target tracking).

I can't tell you how annoying it was writing the code last year to track the target, and having to continually reverse the sign of the forward motion to get the robot to "approach" the target. Flipping the sign is easy, but debugging the control loop was no fun.

I still say ground based robot joysticks MUST output +ve numbers when pushed forward. There would be SOOOOOO much less confusion if the Get Joystick just flipped the Y axis, and ALL the controls that currently accept JS inputs were corrected to match. Then they'd work the same in auto and teleop.

I'll give you another example.

Our robot has it's 4 drive wheels on pivots, so they can be configured to be in-line (90 deg) or at 45 Deg. So at the press of a button, the robot can flip from Skid steer to Holomonic. The trouble is, it turns out that the "default" + direction for the Arcade Drive, and the Holomonic drives are flipped... mainly because the Arcade VI assumes -ve input is forward, and the holomonic assumes 0 Deg is forward (eg: holomonic is logical, Joystick is convenient.)

So if the wheel "Invert" bits are set correctly for Arcade drive (as in the sample template), they are incorrect for holomonic. This caused me no end of trouble during debugging. In the end I just had to invert the joystick values going to the Arcade drive. Now stick forward works for both arcade and holomonic.

The alternative was to make JoyStick back action request a 0 degree vector for holomonic..... No Thanks.

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
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
Holonomic Drive Example? I am error NI LabVIEW 9 12-02-2010 15:32
Holonomic Drive Help star_lancer NI LabVIEW 2 01-02-2010 22:39
Switching to Holonomic Drive MachineSMMC NI LabVIEW 1 22-01-2010 13:07
Holonomic Drive Question Jeff Waegelin Technical Discussion 12 20-11-2005 21:23
Holonomic Drive Mathmatics Discussion robotaddict Programming 35 15-10-2005 13:29


All times are GMT -5. The time now is 04:57.

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