Go to Post All I wanted was a game hint.... :( - JohnBoucher [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 24-02-2012, 20:54
da johnny boy da johnny boy is offline
Registered User
FRC #4142 (Shorebots)
Team Role: Leadership
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Ohio
Posts: 11
da johnny boy is an unknown quantity at this point
Re: Programming help

Here is another program that reduces the output of the joystick whenever the 2 button on the joystick is pressed. You could also program the button to toggle the motor speed instead of having to hold the button.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	35
Size:	7.0 KB
ID:	12093  
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2012, 22:18
Brandon_L Brandon_L is offline
Back @ it again with the white vans
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,207
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Programming help

There is a difference between a less sensitive joystick and supplying less power to the motors. To make it less sensitive (I'm guessing maybe the problem could be its sending values to the motors when your not touching it or something) you could try something like this:



EDIT: Wow, I didn't read the first post full through. Oops. Well, now you know how to add a deadzone xD
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors

Last edited by Brandon_L : 24-02-2012 at 22:53.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-02-2012, 09:41
Team 1824's Avatar
Team 1824 Team 1824 is offline
Registered User
FRC #1824
 
Join Date: Jan 2012
Location: Peterborough
Posts: 17
Team 1824 is an unknown quantity at this point
Re: Programming help

Thank you for all of the replies. I understand how to do it now.

Team 1824
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 22:08.

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