FIRST Forums  

Go Back   FIRST Forums > General Discussions > FIRST Programs > FIRST Robotics Competition > Competition Discussion > Programming > LabView

Reply
 
Thread Tools
  #1  
Old 02-09-2010, 03:31 PM
2010FRC3355 2010FRC3355 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Question Autonomous VI and robot Project

We're rookies so pardon a me if this is a dumb question. I found out there is a basic autonomous VI as part of our Labview. If we want to use this code, can we just cut and paste it into the existing project in the front, reload the CRio, and will it work? If not, what is the process? I don't think the CRio is smart enough to have two programs on it at one time. Do we just run the autonomous and then open/run the teleoperated or what? I'm getting quite confused.

Thanks!

Steve Miller
Coach #3355
Reply With Quote
  #2  
Old 02-10-2010, 10:05 AM
2010FRC3355 2010FRC3355 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Default Re: Autonomous VI and robot Project

so no one else is having this problem or are we too dense to know to do? Any help would definitely be appreciated.

Thanks!
Reply With Quote
  #3  
Old 02-10-2010, 05:30 PM
rpcoe rpcoe is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
Default Re: Autonomous VI and robot Project

This code will run when 'autonomous enabled' is selected on DS as long as you select 'independent' in the match info in BEGIN
Reply With Quote
  #4  
Old 02-17-2010, 03:31 PM
2010FRC3355 2010FRC3355 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Default Re: Autonomous VI and robot Project

Is this on the line diagram view of the program or is this on the DS view when we get ready to run-on the machine?
Reply With Quote
  #5  
Old 02-18-2010, 05:31 AM
Greg McKaskle Greg McKaskle is offline
Member
 
Join Date: Sep 2008
Posts: 84
Default Re: Autonomous VI and robot Project

Are you trying to modify the Autonomous Independent VI to include code from another autonomous routine that you found? Or are you trying to copy code from the Autonomous Independent and place it in another VI in your project?

The project comments hopefully give some indication of what should be edited and what the elements are responsible for.

The short version is, you shouldn't need to modify Robot Main diagram except perhaps to hook up a few globals to indicators. Modify Begin to configure HW I/O differently or add/remove I/O. Modify Finish to match in the cleanup step. Modify Teleop to respond to joystick and other driver inputs. Modify Autonomous Independent to affect the code that will run at the beginning of the match.

To test the robot in a match-like situation, you can use the Practice mode of the DS. Toggle to Practice and Enable -- be ready to disable or hit the stop button if the autonomous misbehaves. In fact it is wise to do this on blocks until you trust it.

Greg McKaskle
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suspending on Platform william_edds Game Strategy 2 01-16-2010 09:15 AM


All times are GMT -4. The time now is 06:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.