Go to Post I'll not deprive you of the practice in reading the manual; you'll need it if you want to be an effective part of an FRC team. - Alan Anderson [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
  #11   Spotlight this post!  
Unread 03-02-2010, 16:39
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Holonomic drive angle?

Quote:
Originally Posted by PhilBot View Post
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).
It really needs to include the reversal so that it is consistent with the Arcade and Tank Drive VIs. Also, the Polar version is more likely to be used in autonomous.

Quote:
Originally Posted by PhilBot View Post
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.
This can be done very easily and not interfere with your control loop design if you simply put the negation immediately before the Y input to the arcade drive VI. Then you controller acts normally. Just treat the drive VI and the negat on it's Y input as a single package, or even stick it in a subVI.

Quote:
Originally Posted by PhilBot View Post
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 completely agree. Stupid airplane people.

We considered flipping the Y axis in the Joystick API, but we ran into a showstopper problem with that approach... with game pads and any random joystick, we don't have any way to know what axes are "Y" axes and which are not. I think it would be worse to have a game par where one stick is positive forward and the other is negative forward. Because we couldn't know that it would compensate for all axes that needed it, we left it out.

Just think of it as yet another problem to overcome and a tool to teach the kids about the real world of software engineering... "fixing it in software".

-Joe
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