OCCRA [more] FRC Kickoff : 25d 19h 24m ...
My students want me to confirm if they're only allowed one submission per team? (Apparently they've gotten a sudden wave on linguistic inspiration...) - Siri [more]
 Chief Delphi how to limit speed on the motors.
 CD-Events CD-Media CD-Spy FRC-Spy
The Chief Delphi Forums are sponsored by Innovation First International, Inc.

#1
02-07-2009, 12:24 AM
 haxor5354 Registered User AKA: Jason FRC #1558 (ACCI-DENT) Team Role: Electrical Join Date: Feb 2009 Rookie Year: 2009 Location: 127.0.0.1 Posts: 9
how to limit speed on the motors.

self explanatory. how to make the motors run at a limited speed with labview?
#2
02-07-2009, 12:48 AM
 RyanN RyanN AKA: Ryan Nazaretian FRC #0364 (Team Fusion) Team Role: Mentor Join Date: Jun 2006 Rookie Year: 2005 Location: Gulfport, MS Posts: 992
Re: how to limit speed on the motors.

Try this:

I'm not sure if it will work or not, but it certainly makes sense to me.
__________________
Controls Mentor
firstfusion364.com
#3
02-07-2009, 07:51 AM
 Greg McKaskle Registered User no team (Team NI) Join Date: Apr 2008 Rookie Year: 2008 Location: Austin, TX Posts: 3,545
Re: how to limit speed on the motors.

I'm not sure if the question was related to joystick axis input, but that is what I'll assume.

A useful function for doing what was shown in the previous post is the In Range and Coerce function. You wire your value into the middle, and you wire your max and min in as well. You can right click on it to set whether the endpoints are included. This will work to clip your inputs.

Perhaps a better approach for the joystick is to rescale the joystickinput to a different numerical range. To do this, instead of having the joystick go from -1 to 1, perhaps you divide by 2. Not everything on the joystick is less and the joystick's full limits are only half.

Another approach that may be worth trying if you like playing with the math is to use something nonlinear. Since the joystick is in the range of -1 to 1, by squaring it, you stay in that range, but change the shape to a parabola. This will give finer control near center, but full range near the edges. You can even go crazy with the yTox function to get other shapes.

 Thread Tools Display Modes Rate This Thread Linear Mode Rate This Thread: 5 : Excellent 4 : Good 3 : Average 2 : Bad 1 : Terrible

 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 User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     User Announcements FIRST     General Forum         FIRST E-Mail Blast Archive     Rumor Mill     Career     Robot Showcase     Moderated Discussion Technical     Technical Discussion     Robotics Education and Curriculum     Motors     Electrical         CAN     Programming         NI LabVIEW         WindRiver C++         Java         MATLAB & Simulink         Python     intelitek easyC/REC information         easyC v2 for Vex         easyC for FRC         REC/Learnmate         WPILib         easyC PRO     Control System         IFI Control System         FRC Control System         Sensors         USB Chicklet     Pneumatics     Kit & Additional Hardware     CAD         Inventor         SolidWorks         Pro ENGINEER / Creo     IT / Communications         3D Animation and Competition         Website Design/Showcase         Videography and Photography         Computer Graphics     National Instruments LabVIEW and Data Acquisition         LabView and Data Acquisition Competition     Awards         Chairman's Award     Rules/Strategy         Scouting         You Make The Call     Team Organization         Fundraising         Starting New Teams         Finding A Team         College Teams     Championship Event     Regional Competitions     FIRST in Michigan     Mid-Atlantic Robotics     Off-Season Events         Chief Delphi Invitational     Thanks and/or Congrats     FRC Game Design     OCCRA         OCCRA Q&A         OCCRA Programming Other     Unsung FIRST Heroes     Chit-Chat         Games/Trivia             Fantasy FIRST     Car Nack's Corner     College & University Education     Dean Kamen's Inventions     FIRST-related Organizations         Western Region Robotics Forum         Robot Chicks Union (RCU)         Southern California Regional Robotics Forum         FIRST Interactive Rural SupporT         FIRST Scouting Network         The Grand FIRST Team         FloridaFIRST         FIRSTwiki         Ultimate Robot Challenge         Team San Diego         Dream FIRST         The Blue Alliance             Video Archives     FIRST Historians     FIRST-A-Holic's Anonymous Mailbox     FIRST In the News...     FIRST Lego League         Lego Mindstorm Discussion     FIRST Tech Challenge     VEX         VEX Robotics Competition         VEX IQ     Televised Robotics     Math and Science         NASA Discussion ChiefDelphi.com Website     CD Forum Support     Extra Discussion Old Forum Archives     1999     2000     2001

 Similar Threads Thread Thread Starter Forum Replies Last Post Code to have speed of motors dependent on how hard you push the joystick JoJo5 Programming 15 02-06-2007 12:35 PM How to speed up the dc motor via BS2? lgz108 Motors 8 11-14-2005 02:26 PM Limit of the atwood motors? Clanat Motors 6 03-16-2004 10:46 AM How do you set a speed limit on the servo Fares Programming 6 01-01-2003 03:04 PM Four motors at the same speed? archiver 2001 8 06-23-2002 10:51 PM

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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.

 -- English (12 hour) -- English (24 hour) Contact Us - Chief Delphi - Rules - Archive - Top