Go to Post You can't stop trying to look for other ways to do things, or that really defeats the whole purpose of inovation. - AmoryG [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 17-03-2014, 09:24
miniscil miniscil is offline
Registered User
FRC #4050
 
Join Date: Jan 2012
Location: Chambersburg, PA
Posts: 1
miniscil is an unknown quantity at this point
Autonomous Mode - only one side operates (Labview)

We trying to get autonomous drive working and having issue with getting both sides of drive train to respond. Only one side will operate.

The drive train operates fine in teleop.

We setup using in Labview as Robot Project (arcade drive).

We have tested on our last years robot and had the same issue occur. We tried from several computers to build and deploy.

We created a basic project and only modified the autonomous code (adding no other code) and setting both left and right to same number. The same issue occurs - only one side runs.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-03-2014, 10:13
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,112
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: Autonomous Mode - only one side operates (Labview)

If you're setting both inputs to an Arcade Drive function to the same number, you're actually telling it to turn as much as you're telling it to drive forward. That'll have the effect of keeping one side's wheels stationary so that the robot makes a tight circle.

Instead, just use the Y input to set the speed, and leave the X input at zero for no turning.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-04-2014, 19:00
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Autonomous Mode - only one side operates (Labview)

Use ArcadeDrive to turn the robot and AutoDrive (or whatever its called) to move it forward.
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