Go to Post This forum is a really great tool to get people connected to the rest of FIRST communities, as well as a great place to learn from other people and share a little part of yourself. - Ken Leung [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 03-02-2012, 21:38
kully kekaula kully kekaula is offline
Registered User
FRC #3880
 
Join Date: Jan 2012
Location: Hawaii
Posts: 7
kully kekaula is an unknown quantity at this point
Re: Reducing Maximum Drive Speed Through Drive VI

How exactly would something like that look? I currently have it where, in teleop, it opens the joystick and unbundles the buttons that control the case statement. Inside the case statement would be the normal teleop code for a drive system, including getting the motors and joystick and connecting them to the tank drive vi. Would something like that work? Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2012, 23:46
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Reducing Maximum Drive Speed Through Drive VI

Quote:
Originally Posted by kully kekaula View Post
How exactly would something like that look? I currently have it where, in teleop, it opens the joystick and unbundles the buttons that control the case statement. Inside the case statement would be the normal teleop code for a drive system, including getting the motors and joystick and connecting them to the tank drive vi. Would something like that work? Thanks
You don't necessarily have to put the entire thing inside that case statement. Call the motor refnum and joystick refnums outside, and have one side that passes straight into the tank drive for one side (so there is only the tank drive vi in the statement), and on the other side, have the same thing, only with your math statement too to scale it down.
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2012, 01:31
kully kekaula kully kekaula is offline
Registered User
FRC #3880
 
Join Date: Jan 2012
Location: Hawaii
Posts: 7
kully kekaula is an unknown quantity at this point
Re: Reducing Maximum Drive Speed Through Drive VI

Okay, thank you very much Cecil! And no worries, I figured out what you meant by divide .66. I just substituted it for dividing by 3.
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 11:34.

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