Go to Post And to think, a lot of students are planning parties and celebrations on their last day of school and you guys are recycling trash. - JaneYoung [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2011, 20:30
Rangel's Avatar
Rangel Rangel is online now
John Rangel
FRC #0842 (Falcon Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Phoenix, AZ
Posts: 742
Rangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond repute
Ratio Curve Arcade Drive?

Hello, my team would like to drive our robot this year using a system similar to how 971 had it. What they did was use a steering wheel for turning and a regular joystick to drive. When I was on the 2011 Game Project template I saw that there was an option on the arcade drive called ratio curve. Would this possibly be the driving code for what we want? If not, is there any example code written that will let us drive our robot like this?
__________________
2012 Dean's List Winner
2011-2014 Arizona Regional Winners
2016 Las Vegas Regional Winner
2014-? Mentor


Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2011, 22:20
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Ratio Curve Arcade Drive?

Quote:
Originally Posted by Rangel(kf7fdb) View Post
Hello, my team would like to drive our robot this year using a system similar to how 971 had it. What they did was use a steering wheel for turning and a regular joystick to drive. When I was on the 2011 Game Project template I saw that there was an option on the arcade drive called ratio curve. Would this possibly be the driving code for what we want? If not, is there any example code written that will let us drive our robot like this?
I don't have a copy of Labview this year to verify this, but if I recall correctly ratio curve is used to define the mapping between joystick input and robot output. Many teams use functions like x^2 or x^3 to improve fine control while maintaining the same top speed. Using that should not be necessary for what you want to do.

What you want to do should be easy to accomplish. The steering of arcade drive is controlled by the x-axis input so wire the appropriate axis of your steering wheel "joystick" to that. The throttle is controlled by the y-axis input so wire the y-axis of your joystick (I can't recall the numbering) to that input on the arcade drive.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2011, 14:05
Jester Jester is offline
Labview Maniac
AKA: Cody Ripley
FRC #3144 (Krypto-Knights)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Oklahoma City, OK
Posts: 22
Jester is an unknown quantity at this point
Re: Ratio Curve Arcade Drive?

I think the steering wheels have 1 axis, the X axis. Hook it up to either your rotation or X input on arcade drive.

Y-axis is axis #2 on most joysticks.
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 21:18.

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