Go to Post I hate that every year people turn this competition into whining rather than winning. - Akash Rastogi [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 12-01-2015, 18:54
SaltyPotato SaltyPotato is offline
Registered User
FRC #4327
 
Join Date: Jan 2015
Location: Michigan
Posts: 2
SaltyPotato is an unknown quantity at this point
Exclamation How to program H/Slide drive in labview?

We just decided to go with an slide drive train, with one motor in the middle and one motor at each corner of the chassis. Unfortunately we have no idea how to do that. Do we just bind the middle motor to the x-axis of one of the joysticks or...?

Side note we are using 2 Logitech joysticks for a tank drive setup.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2015, 19:00
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,015
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How to program H/Slide drive in labview?


What is the diameter and gear ratio for the center wheel?


Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2015, 19:19
SaltyPotato SaltyPotato is offline
Registered User
FRC #4327
 
Join Date: Jan 2015
Location: Michigan
Posts: 2
SaltyPotato is an unknown quantity at this point
Re: How to program H/Slide drive in labview?

The diameter is 8 inches, and we haven't decided on a gear ratio, but does that have any influence on how you program the slide drive system?
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2015, 19:45
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 203
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: How to program H/Slide drive in labview?

You may want to consider using both of the X axes of your joysticks so you don't accidentally strafe. You can use the in range and coerce to accomplish this.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-01-2015, 19:59
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,015
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How to program H/Slide drive in labview?

Quote:
Originally Posted by SaltyPotato View Post
The diameter is 8 inches, and we haven't decided on a gear ratio, but does that have any influence on how you program the slide drive system?
It has a tremendous influence on whether the slide will do what you want, and no amount of programming can fix it if it's not right.

http://www.chiefdelphi.com/forums/sh...28#post1426228


Reply With Quote
  #6   Spotlight this post!  
Unread 22-01-2015, 19:09
burde1jb's Avatar
burde1jb burde1jb is offline
Registered User
FRC #4327 (Q Branch)
Team Role: Coach
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Battle Creek, MI
Posts: 44
burde1jb will become famous soon enough
Re: How to program H/Slide drive in labview?

Thanks for all the help so far. FWIW, the gear ratio for the middle wheel will be through this gearbox (http://www.vexrobotics.com/vexpro/mo...es/wcp-ss.html) with a 12 tooth pinion and then a 60:14 second stage. This results in a 17.85:1 overall reduction.

That gives us a Free Speed of (according to the JVN calculator) 12.12 ft/s and an adjusted speed (at 120 lbs) of 9.82 ft/s. Speedy, we know.

We are powering the middle wheel with 3 MiniCims.

Any help with the code would be greatly appreciated. Thanks!
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 08:03.

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