Go to Post I think if you talk with mentors of FIRST teams, you will find that they have changed the world. - Bill Moore [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 10-02-2014, 12:24
longk1 longk1 is offline
Registered User
FRC #1896
 
Join Date: Feb 2014
Location: Traverse City
Posts: 6
longk1 is an unknown quantity at this point
Unhappy Autonomous & Teleop Switch Issues

For the 2014 Aerial Assist, I am one of a few on the team programming the robot via Labview.

My issue is this: I have the autonomous independent doing what I require it to (technically, I don't, but what is in it will last exactly ten seconds and does move the robot) and I have teleoperation setup in arcade drive (working quite well). What happens is this: I enable autonomous mode in the FRC driver station. I let it run for ten seconds (if the code within auto executes in less that 10 seconds, it restarts auto). I then switch to teleoperation enabled. Here is the issue: it runs auto once more from its beginning when I enable teleop, and then after it has finished, it will allow me to use the joystick to control movement.

I need that to stop. If I can't get it to not re-execute autonomous, I will be incapable of earning points within the autonomous period and the robot could potentially damage another one when it reruns auto.

Any suggestions will be thoroughly tested. Thanks beforehand for the help.

NOTE: I couldn't get WPI_DriverStationStartStop.vi to successfully start autonomous independent.vi. I had to put autonomous independent.vi directly in the "Auto Enabled" State in robot main.

NOTE: Here is a youtube video of the problem: http://www.youtube.com/watch?v=aYNJ0...e_gdata_player

robot main.vi and autonomous independent.vi and teleop.vi are attached.
Attached Files
File Type: vi Autonomous Independent.vi (43.7 KB, 17 views)
File Type: vi Robot Main.vi (23.5 KB, 9 views)
File Type: vi Teleop.vi (37.9 KB, 9 views)
Reply With Quote
 


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:43.

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