Go to Post (I'm sure that Dave is holding his breath for "welding with Jello".) - jgannon [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-2012, 16:00
gaurav.agashe gaurav.agashe is offline
Registered User
FRC #0886
 
Join Date: Jan 2012
Location: Toronto, ON
Posts: 5
gaurav.agashe is an unknown quantity at this point
Arcade Drive AND motor-drive

Hello,

How can I use the same two motors (at PWM1 and PWM2) with the Open-2motors and Arcade Drive vi's in Teleop, as well as with the Motor-Open and Motor-SetOutput vi's in autonomous?

I want to be able the command each motor independently in autonomous mode to increase distance/straight-line accuracy (aided by encoder feedback).
But in Teleop we have no need for the encoders, so I want to stick with the simple and easy-to-use ArcadeDrive vi.

Any suggestions?

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2012, 16:31
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: Arcade Drive AND motor-drive

I'd just use the tank drive VI (can't remember the name -- been 2 years since I did FRC LabVIEW -- Tank Drive?) in autonomous. It functions exactly like 2 Motor-SetOutput VIs would.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2012, 07:43
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Arcade Drive AND motor-drive

While this is possible, using the Open Existing Motors version of Robot Drive, I don't really think it is necessary. I think you want to use the encoders difference to set the X of the Arcade. Scaled and possibly using other control terms.

Greg Mckaskle
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 09:37.

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