View Single Post
  #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