Go to Post There's nothing wrong with the loader [dividing by zero], John just misses us 229'ers and wanted everyone to know :-P - Jay Trzaskos [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-01-2014, 14:16
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Exclamation Tank Drive

Hi, I'm not the best programmer and i need some help. If anyone could post an example or a link to an example of a working tank drive teleop program for FRC 2014. Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2014, 14:26
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Tank Drive

Quote:
Originally Posted by MechaKnight996 View Post
Hi, I'm not the best programmer and i need some help. If anyone could post an example or a link to an example of a working tank drive teleop program for FRC 2014. Thanks.
A working example comes with your FRC software development installation.


Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2014, 14:26
samfruth's Avatar
samfruth samfruth is offline
Registered User
FRC #1710 (Ravonics Revolution)
Team Role: Driver
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Olathe, Kansas
Posts: 132
samfruth will become famous soon enough
Re: Tank Drive

Here is a screenshot of our current tank drive system, I hope it helps!
Attached Thumbnails
Click image for larger version

Name:	TankDrive.png
Views:	269
Size:	162.6 KB
ID:	15863  
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2014, 21:48
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Tank Drive

On the left side of LabVIEW's Getting Started window, you will see a "Support" tab. When you click it, one of the links is "Find FRC Examples..." which will open the NI Example Finder and show the FRC Robotics section.

On the "Tutorials" tab, you will want to read "Tutorial 7 - Integrating Examples into Robot Code".
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2014, 22:11
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,841
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Tank Drive

Here's yet another Tank drive example:
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2014, 23:23
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Tank Drive

Quote:
Originally Posted by Mark McLeod View Post
Here's yet another Tank drive example:
Notice that the only things making it Tank drive instead of the default Arcade drive are the use of the "Tank Drive" function and a second joystick. That second joystick will have to be opened in Begin, just like the first one, and they will both have to be given appropriate RefNum names.
Reply With Quote
  #7   Spotlight this post!  
Unread 20-01-2014, 12:47
MechaKnight996 MechaKnight996 is offline
Registered User
FRC #0996
 
Join Date: Jan 2014
Location: Casa Grande, AZ
Posts: 16
MechaKnight996 is an unknown quantity at this point
Re: Tank Drive

Thank you for all your help.
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 14: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